4
Answers

Radio Button And check box

om prakash

om prakash

11y
818
1
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
Answers (4)
0
Sanjay Dholakiya

Sanjay Dholakiya

NA 84 6k 11y
Hi,

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
0
om prakash

om prakash

NA 281 75k 11y
How to keep selected radio button after page refresh
0
Selva Ganapathy

Selva Ganapathy

NA 9k 1.4m 11y
Hi Om prakash,

Can you please provide some more clear details about your need?

Regards,

Selva Ganapathy K
0
om prakash

om prakash

NA 281 75k 11y
no one is replying