Last post Jun 17, 2013 09:33 AM by roopeshreddy
Jun 17, 2013 08:24 AM|ReportsNerd|LINK
I am using VS 2010 Pro SP1 and developing a .net 4.0 web application. I recently took a course on responsive design and mobile first strategy. I am confused on how to merge the worlds of HTML5, CSS3, Server Controls and Master Pages.
I really want to use the HTML5 controls on my web forms, but wondering if I can convert my existing asp.net server controls to use the HTML5 versions. For example, if I’m using the standard data grid view and drop downs, how would use the HTML5 equivalents
or do I need to? If I switch to the HTML5 controls, will I use all the cool data binding I have in the server control?
I recently setup my text editor in Visual Studio to default to HTML5. Just tested one of the range controls and it looks great. I would like to use it instead of the slider that comes with AJAX toolkit.
Jun 17, 2013 09:33 AM|roopeshreddy|LINK
HTML 5 is well integrated with ASP.NET. ASP.NET will be rendered as HTML to the browser. You can use HTML 5 controls and add
runat="server" attribute to make the HTML 5 control to ASP.NET Server control.
Yeah, it's good idea to use HTML 5 controls than AjaxControlToolKit. Moreover you can also use jQuery UI controls as well!
Hope it helps u...