binding of dropdownlist
-
hello i am binding dropdownlist through coding but when i change any value of it and click on save it will be reset and donot have that values which i fill it in it. what is reason behind it? if anyone knows then plz help
-
hello i am binding dropdownlist through coding but when i change any value of it and click on save it will be reset and donot have that values which i fill it in it. what is reason behind it? if anyone knows then plz help
deepalititi wrote:
what is reason behind it?
1 -
Viewstate
might be turned off 2 - You might be binding dropdown list in thepage_load
without checking!IsPostBack
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
-
hello i am binding dropdownlist through coding but when i change any value of it and click on save it will be reset and donot have that values which i fill it in it. what is reason behind it? if anyone knows then plz help
-
deepalititi wrote:
what is reason behind it?
1 -
Viewstate
might be turned off 2 - You might be binding dropdown list in thepage_load
without checking!IsPostBack
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions
thank you