Opened 13 years ago

Closed 13 years ago

Last modified 10 years ago

#5206 closed bug (notabug)

__doPostBack in change event of slider

Reported by: supradip_d Owned by:
Priority: critical Milestone:
Component: ui.slider Version: 1.7.2
Keywords: slider postback Cc:
Blocked by: Blocking:


Hi all,

I am integrating the slider control with Range=true in ASP.NET. In which I need to postback the page in the change event of the slider. So, to accomplish that I have tried the following:

<script type="text/javascript">
        $(function() {
                range: true,
                min: 0,
                max: 100,
                step: 0.1,
                values: [document.getElementById('amt_1').value, document.getElementById('amt_2').value],
                slide: function(event, ui) {
                change: function(event, ui) { __doPostBack("btn_demo", ""); }

            $("#amt_1").val($("#slider_free").slider("values", 0));
            $("#amt_2").val($("#slider_free").slider("values", 1));

and in the body segment there is a div having ID - slider_demo, along with two text-boxes - amt_1 and amt_2 accordingly. and a button named btn_demo. After doing all those things when I am trying to debug the code I found that it is doing the post back call but the structure of the slider become topsy - tervy and become non- functional as well.

Please let me know if there is any solution regarding this.

Thank You.

Change History (2)

comment:1 Changed 13 years ago by Scott González

Resolution: invalid
Status: newclosed

Please ask for help on the forum.

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.