2

i have an application page called from a webpart with SP.UI.ModalDialog.showModalDialog()

On this page i've an spgridview, 2 textbox for choosing date between and a button. When i click on the button i refresh the grid depending of the date choosed.

I'd like when i click on the button, display "load in progress" till the grid is loaded. Do you know an easy solution to do this? (for information i'm already in a modaldialog and i want displaying this wait message inside)

i tried SP.UI.ModalDialog.showWaitScreenWithNoClose without success because i've an exception on my function that is null or undefined

thanks

  • "spgridview, 2 textbox and a button" are they in a visual webpart.? – Karthik Jaganathan Feb 17 '14 at 5:25
1

You would essentially have 2 ways to my knowledge, after launching a modal window:

| improve this answer | |
  • thanks for your proposition but for the first one, i don't want to redirect to an other url (just display a loading during th eprocess) For the second I get Microsoft JScript runtime error: Unable to get value of the property 'ShowWaitMessage': object is null or undefined – bender Feb 16 '14 at 16:45
  • Or you could simply put your GridView within a UpdatePanel which would then enable you to use UpdateProgress controls to handle loading operations. – Marius Constantinescu - MVP Feb 17 '14 at 19:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.