Radio Button And check box
hai in c# i have a radio button and a text box.while i am selecting radio button and entering text in the text box.and after i am saving it both radio button and text box description..while i am navigating to some other field the selected radio button and a text should be there..how can i do it in C# silverlight
Sanjay DholakiyaPosted Feb 27, 2014, 6:35 PM
I have very little idea about your problem. But let me try...
Firstly, if you are using binding (MVVM) then it should leave the radio button ticked. And if it sill still clears the radio then call NotifyPropertyChanged even from your view model after your save logic is executed.
Second... if you are not using MVVM and writing code in code behind then write the below code ater you save.
yourRadioButton.IsChecked=true;
Third, if I am not answering your question the provide some more detail about your question.
- Sanjay Dholakiya
om prakashPosted Feb 27, 2014, 4:48 AM
Selva GanapathyPosted Feb 27, 2014, 4:46 AM
Can you please provide some more clear details about your need?
Regards,
Selva Ganapathy K
om prakashPosted Feb 27, 2014, 4:12 AM