Slider hidden

9 posts, 0 answers
  1. David
    David avatar
    10 posts
    Member since:
    Jun 2006

    Posted 26 Apr 2007 Link to this post

    for some reason the slider is not showing on page. I looked at the viewsource and it says typ="hidden" but visible = true. not sure what is going on. any help
  2. Valio
    Valio avatar
    102 posts
    Member since:
    Jun 2006

    Posted 26 Apr 2007 Link to this post

    Hi David,
    can you see if there are any js errors during the page load which may cause this behaviour ?

    Also do you experience the same problems on the online demos?

    You can sends as a sample page to investigate the problem.

    Regards,
    Valentin Stoychev, Telerik team.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David
    David avatar
    10 posts
    Member since:
    Jun 2006

    Posted 26 Apr 2007 Link to this post

    Hi Valentin,

      no js errors and I can see your demos fine. like I said the slider is there meaning if I do a view source. if I make the bg a color it will show, also height and width. it does not show the slider arrows and scroll(images). I can also see the slider in my visual studio wysiwig. 
  5. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 27 Apr 2007 Link to this post

    Hi David,
    Let us continue this discussion in the support thread that you have opened on the same topic. I believe, we will really need your code to solve this one, so please send us a sample project, attached to the support thread.

    Greetings,
    Tsvetie
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. David
    David avatar
    10 posts
    Member since:
    Jun 2006

    Posted 27 Apr 2007 Link to this post

    Hi Yes I just submitted a simple project to you guys. Thanks
  7. David
    David avatar
    10 posts
    Member since:
    Jun 2006

    Posted 27 Apr 2007 Link to this post

    The slider is now working it was due to the config file did not have the handlers and controls in it.

    Now I was wondering if you can provide an example on how I can use the slider with the radrotator or unless you have another idea on how I can have the slider scroll through maybe an inline frame or the rotator.

    Thanks
  8. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 02 May 2007 Link to this post

    Hello David,
    You can easily achieve the desired behavior, by combining one of the online examples of the RadRotator, with one of the examples of the RadSlider.

    Bellow follows sample code to get you started:
    <form id="form1" runat="server">  
        <asp:ScriptManager ID="ScriptManager1" runat="server">  
        </asp:ScriptManager>     
     
        <radR:RadRotator ID="RadRotator1" runat="server" DataSourceID="AccessDataSource1" AutoAdvance="false">  
            <FrameTemplate> 
                <asp:Label ID="lblTest" runat="server" Text='<%# Eval("ProductName") %>'></asp:Label> 
            </FrameTemplate> 
        </radR:RadRotator> 
          
        <telerik:RadSlider SlideStep="1" ID="RadSlider1" runat="server" OnClientValueChange="ClientValueChange" /> 
          
        <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/Nwind.mdb" 
            SelectCommand="SELECT [ProductName] FROM [Alphabetical List of Products]"></asp:AccessDataSource> 
              
            <script type="text/javascript">  
            function ClientValueChange(sender, eventArgs)  
            {  
                var newValue = sender.get_Value();  
                var oldValue = eventArgs.get_OldValue();  
                  
                if(newValue - oldValue > 0)  
                {  
                    RadRotator1.ShowNextFrame();                      
                }  
                else  
                {  
                    RadRotator1.ShowPrevFrame();  
                }  
            }  
            </script> 
    </form> 


    Sincerely yours,
    Tsvetie
    the telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. James Rintoul
    James Rintoul avatar
    6 posts
    Member since:
    May 2007

    Posted 07 Dec 2007 Link to this post

    Hi, I'm having the same problem as David. Can someone please tell me what handlers and controls need to be added to my config file to get a slider to display.

    Thanks in advance.
  10. James Rintoul
    James Rintoul avatar
    6 posts
    Member since:
    May 2007

    Posted 07 Dec 2007 Link to this post

    Sorry, don't worry about this...I sourced the web config file from the PrometheusExamples solution.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017