Hello,
In the code below you can see that I'm trying to disable 1 of the 2 hyperlinks. If I do this outside a RadGrid there is no problem and it will be disabled, but if I use it inside the RadGrid, it looks like that it just get ignored. This is exactly the same with visible. is there any solution for this problem?
In the code below you can see that I'm trying to disable 1 of the 2 hyperlinks. If I do this outside a RadGrid there is no problem and it will be disabled, but if I use it inside the RadGrid, it looks like that it just get ignored. This is exactly the same with visible. is there any solution for this problem?
<telerik:GridTemplateColumn UniqueName="TLastPostInfo" HeaderText="last Post Info"> <ItemStyle Width="80px" /> <ItemTemplate> <div> Post Date: <%# DataBinder.Eval(Container.DataItem, "LAST_POST_DATE")%> <br /> in: <asp:HyperLink ID="HLLastTopic" Style="text-decoration: none" runat="server" NavigateUrl='<%# "TopicView.aspx?cat="+ Eval("ID").ToString() +"&top="+ Eval("LAST_TOPIC_ID").ToString()%>'><%# Eval("LAST_TOPIC_NAME")%></asp:HyperLink> by: <asp:HyperLink ID="HLLastPersonPost" Style="text-decoration: none" runat="server" NavigateUrl='<%# "ProfileView.aspx?id=" + Eval("LAST_PERSON_ID").ToString()%>' Text='<%# Eval("LAST_PERSON_NAME")%>' Enabled="false" /> </div> </ItemTemplate></telerik:GridTemplateColumn>