I have a question related to Web Forms. Do the ASP.NET Web Controls provided in Visual Studio 2012 emit HTML5 as output?
I understand we can use custom controls or content adapters to make web control emit HTML5 even with Visual Studio 2010 and probably earlier versions with support for .NET framework 2.0, but I am interested in the DEFAULT behavior; that is, without going for any work around or our own implementation.
So has anyone of you checked the DEFAULT output of web controls provided in Visual Studio 2012?
There is a web standards update available for visual studio that will output HTML 5 controls available here
However normally visual studio will output generic HTML:
<select name="ctl00$ContentPlaceHolder1$reportName" id="ctl00_ContentPlaceHolder1_reportName" class="input-large">
<option value="Finance">Finance</option>
<option value="Sales">Sales</option>
<option value="RealEstate">RealEstate</option>>
</select>
With it's own ID addition (if not specified to not use that in the web.config
Related
i am trying to make Video as my backgroud for my WebForm in visual studio 2010 ultimate but when i use it always says to me that validation (xhtml 1.0 transitional) element 'video' is not supported so how can i fix it.
You will have to use windows media player to play video in visual studio 2010. it's hard to explain with words so go to this video you can see how you can add video in visual studio 2010. here
I have to create an MVC asp.net website using MS visual studio for my final year of study in Information Systems. I want to know if it's possible to sort of "connect" the code to an HTML drag-and-drop CMS, instead of using visual studio's html/css editor and the auto-generated files in the mvc project.
Basically, I want to write the controller and model code in visual studio and the view code (HTML) in a nice CMS such as wordpress or drupal (not necessarily those two).
Please advise!
Consider Orchard CMS - it is ASP.net MVC based. It is supported on Azure. Here's an azure+orchard tutorial to get you up and running. Umbraco v6 released in January 2013 also supports MVC.
How to Add HTML5 Intellisense Support to Visual Studio 2010 Professional Edition SP1?
I've installed this: http://visualstudiogallery.msdn.microsoft.com/d771cbc8-d60a-40b0-a1d8-f19fc393127d but nothing happened.
For example when I type <convas on the Visual studio source view of a page, I expect the list of its attributes to be listed, etc.
When you are in an html editor, there is a box at the top of the page to select the validation, it defaults to XHTML (I think), and you can change it to HTML5.
In visual studio Menu Options Go to Tools-> Text Editor-> HTML-> Validation-> Target and select HTML5 in drop down if you already download and install the HTML 5 Intellisense for Visual Studio 2010 and 2008
In Microsoft Visual Web Developer 2010 Express, I can use #region...#endregion to Outline and Hide Code.
Is there a WYSIWYG Text and HTML Editor which support #region...#endregion function?
BTW, http://ckeditor.com/ don't support it.
And more, how can I create a editor with c# to do it?
Not sure if you mean standalone or within VS, if VS, then you could build one on top of DXCore.
Extend Visual Studio® Right Now
Both CodeRush for Visual Studio® and Refactor! for Visual Studio® were
designed upon a common IDE (Integrated Development Environment)
integration framework called DXCore for Visual Studio® .NET.
In the interest of encouraging developers to be pro-active about
productivity, Developer Express is making available for general
download DXCore for Visual Studio® so that developers can build their
own productivity plug-ins to extend the Visual Studio® IDE themselves
using a simple visual framework for IDE extension.
How can visual web developer Express Edition highlight the classic asp-Tags (<% asp code %>) insight the Javascript code?
If i write
<script>
alert("<% =session("user_name %> ");
</script>
VWD highlights this as a string and not as asp-code. This is total confusing in these old files i'm working with.
Looks like this is a known issue on Microsoft Connect with a few workarounds, however the syntax highlighting was removed in VS2008. The response from Microsoft (verbatim):
Thank you for this feedback. We are
depcrecting VB Script colorization and
intellisense support in Visual Studio
2008. We recommend to customers to use VS 2005 or VWD 2005 to edit VB
Script.
Those products can be installed on the
same machine as VS 2008 without any
issues.
Visual Web Developer Team
Check here for more information:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=290845