Avoid Bootstrap Modal flickering during PostBack in ASP.Net

Last Reply 5 months ago By dharmendr

Posted 5 months ago

Hi,

I have a Bootstrap Modal popup with asp.net textboxes, button and Gridview. Everytime i click the Button in the Modal will post back the request to server and loads the result in gridview.

During this postback my modal flickers(closes and opens). how to avoid that flickering? 

I am reopening the modal due to backdrop issue.

Posted 5 months ago Modified on 5 months ago

As the modal popup is reopened after postback nothing can be done for this.

You can't avoid the flickering.

To avoid post back you need to bind GridView using jQuery.

For this refer below article.

Bind Dataset to ASP.Net GridView using jQuery AJAX