Sunday, March 01, 2009

First blog entry for March 2009!

Mark this one as problem solved.

I am working on a project that uses ASP.NET Master Pages. I added an Ajax ModalPopupExtender to a Content page, but it was not rendering properly.

The modal panel was displaying at one location, not at the center of the page, and the shadow was displaying somewhere else. I discovered that the following DOCTYPE declaration was missing from the Master page.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

Now the modal is displaying properly.

 

This page supported by ACRITECH Corporation.

3/1/2009 12:51:36 PM (Eastern Standard Time, UTC-05:00) |  | .NET Framework 2.0 | .Net Framework 3.5 | Ajax | ASP.NET#
Search
Archive
Links
Categories
Admin Login
Sign In
Blogroll
 CTO 2.0
Antonio Chagoury
Dot NET Ramblings
Brian Noyes
 New Entry
 SharePoint Resources
Lamont Harrington
 Winsmarts
Sahil Malik
Themes
Pick a theme: