Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hello all

I am using jquery to show budget bar which show two handlers according to values of two dropdownlists.

i use following jquery code for this
XML
<script type="text/javascript">
        $(function(){
            $('#<%=DropDownList1.ClientID %>, #<%=DropDownList2.ClientID %>').selectToUISlider();

            $('#<%=DropDownList3.ClientID %>, #<%=DropDownList4.ClientID %>').selectToUISlider();
        });
   </script>

but
dropdownlist1 & DropDownList2 are in panel1
DropDownList3 & DropDownList5 are in panel2

i have a radiobuttonlist on selectedindexchanged of which panel1 or panel2 visible's get true or false.
My problem is that when page refresh on readiobuttonlist click budget bar disappear.

Now i am trying to call jquery on radio buttons selectedindexchanged
like
ScriptManager.RegisterClientScriptBlock(this, typeof(Page), "script", "<script type='text/javascript'>$('#<%=DropDownList3.ClientID %>, #<%=DropDownList4.ClientID %>').selectToUISlider();</script>", true);

but it is not working

Please suggest me solution for this.

Thanks.
Posted
Updated 30-May-11 21:23pm
v2

1 solution

Just check few points below:

1) Make sure script should be register on page load
2) All required (.js, .css) files referenced correctly
3) Post here reference URL of jquery widget which one you are using for your project

Thanks,
Parwej
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900