↧
It's not a native property so you can't directly assign it.
You can do this however for any arbitrary attributes that aren't properties:
this.txtField1.Attributes.Add("maxlength","25")
+++ Rick ---
I need to set this dynamiccaly in the behind code and get error "property MAXLENGTH is not found"
here is the line of code
THIS.txtfield1.MAXLENGTH=25