2011 R2 WebGrid and XHTML DocType

5 replies. Last post: January 9, 2012 1:24 PM by John Bonin
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
John BoninMember

Appears that webGrid 7 in 2011 R2 has problems with the XHTML DocType (the same issue I reported with webInput).  If you use the VB Samples and change the DocType in the DefaultMaster.Master to:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">

And then run the sample "EnableFiltering", right clicking on the header or any cell will give you a JS error stating "body.scrollLeft" is Null or not an object.

If you add AllowEdport="Yes" to the LayoutSettings, you will get the same error when clicking on the export button.

All Context Menus gives the same error. 

Hope it gets fix soon!

 

All times are GMT -5. The time now is 7:44 PM.
Previous Next