Dynamic control
Posted
by Geetha
on Stack Overflow
See other posts from Stack Overflow
or by Geetha
Published on 2009-12-14T10:34:18Z
Indexed on
2010/03/14
6:05 UTC
Read the original article
Hit count: 163
c#
|asp.net-3.5
Hi all,
I am creating dynamic label and textbox based on the number of values from the database for the selected item of the dropdownlist. Then the dynamic labels will have the names and the text box with the values. To retain the values of these controls im using Page_init event. So im using cache to hold the selectteditem from the dropdownlist.
Problem: The process is going fine. But if i try to refresh the page no items are selected in the dropdown list but the cache is not getting clear so using this cache value dynamic control are creating.
Geetha
© Stack Overflow or respective owner