As a workaround (to not having to do the more time consuming workaround above) I want to programatically set the IgnoreManageUIReadOnlyState to True and the Readonly state to True, if the form is in "view mode" which results in the text being very readable, and not able to be changed by a user.
A SF web textbox renders as System.Web.UI.WebControls.TextBox even though it is MicroFour.StrataFrame.UI.Web.TextBox at design time.
Conversion attempts so I can get at the SF properties fail:
CType(ctrl, MicroFour.StrataFrame.UI.Web.TextBox).IgnoreManageUIReadOnlyState = True
I want to loop through all the controls on the form and set the properties as above, how to accomplish?
Setting them manualy in the code behind works, but I have like 100 controls and that is messy for maintenance.
Me.txtLastName.IgnoreManageUIReadOnlyState = True
Me.txtLastName.ReadOnly = True
Keith Chisarik