I am using a AJAX ModalPopUp control to display some data, which I am fetching through a WebService, what I want to do is that when the Data is being fetched by webservice,(during the time when the data is being fetched) I want to show a .GIF progress bar image on the ModalPop. I am using the ModalPopUp to display the Panel. Does any one have the solution?

Just before sending ajax request, use your modalpopup to show the loading gif image. Something like this:-

modalPopUp.html("<img src='loading.gif'/>");
ajax.send(onSuccess);

function onSuccess(ajaxResponse) {
   // Data recieved from ajax, update popup
   modalPopUp.html(data);
}

Hope this will give you some idea.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.