c# - Custom MessageBox and GridView Conflict -


i using webfroms/c# in project , have downloaded messagebox code here: https://code.msdn.microsoft.com/csaspnetmessagebox-3e8c6273#content use in web forms via confirm button on webform. worked fine until added gridview has paging. every time page gridview message box pops unintentionally , freezes page. hope can tell me how stop happening. here steps occurs: 1. load page 2. click confirm button popup message box , click cancel 3. page gridview. message box shows unintentionally , page freezes. if never use confirm button, paging gridview works ok.

i think found problem. there literal control on form. set enableviewstate property false. problem disappears , grid pages flawlessly


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -