How to set the value to the custom property.

phani kumar
Member since: 2007
 

Dear All,

I created a custom property which consists of two radio buttons. when i am selecting   a radio button  and clicking on save and publish .I am getting the value and it is working fine. But When I am going to edit mode  i am not find the value  i.e  in edit mode the radion button which i selected is not  checked. Default  radio button only is checked .

Please suggest me the thing what i need to write in this method

protected override void SetupEditControls()

{

 this.rbtCalendarView.SelectedValue = "";

}

 

Thanks and Regards

Phani Kumar R.V

 

 

#28943
Mar 30, 2009 11:20
Anders Hattestad
Member since: 1996
 

protected override void SetupEditControls()

{

 this.rbtCalendarView.SelectedValue = ToString();

}

 

#28945
Mar 30, 2009 12:22
phani kumar
Member since: 2007
 

Dear Anders,

Thank you very much.

Thanks & Regardss

PhaniKumar R.V

#28973
Mar 31, 2009 13:35
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.