I have a custom control that extends the RadDock and adds a textbox, regularexpression validator, required field validator and label to the rad dock oninit. These values are then lost in the DockState....I read here that you can put additional values in the "Tag" property however Im not sure I understand how this works.....do I just create a string that I later parse for instance
mycustomdock.Tag = TextBoxRequired:True|LabelText:MyCustomLabel|RegularExpressionValidation:[0-9]
which in the control on init
if(this.Tag.Length > 0)
//parse the string
this.TextBoxRequired = mystring[0];
this.LabelText = mystring[1];
this.TextBoxRegEx = mystring[2];
Is that correct?
mycustomdock.Tag = TextBoxRequired:True|LabelText:MyCustomLabel|RegularExpressionValidation:[0-9]
which in the control on init
if(this.Tag.Length > 0)
//parse the string
this.TextBoxRequired = mystring[0];
this.LabelText = mystring[1];
this.TextBoxRegEx = mystring[2];
Is that correct?