11 Aug 2010, 03:18
Hide linkbutton on forum module
Is it possible to hide the edit and delete linkbuttons within the forum module? I tried to set visible=false which didn't work, as well as deleting the items all together, which caused an error.
Hello Chris Schrader,
Backend or Front end? Which version is that for? This thread is for SF 4.0 which does not have Forums module implemented so far.
All the best,
Ivan Dimitrov
the Telerik team
Sorry about that. We are running 3.7 sp3. Looking to do this in the ascx, unless there is another way? I couldn't tweak the permissions to accomplish this either.
Hi Chris Schrader,
Which template you are trying to edit ? ControlPanelViewThreadTemplate or another one? Are you trying to mak this changes for the public control or you want to make some modification in the backend. Can you attach a screenshot of the section you want to modify, so I could help.
Kind regards,
Ivan Dimitrov
the Telerik team
Single thread view of the forum module. Attached is the screen shot, I would like to remove the Delete and Edit links.
Hi Chris Schrader,
Add CssClass to the LinkButtons and hide them
<
style
type
=
"text/css"
>
.test
display:none !important;
</
style
>
<
asp:LinkButton
CssClass
=
"test"
ID
=
"btnEdit"
runat
=
"server"
CommandName
=
"EditPost"
Text="<%$Resources:Edit %>" ></
asp:LinkButton
>
<
asp:LinkButton
CssClass
=
"test"
ID
=
"btnDelete"
runat
=
"server"
CommandName
=
"DeletePost"
Text="<%$Resources:Delete %>" ></
asp:LinkButton
>