MultiHandleSliderExtender post back

chandresh43
chandresh43 used Ask the Experts™
on
<cc1:MultiHandleSliderExtender ID="multiHandleSliderExtenderTwo" runat="server"
               BehaviorID="multiHandleSliderExtenderTwo"
               TargetControlID="sliderTwo"
             
               Length="175"
               
                TooltipText="{0}"
                Orientation="Horizontal"
                EnableHandleAnimation="true"
                EnableKeyboard="false"
                EnableMouseWheel="false" >
                <MultiHandleSliderTargets>
                    <cc1:MultiHandleSliderTarget ControlID="multiHandle2_1_BoundControl" />
                    <cc1:MultiHandleSliderTarget ControlID="multiHandle2_2_BoundControl" />
                </MultiHandleSliderTargets>            
            </cc1:MultiHandleSliderExtender>


  <asp:TextBox ID="multiHandle2_1_BoundControl" runat="server" Width="30" 
                                         ontextchanged="multiHandle2_1_BoundControl_TextChanged" /> 
                                </td>
                                <td > 
                                    <asp:TextBox ID="sliderTwo" runat="server" 
                                        ontextchanged="sliderTwo_TextChanged" AutoPostBack="True" />
                                </td>
                                <td style="padding-left:21px">
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
                                    <asp:TextBox ID="multiHandle2_2_BoundControl" runat="server" Width="30" 
                                         ontextchanged="multiHandle2_2_BoundControl_TextChanged" 
                                        AutoPostBack="True" />

Open in new window



I Want write Some Code
on
MultiHandleSliderExtender  post back


protected void sliderTwo_TextChanged(object sender, EventArgs e)
    {

        bindgrid();
    }


But Not Not Fire Is I Done Anything Wrong
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
TestBox Text checged event is not fired untill the page post back is fired. This will not raise the event automatically

You can do this task as
1. Raise JavaScript event of text box change
2. Javascript function should post back page or make a AJAX call to finish the task

Check the reference URL for binding control to Javascript
http://forums.asp.net/p/1526570/3684180.aspx

Calling Server Side code from JavaScript Check
http://sappidireddy.wordpress.com/2008/03/31/how-to-call-server-side-function-from-client-side-code-using-pagemethods-in-aspnet-ajax/
http://stackoverflow.com/questions/3713/call-asp-net-function-from-javascript

Hope this will help you

Author

Commented:
can You Post Some Code

That i Use Here


as Slider change event i want bind by grid view

http://forums.asp.net/p/1526570/3684180.aspx
link has code to bind textbox to javascript event
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Author

Commented:
i really don't know what You mean

please Give Me Some Code That Related With My Code

That will be Good For Me

Thanks
 

Author

Commented:
Thanks AmanBhullar



Your Example Is Really Very Good

But I Don't Know How To Use This

I just Want


2 range value   in slider and when slider change


Bind Gridview With New  Value


Thanks
what example AmanBhullar has given is nice.

http://aspalliance.com/1926_ASPNET_AJAX_MultiHandleSliderExtender__Slide_by_Year_and_Month.3

can you explain what are difficulties you are facing in implementing this?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial