Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Keeping Modal Popup Visible

$
0
0

Newbie - using Visual Studio 2010 C#. 

Currently have a working ModalPopupExtender and detail panel popup - all in a gridview ItemTemplate linkbutton.  I am showing the modal popup from the gridview_RowCommand in the code behind (modalHandle.Show()). 

User enters data on the popup panel and clicks the SAVE button.  When the modal popup panel SAVE button is clicked - I am editing the panel fields in the code behind SAVEbutton_Click event and showing validation exception messages using ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Alert", errMessage, true);

However, when the alert message displays - the modal popup panel closes.  I need to keep the modal popup window visible so that the user can close the alert and fix data entry errors - and then click SAVE again until all validations pass.  I am happy to read any posts that already address this, and/or provide actual code snippets.  Thanks in advance.

 


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>