Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Olivier #1
Web Forms Control Stays visible ...
Hello,
Inside my UserControl, I'm trying to dynamically hide some server side controls when the connected user is not authenticated.
I use the following synthax :
Public class MyClass
inherits Usercontrol
public property IsEditable() as boolean
Return False
End Property
End Class
Public Class MyUserControl
inherits MyClass
// some custom code //
End Class
Within MyUserControl :
<table>
<tr>
<td>
<asp:linkbutton visible="<%# IsEditable %>" runat="server">Test</asp:linkbutton>
</td>
</tr>
</table>
My problem is that although the IsEditable variable returns False, the linkbutton stays visible ...
(If I display the value of IsEditable , I get False)
Could someone please help me ?
Thanks,
Olivier.
Olivier Guest
-
Control.Visible=false affects CreateChildControls
I have had a vexing problem with composite custom controls and how their CreateChildControls method is fired. I have a composite control which... -
persisting visible attribute in tab control
Hello, I have a tab control, but for some reason the visible attribute doesn't get persisted, can anyone tell me why? Thanks, code below ... -
How can I build a Custom Control, that isn't visible in the form, but below
How can I build a Custom Control, that isn't visible in the form, but below (like the ErrorProvider) Best regards Horst -
Non-visible control
I want to create a custom webcontrol similar to the SqlConnection control, in that it is not actually drawn on the form. When you drop the control... -
Accessing the visible property of a User Control at runtime
I need to make visisble/invisible my user control at runtime I am using code-behind and there is no access to the control here What do I do



Reply With Quote

