Hi,
I have a slider on one page which then gets posted to another page. The problem with what I'm doing below is that the items collection isn't passed in client state.
What is the correct way to get the slider value?
Thanks,
Andy
I have a slider on one page which then gets posted to another page. The problem with what I'm doing below is that the items collection isn't passed in client state.
What is the correct way to get the slider value?
NameValueCollection nvc = Request.Form;
RadSlider rs1 = new JavaScriptSerializer().Deserialize<
RadSlider
>(nvc["RadSlider1_ClientState"]);
var v = rs1.Items[Convert.ToInt32(rs1.Value)];
Thanks,
Andy