I am trying to use the AJAX Slider extender with a WebTextEditor, mainly because I wished to capture the client side event 'TextChanged'.
However the control does not seem to be working. I have the following code in my page
<igtxt:WebTextEdit ID="txtSliderValue3" runat="server" BorderColor="Black" BorderStyle="Inset"
BorderWidth="1px" Font-Names="Times New Roman" Font-Bold="true" Font-Size="8pt"
ReadOnly="true" Width="30px" Height="24px">
</igtxt:WebTextEdit>
<asp:TextBox ID="txtSliderValue2" runat="server" BorderColor="Black" BorderStyle="Inset"
</asp:TextBox>
<br /><br />
<asp:TextBox ID="txtSlider2" runat="server" Width="40">
BoundControlID="txtSliderValue3"
EnableHandleAnimation="true">
</cc2:SliderExtender>
When I set the BoundControlID of the SliderExtender to 'txtSliderValue2' (ordinary asp textbox) the slider value shows correctly as the slider is moved.
When I set the BoundControlID to 'txtSliderValue3' (Infragistics WebTextEditor) the slider value does not appear.
I am using NetAdvantage 8.1 with VS2008.
Any help appreciated.
Sorry that misleading information. That statement was indended for controls like UpdatePanel and ScriptManager, but not for Toolkit.
WebSite will be adjusted for that.
I understand that the problem is most likely to be caused by the implementation as you describe.
The Slider extender I am referring to is the one supplied in the Microsoft Ajax toolkit, and I would have assumed that Infragistics would have undertaken some testing with these extenders.
I quote from your own web site at http://es.infragistics.com/hot/axaj.aspx#AJAXOverview
'ASP.NET AJAX Control Toolkit - This is a set of shared-source controls created by many developers in coordination with Microsoft that target the ASP.NET AJAX Extensions and Microsoft AJAX Library. Infragistics controls function with and in these controls.'
So, in light of the above, I ask my original question again. 'Why is the WebTextEditor not working with the Slider Extender of the Microsoft AJAX Extensions ?'
Hi,
I guess your extender comes from toolkit or something like that and you probably have source code for it. The best way is to look how that extender is implemented. If it tries to find "target" as <input> with id equal to TargetControlID in order to set its "value", then it will not work with any of Infragistics editors. For WebTextEdit the "target" element could be actual <input> field (you should look at generated html to find its exact value) used by editor. However, if you (or extender, or whoever) modify "value" of that field directly, then you will not be able to get it back, it will be lost on postback or any other action (like focus, blur, etc).
In order for extender to work with WebTextEditor, the extender should get reference to the javascript object of editor and use its member function setValue(newValue).