Help Please
-
I am using Visual Studio 2005 and programming with VB.Net The problem is that, I am using a menu in the main page and when i click on this menu it loads a websuercontrol. In this websuercontrol there is a dropdownList "i checked its autopostback property" but when i choose one of the items in this dropdown list the webusercontrol disappears, and i don't want that. Please tell me how to solve this probelm
yasso
-
I am using Visual Studio 2005 and programming with VB.Net The problem is that, I am using a menu in the main page and when i click on this menu it loads a websuercontrol. In this websuercontrol there is a dropdownList "i checked its autopostback property" but when i choose one of the items in this dropdown list the webusercontrol disappears, and i don't want that. Please tell me how to solve this probelm
yasso
-
For every postback the page is recreated from the original markup. If you want your user control to stay on the page, you have to add it in every postback.
--- single minded; short sighted; long gone;
-
and how can i add it in every postback, by the way i have 5 menus and each one loads a different webusercontrol. Thanks for ur help
yasso
in the Page_Load event... << >>
-
and how can i add it in every postback, by the way i have 5 menus and each one loads a different webusercontrol. Thanks for ur help
yasso