Tell me the steps to retrieve the value from modal popup extender control. I tried the below code to get the value from the popup, but i cant able to retrieve the value, Kindly give me the solution for this problem.
Default.aspx:
************
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
Default.aspx.cs:
**************
protected void btn_ok_Click(object sender, EventArgs e)
{
TextBox1.Text = RadioButtonList1.SelectedItem.Text.ToString();
}
Jaganathan BantheswaranPosted Mar 4, 2014, 3:30 AM
Try to invoke the popup from Server Side like
Button1_ModalPopupExtender.Show() & try to access the controls.