سؤال

I have to migrate some forms made in Silverlight to ASP.NET. This forms include a lot of child windows that, at the same time, may contain other several child windows as well. This child windows should be able to communicate to their parent windows.

I've looked into window.open(url,params), also to window.showModelessDialog (I don't like this one as is IE only) and having multiple div's and hiding/showing them accordingly.

With the first option, window.open I thinks there's problems when opening multiple child windows and controlling their postback, window.showModelessDialog is IE only and I don't want to drop other browsers support. And having multiple divs hide/shown is tedious, as it would mean having a whole page populated with divs and not loading child windows dynamically or easy enough.

What's the best option to accomplish this? Am I missing another one?

هل كانت مفيدة؟

المحلول

My solution has been to use jQuery UI to create dialogs. They're not actual Internet Explorer windows which makes it very easy to communicate with your page. And they're cross platform compatible.

It's likely that other client side libraries would suit you just fine.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top