Skip to content

Commit 1092bca

Browse files
author
Dimo Dimov
committed
Add Editor Template snippet in VB article
1 parent 8803384 commit 1092bca

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

aspnet-mvc/vb.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,13 @@ The following example shows the correct Visual Basic (VB) syntax when using [lam
8282
End Function
8383

8484
End Class
85+
86+
## Editor Template
87+
88+
@ModelType Nullable(Of Integer)
89+
90+
@Code
91+
Html.Kendo().NumericTextBoxFor(Function(m) m) _
92+
.HtmlAttributes(New With {.style = "width:100%"}) _
93+
.Render()
94+
End Code

0 commit comments

Comments
 (0)