modalPopup tip

by Grank September 30, 2008 10:42
Hey,
 
If anyone has been using the AjaxControlToolkit and trying to nest modalPopups, and has found that instead of a nested modalPopup opening, its parent is closing (this is really annoying), I have one small part of a solution for you.
 
the first thing you should do is make sure any relevant UpdatePanels are set to UpdateMode=Conditional.
 
UpdateMode=Always is the default and that's no good.
 
Seems simple, I know... 
That's because it is.  It's just one of those things that you have to think of and if you happen to miss it could cause you a lot of confusion.  I don't know why Always is the default, because it seems like you'd almost never want that behavior, but that's a mystery for the ages.
 
Unfortunately this didn't fix my problems in every case, but it was a start.

Tags: , ,

Comments

Add comment


(Will show your Gravatar icon)

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen | Modified by Mooglegiant

About The Author

I'm a software developer and musician in Edmonton, AB.  I write mostly web-based software, primarily on the Microsoft stack.  I have an MCPD and several MCTS, but I've only been at this whole developer thing for a few years, and the truth is that I'm still learning more than knowing.  So these are my adventures and experiments and some of it will probably be blatantly wrong...  Just warning ya.