This is a migrated thread and some comments may be shown as answers.

SelectionStart_End Property convert value to int before displaying

1 Answer 58 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Programmer Nut
Top achievements
Rank 1
Programmer Nut asked on 20 Jun 2011, 10:01 PM
With the following Radslider settings (see below).... The initial state of the slider on the client browser incorrectly displays as SelectionStart= 0 and SelectionEnd=1.  In the code behind the proper values can be retrieved (SelectionStart= .1 and SelectionEnd=.6) before the page is sent to the browser.  It seems at some point a conversion decimal to int is being made for the client display.

<telerik:RadSlider runat="server" ID="RadSlider4" Orientation="Vertical" Height="300" IsDirectionReversed="true" Width="50"
SelectionStart=".1" SelectionEnd=".6"
MinimumValue="0"
MaximumValue="1"
LargeChange=".1"
SmallChange=".05" 
TrackPosition="BottomRight" ItemType="Tick" IsSelectionRangeEnabled="true"  EnableServerSideRendering="true" OnClientValueChanged="HandleValueChanged" >  </telerik:RadSlider>

At the browser, the client-side functionality works correctly when the sliders are moved and proper decimal values  are provided using the function below

function HandleValueChanged(sender, eventArgs) {
            $get("sliderValue").value = sender.get_selectionStart();
            $get("sliderValue2").value = sender.get_selectionEnd();
        }

1 Answer, 1 is accepted

Sort by
0
Niko
Telerik team
answered on 21 Jun 2011, 03:22 PM
Hi Charles,

Indeed, I was able to reproduce the issue that you have described with the provided setup. We will look into it and will try to resolve the issue as soon as possible, which will most probably be next week with the beta release.

Please, accept our apologies for the inconvenience caused. As a sign of gratitude for your active participation, I have updated your Telerik points.

Kind regards,
Niko
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Slider
Asked by
Programmer Nut
Top achievements
Rank 1
Answers by
Niko
Telerik team
Share this question
or