dynamically creating control
i am facing following problem
Based on selection of dropdownlist in home page , i am creating a tabcontrol with some tabs on other page, and based on tab selection the related textboxes are created from database, this all i am doing in page_load event. now when i enter something with a particular tab selected,then clicks on next tab. but in doing that, the values previously entered in tab are lost as page_load event is called again and new controls are created for new tab selected, is there any way with page_init and viewstate, so that the values entered in first tab are preserved during other tab selection.
any pointers to it will be of great help
regards
rahul pokharna
__________________
regards
rahul pokharna
|