Ask a Question related to ASP.NET General, Design and Development.
-
John Kraft #1
Hiding and Showing User Control Dynamically
Hey guys,
I created a little user control that is basically a table with a login
and password field. I have this control on all my pages, but I want to
hide it or show it based on whether or not the person viewing the page
has logged in. I can't seem to get it to work.
I put a condition in the PageLoad function fo the control that says:
if context.user is nothing then
me.visible = true;
else
me.visible = false;
end if
I am obviously way off on this logic. What do I need to do to make this
work.
John
John Kraft Guest
-
Dynamically Adding User Control with Child User Control
I have a user control that has a child user control. If I drag this onto the page, it appears and functions normally. If I attempt to add the... -
How do I dynamically add a user control to a web page?
I have a user control which I created that does not work when I add it dynamically to a web page. My code looks like this. For x = 0 to max... -
Hiding and Showing Columns in the DataGrid Control...
The DataGrid allows you to make columns visible or invisible on demand - even edit and other special columns. This article will show you how it is... -
need help with dynamically created user control
i have a dynamically created user control which contains a non-dynamically created ASP.Net button. When the button is clicked, the event is not... -
Can a user control be requested dynamically?
You can load a control dynamically at runtime using the LoadControl method. Here's more info:...



Reply With Quote

