i am trying to set the htmlAttribute property but i cant figure out the correct syntax
here is how it works in c#
<%=Html.Password('myPassword', 50,'',new { style = 'width:100px' })%><br />
what would be the vb.net version of
new { style = 'width:100px' }
?
The correct syntax for an inline anonymous type in VB is:
If you want to declare an anonymous type use this syntax: