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

Slider hidden

8 Answers 165 Views
Slider
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 26 Apr 2007, 06:38 PM
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

8 Answers, 1 is accepted

Sort by
0
Valio
Top achievements
Rank 1
answered on 26 Apr 2007, 07:13 PM
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.
0
David
Top achievements
Rank 1
answered on 26 Apr 2007, 07:20 PM
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. 
0
Tsvetie
Telerik team
answered on 27 Apr 2007, 10:47 AM
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
0
David
Top achievements
Rank 1
answered on 27 Apr 2007, 01:24 PM
Hi Yes I just submitted a simple project to you guys. Thanks
0
David
Top achievements
Rank 1
answered on 27 Apr 2007, 04:31 PM
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
0
Tsvetie
Telerik team
answered on 02 May 2007, 01:29 PM
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
0
James Rintoul
Top achievements
Rank 1
answered on 07 Dec 2007, 11:35 AM
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.
0
James Rintoul
Top achievements
Rank 1
answered on 07 Dec 2007, 11:50 AM
Sorry, don't worry about this...I sourced the web config file from the PrometheusExamples solution.
Tags
Slider
Asked by
David
Top achievements
Rank 1
Answers by
Valio
Top achievements
Rank 1
David
Top achievements
Rank 1
Tsvetie
Telerik team
James Rintoul
Top achievements
Rank 1
Share this question
or