Sunday, March 11, 2012

Trying to perform a postback with a ModalPopupExtender

Ok, I found it. I forgot the () in the extender control like this:

OnOkScript

="savePerson()"

Grz, Kris.


How come you're doing that instead of just letting the modalpopup button postback to the server normally...would save you having to write the JS to do that...unless of course you are doing something else in your JS apart from just posting back!

Hi,

I didn't play around with the modalpopupextender before so I just wanted to try it out by making a small test scenario. You're correct in your assumption that other things, client side, need to be done extra before posting back but thanks for the feedback because it could provide interesting advice to future readers of this post.

Grz ,Kris.

No comments:

Post a Comment