Posted on: 2/22/2015 8:21:38 PM | Views : 600

Hi everyone, I have a page with several anchor tags. This page loads very slowly because when it loads data are fetched from the  database and written to several JSON files. Then when the anchor tags on this page are clicked they display data from the JSON files on modals which are created using BootStrap.
To shorten the load time, I tried to use link buttons in place of the anchor tags. I took the methods for fetching and writing data from Page_Load() and put them in the onclick method of each link button.
However, I ran into a different problem using link buttons,  data are fetched and written but the modal won't display. So I ended up using both link buttons and anchor tags and some javascript.
Using this approach I ran into two problems.  The first problem is when a link button is clicked, the modal renders before data are written to the JSON files so NO data shows up in the modal. The second problem is the modal closes automatically af ...

Go to the complete details ...