Click here to Skip to main content
15,891,607 members

Comments by r verma (Top 7 by date)

r verma 7-Apr-11 23:04pm View    
In case you do not want to use AJAX ToolKit as suggested in last reply then you have to write traditional code like when user will select country from first drop down then you will again query for fetching cities corresponding to that country and populate second drop down.
You'll write complete logic through SelectedIndex change event of first drop down and may prefer an AJAX update panel.
r verma 7-Apr-11 22:38pm View    
In above code you are trying to find UserControl with 'Label' with it's actual class name which will not work. Use 'UserControl' instead of 'LabelUserControl'. Also to find second UserControl do not directly use 'FindControl' instead use this.Page.FindControl like what I wrote in my last reply.
r verma 7-Apr-11 22:30pm View    
Deleted
In above code you are trying to find UserControl with 'Label' with it's actual class name which will not work. Use 'UserControl' instead of 'LabelUserControl'. Also to find second UserControl do not directly use 'FindControl' instead use this.Page.FindControl like what I wrote in my last reply.
r verma 23-Feb-11 22:49pm View    
Deleted
Reason for my vote of 3
Nice tip to take care while using script.
r verma 23-Feb-11 22:46pm View    
Deleted
Reason for my vote of 3
Nice tip to take care while using script.