R
Robert Johnson
Using .NET 3.5...
Question: Is there an alternative to user controls that I can or should use
to identify and manage groups of related Web server controls? By "identify
and manage" I more specifically mean that I can have client-side logic that
causes (in the background) a related set of controls (+ associated styling
and client-side script) to be loaded into the current browser page.
Before AJAX (e.g., in the 1.1 days), a menu click in the browser would
trigger a standard PostBack. Server-side logic would then determine which
user control to load into a PlaceHolder control. The new page would then be
rendered back to the browser. I understand that with the UpdatePanel, we can
ajaxify this arrangement. But I don't want to use the UPdatePanel (payload
size + rendered markup + rendered tag ID issues, etc).
So I'm wondering if I should look to make use of ASP.NET User Controls as I
would have in the .NET 1.1 days, but somehow getting them to render to the
browser (without use of UpdatePanels)... OR is there some other, perhaps
more elegant, way to accomplish the intended effect but without making use
of user controls?
Thanks.
Question: Is there an alternative to user controls that I can or should use
to identify and manage groups of related Web server controls? By "identify
and manage" I more specifically mean that I can have client-side logic that
causes (in the background) a related set of controls (+ associated styling
and client-side script) to be loaded into the current browser page.
Before AJAX (e.g., in the 1.1 days), a menu click in the browser would
trigger a standard PostBack. Server-side logic would then determine which
user control to load into a PlaceHolder control. The new page would then be
rendered back to the browser. I understand that with the UpdatePanel, we can
ajaxify this arrangement. But I don't want to use the UPdatePanel (payload
size + rendered markup + rendered tag ID issues, etc).
So I'm wondering if I should look to make use of ASP.NET User Controls as I
would have in the .NET 1.1 days, but somehow getting them to render to the
browser (without use of UpdatePanels)... OR is there some other, perhaps
more elegant, way to accomplish the intended effect but without making use
of user controls?
Thanks.