I am trying to built an asp.net(3.5) website.It contains two webforms:
1.Parent.aspx--->This page contains a scriptmanager,updatepanel(having one dropdownlist connected to a sqlsource,createnew button) and a Refresh button outside updatepanel.
-The dropdownlist displays the customer name from the sql table named Customer.
2.Child.aspx--->THis webform contains a textbox named txtCusName and a submit buttton.
Now,What i want to achieve is the following:
-> When the user is at parent.aspx.It looks for the customer name in the dropdownlist.When the user doesnt see the required customer name in list.He presses the createnew button.This will cause the child.aspx to appear over the parent.aspx.
->the user will create new customer name by using txtCusName and submit button.The new customer name gets save in the database.
I have implemented till here but after that when i close the child.aspx and press refresh button in the updatepanel on parent.aspx.The dropdownlist is not getting updated...
how can i update the dropdownlist????plz help me out????? i want to imlement it asap.