Tag Archives: ShowModalDialog

showModalDialog returnValue is undefined in Google Chrome

For some reason, when using a Javascript showModalDialog from an ASP.NET project, Google Chrome will return an empty (“undefined”) returnValue. This error has been known by the Google Chromium team since 2010, and they have yet to fix it. Fortunately … Continue reading

Posted in Uncategorized | Tagged , , , | 4 Comments

Modal windows does not resize automatically

I’m not sure if this is a bug or a feature, but when using modal windows in Internet Explorer, your HTML is not updated when the window.onresize event is fired. This is pretty annoying, since it is possible and even … Continue reading

Posted in .net, General .NET | Tagged , , | 1 Comment

Using modal windows from C# code

“In user interface design, a modal window is a child window that requires the user to interact with it before they can return to operating the parent application, thus preventing the workflow on the application main window. Modal windows are … Continue reading

Posted in .net, c#, General .NET | Tagged , , , , | 2 Comments

Sitecore 5.3 HandleMessage and ShowModalDialog

Creating your own Sitecore Fields can be tricky. The best way to start is to download one of Sitecores examples (the composite control is a good example). In this example I’ll use the HandleMessage function in my control to open … Continue reading

Posted in Sitecore 5 | Tagged , , , | 1 Comment