My server side code is not executing.

Posted by Laghaterohan under ASP.NET AJAX on 2/1/2011 | Points: 10 | Views : 2556 | Status : [Member] | Replies : 6
Hello,

I have and Import button...when i click on this button i want Loding..... to appear on the screen till the contents of the file are displayed below in the grid...

I get the progress bar displayed for specifed time however, my server code does not get execute after that...which should be to displays the contents in the grid....Where am i going wrong?

I have put the import button inside the update control....

Please help me..

Thanks!

Best Regards,
Rohan Laghate



Responses

Posted by: Prabhakar on: 2/1/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Rohan Laghate


i am not understand ur problem fully ... can u put ur code so we find solution ..

Best Regard's
Prabhakar

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Laghaterohan on: 2/1/2011 [Member] Starter | Points: 25

Up
0
Down
Hi Prabhakar,
I am using file upload control to browse the file (xsl sheet)...this file is read when i click on Import button and then the contents of this file gets displayed in the grid below.

It takes several minutes for this operation to happen depending upon number of records in the xsl file. So what i need is that when i click on Import button till the contents of the file are read and displayed i need Please Wait....or Loading to be appeared....

How to achieve this????

Thanks...i hope u getting me...

Best Regards,
Rohan Laghate

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 2/1/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hi Rohan Laghate

i am refer u this link please read it . it's a help full for u

http://www.eggheadcafe.com/community/aspnet/2/10041165/import-excel-data-to-datagrid.aspx

Best Regard's
Prabhakar

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/1/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

You need to use Modal pop up ajax control to show the loading... it will be a good presentation... check the below link

http://www.asp.net/ajax/ajaxcontroltoolkit/samples/modalpopup/modalpopup.aspx

Thanks
Karthik
www.f5Debug.net

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/1/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Check this as well

http://www.codeproject.com/KB/ajax/ModalPopupExtender.aspx

Thanks
Karthik
www.f5Debug.net

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sathya4260 on: 2/3/2011 [Member] Starter | Points: 25

Up
0
Down
Hi,

Can you post your code and ask the question, so that it would be easier to find where the code went wrong...

Sathish Kumar S

Laghaterohan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response