I have a dropdownlist populated by my database and a button on my page1, now when I click the button page2 will popup which contains of 1 textbox and 2 buttons, if I enter a value in my textbox and click the save button, it'll save on my database and when
i click the close button, popup will close then what I want is my dropdown on page1 will reload (without reloading the entire page) in order to get the value that I entered in popup window. This is what I have got so far:
Page1:
protected void Page_Load(object sender, EventArgs e)
{
Button1.Attributes.Add("onclick", "window.open('Entry.aspx','','height=200,width=650');return false");
}
Page2:
protected void btnSave_Click(object sender, EventArgs e)
{
try
{
if (txtfname.Text == String.Empty)
{
lblname.Text = "First Name Required";
...
Go to the complete details ...