Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
hi friends i have two dropdown first is state and second city and one 'add' button and i create dynamic column when click add button and my problem is when i click add button first column city dropdown are blank so please help me
Posted
Comments
[no name] 23-May-13 7:53am    
You question, if there is one, is way too vague.

1 solution

You have not posted any code snippet.Well,i suspect you are binding dropdown in Page_Load event of your page.

If so,try to put that code(binding dropdown) in
C#
protected void Page_Load(object sender, EventArgs e)
{
      if(!IsPostBack)
      {
        ////bind dropdown here.
      }
}
 
Share this answer
 
Comments
[no name] 23-May-13 7:58am    
i use postback
Thanks7872 23-May-13 8:00am    
Follow as i suggested you in your page and your problem will be solved.
[no name] 23-May-13 8:01am    
ok

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900