Hot to get client side value to server side
-
Hi, I want to pass client sid value to server side. when I click radio button it calls javascript function where am getting radio button value and displaying in label. now when I click on Next button I wanted that radion button value. am adding radion buttons dynamically.. Can any one guide me.. am using asp.net 2.0 and c#. Thanks
-
Hi, I want to pass client sid value to server side. when I click radio button it calls javascript function where am getting radio button value and displaying in label. now when I click on Next button I wanted that radion button value. am adding radion buttons dynamically.. Can any one guide me.. am using asp.net 2.0 and c#. Thanks
-
If the radio button is c# then just get the value as so else if (RadioButtonList_update_type.SelectedValue == "something")
-
Hi, I want to pass client sid value to server side. when I click radio button it calls javascript function where am getting radio button value and displaying in label. now when I click on Next button I wanted that radion button value. am adding radion buttons dynamically.. Can any one guide me.. am using asp.net 2.0 and c#. Thanks
If yuo're adding them dynamically, the ids of the checked ones will be in the form object on postback. There will be no viewstate probably unless they are being added pruior to pageload.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Hi, I want to pass client sid value to server side. when I click radio button it calls javascript function where am getting radio button value and displaying in label. now when I click on Next button I wanted that radion button value. am adding radion buttons dynamically.. Can any one guide me.. am using asp.net 2.0 and c#. Thanks
If radio button is added dynamically, probably you can retrieve it from the Request.Params[]..the other way is that have a server side hidden field at first and in the javascript push the value into the hidden field and retrieve it in the post back..
.....