i want to know what is the use RepositionMode property of the modal popup control extender of ajax toolkit control,i know it is enum type what is i want is primary purpus .
View Complete Post
Is there a way to make a modal popup panel active on page load so that the user can't do anything until they deal with the popup dialog?
First post bear with me please:
I have a simple form with a list of linkbuttons, each fires the same onclick event which sets an indicator image. I have a dummy button with style="display:none" which I have set as the TargetControlID of the modal.
onClick event from the imagebutton, the modal is shown via modal.Show(). The cancel button inside the modalpopup fires an event which turns off the indicator image and hides the modal via modal.Hide().
The events fire perfectly, it's very simple! Although after doing some testing I noticed the modalpopup is not presented after the 6-10th cycle of clicking the open event, then clicking cancel. The grey background appears but it is behind the main panel and the modal is either presented behind this or is just simply not displaying.
I spent hours researching various methods, implemented the CancelControlID to see if it was somehow tied to my call of modal.Hide() that fails.
This occurs with an updatepanel only. The behaviour is much cleaner this way, so I would hope to be able to implement this. I have basically eliminated everything but these two events! Please help
I have a modalpopup control which has a gridview and search criteria. User selects a records and clicks modalpopup ok button ( which is set as modalpopup's okbutton). I have attached an event to okbutton click event. and inside this event, I am setting a label control which in on main page which called this modalpopup. I debugged code, it comes inside that event but doesnt set value. below is my event code.
protected void btnOkCustomers_Click(object sender, EventArgs e)
Int32 CustomerID = Convert.ToInt32(GridView2.SelectedDataKey.Value);
orders = new Orders();
DataSet CustomersDs = orders.GetCustomerById(CustomerID);
lblCustomerName.Text = "sadasdad"; // CustomersDs.Tables.Rows["first_name"].ToString();
Please suggest me solution to this.
Modal popup is inside the update panel. I have a dropdown control inside modal popup. When i select the data in the dropdown and click ok on the modal popup it always shows the dropdown selectedvalue as first index no matter what i select . I am not able to find the solution for this.
Thanks in advance
i have a grid view and on clik of link byutton i open moral extender...now how can i pass the value from grid to moral extender.
i have checked few links here but that dint give me much idea...please suggest me on some code..thanks
<asp:GridView ID="Gridgpapp" runat="server" DataSourceID="ApprovalGp" AutoGenerateColumns="False"
AllowPaging="True" AllowSorting="True" BorderColor="#3366CC" BackColor="White" BorderStyle="None"
BorderWidth="2px" CellPadding="4" ShowFooter="True" EmptyDataText = "No Gatepass waiting for Approvals">
<RowStyle BackColor="White" ForeColor="#003399" />
<FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
<PagerStyle BackColor="#99CCCC" HorizontalAlign="Left" />
<SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
<HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
I have a radio button list and it is populating data from database.
I want to show a modal popup extender when someone clicks a specific value in the radio button list.
display the modal popup when radiobuttonlist.value=="13".
is this possible??