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

Creating Docks - Client Side

1 Answer 68 Views
Dock
This is a migrated thread and some comments may be shown as answers.
Bruno Lopes
Top achievements
Rank 1
Bruno Lopes asked on 12 Oct 2007, 09:55 PM

Hi there,

one of the examples for the RadSlider shows how to create objects in client side. Can we do the same with RadDock and other Prometheus controls?

 


<script> 
                function CreateSlider()  
                {  
                    var sliderProps = {  
                        Value : 50                          
            
        }  
                    var sliderEvents = {}; // we do not need events  
                    var elementToExtend = $get("ClientSlider"); // replace this element with a new RadSlider  
                    $create(Telerik.Web.UI.RadSlider, sliderProps, sliderEvents, null, elementToExtend);  
                }  
            </script> 
 
 

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 15 Oct 2007, 02:39 PM
Hi Ricardo Lapao,

You could use this approach to create a RadDock Prometheus on the client however you will have to provide the client-side rendering of the control yourself.

Sincerely yours,
Petya
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Dock
Asked by
Bruno Lopes
Top achievements
Rank 1
Answers by
Petya
Telerik team
Share this question
or