vb.net htmlattributes example

ASP.NET MVC Code
 
Example 1.
       < % Html.BeginForm("Create", "Model", "", "", New With {.id = "CreateForm"})%>
Example 2
       < % Html.BeginForm("Create", "Model", FormMethod.Post, New With {.id = "CreateForm"})%>
Category(s): ASP.NET, VB.NET
Tags: , , ,

One Response to vb.net htmlattributes example

  1. Been looking for a way to do this in VB.

    Tried this:

    No syntax errors, but it did not work. Why?

    Is the CSS overriding this?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

 

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">