SelectionStart_End Property convert value to int before displaying

2 posts, 0 answers
  1. Programmer Nut
    Programmer Nut avatar
    6 posts
    Member since:
    Nov 2006

    Posted 20 Jun 2011 Link to this post

    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"
    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();
  2. Niko
    Niko avatar
    404 posts

    Posted 21 Jun 2011 Link to this post

    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,
    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.

Back to Top