Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Closed Issue: ajaxToolkit:SliderExtender giving runtime error when used in a repeater or listview control [18423]

$
0
0
I am using this code in a ListView control
<ajaxToolkit:SliderExtender ID="SectionIQSliderExtender1" runat="server"
BehaviorID="SectionIQSlider1"
TargetControlID="SectionIQSlider1"
BoundControlID="SectionIQAnswer1"
Orientation="Horizontal"
RailCssClass="ajax__slider_h_rail"
HandleCssClass="ajax__slider_h_handle"
HandleImageURL="~/images/slider_h_handle2.gif"
Minimum="0"
Maximum="10"
EnableHandleAnimation="true"
TooltipText="Slider: value {0}. Please slide to change value." />

I get this message --> Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'SectionIQSlider1' can't be added to the application.

When I use non AJAX control i.e. Lable or Textbox in Listview the ID gets incremented automatically but for the SliderExtender is not getting incremented, with the ID I also think following properties should also increment automatically...
BehaviorID="SectionIQSlider1"
TargetControlID="SectionIQSlider1"
BoundControlID="SectionIQAnswer1"
Not sure if it is a bug or change request to SliderExtender control.
Comments: This ticket was filed for a pre-15.1 version of AJAX Control Toolkit. If this is still an issue in v15.1 or later, please create a new inquiry.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>