Link to home
Start Free TrialLog in
Avatar of chandresh43
chandresh43Flag for India

asked on

MultiHandleSliderExtender post back

<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
Avatar of Amandeep Singh Bhullar
Amandeep Singh Bhullar
Flag of India image

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
Avatar of chandresh43

ASKER

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
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
 
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
ASKER CERTIFIED SOLUTION
Avatar of Mrunal
Mrunal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial