I by no means a .NET developer but I have a task to style "CSS" a .NET project. When I met the responsible developer, he told me that this:
<asp:Button ID="Button1" runat="server" Text="Test Button" />
will render as an <asp:button>
I told him no, it will render a <button> or <input>.
Is there any source of clarification about this? Can you also any help on how can I set a .NET server on my Windows machine, so I can test code?
I have WAMP installed & I want to run both, 'cause most of my work is on WAMP.
Thanks a lot everyone for the fast replies & links.
To setup a .NET server I would take a look at the Microsoft Webplatform Installer as that will give you everything you need very easily including a Visual Studio Express.
As to asp.net controls they get rendered out as regular html like so
<input type="submit" name="Button1" value="Button" id="Button1">
The web forms website will give you some more tips
If you want to test the code, just install Microsoft® Visual Web Developer® 2010 Express
It has a buid-in server so you will be able to test the whole thing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With