Last post Oct 24, 2010 10:25 PM by Qin Dian Tang - MSFT
Oct 20, 2010 04:58 AM|cnu.jettiboyina|LINK
Iam developing a custom server control of radiobuttton. it is working fine with the all the properties i wrapped except the grouping . somehow the grouping is not working .
// this is my class.
public class TngRadioButton : CompositeControl
// this is my groupname property
[ DefaultValue(""), Themeable(false) ]
public virtual string GroupName
string str = (string)this.ViewState["GroupName"];
if (str != null)
this.ViewState["GroupName"] = value;
Please help me in this resolution.
Oct 20, 2010 06:15 PM|jkirkerx|LINK
That's just a property value. You have to do something with it now.
As far as the radio Button goes, you can have 1, or a collection or 1 or more. those are listItems and the radiobutton group would be the group.
Oct 21, 2010 03:31 AM|cnu.jettiboyina|LINK
Thanks For the reply . can you suggest me a approach which will be help ful for me ?
Oct 22, 2010 04:45 AM|Qin Dian Tang - MSFT|LINK
Oct 22, 2010 02:27 PM|cnu.jettiboyina|LINK
Iam developing a custom server control for radiobutton .iam developing it as inheriting the 'compositecontrol' class to get my customlook for the radiobutton.
so iam writing my own properties with wrapping approach. i wrote all the properties i requied including the Groupname. but some how the grouping is not working . thts the history of my problem. is there anything i need to do for this property to work rather
than just wrapping the property?
Oct 23, 2010 03:40 PM|cnu.jettiboyina|LINK
Thanks & Regards,
Oct 24, 2010 10:25 PM|Qin Dian Tang - MSFT|LINK