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

RadDateTime picker - client side - get_wrapperElement

2 Answers 61 Views
Input
This is a migrated thread and some comments may be shown as answers.
Roland
Top achievements
Rank 1
Roland asked on 01 Feb 2010, 05:45 PM
Hello,

The docs say that raddatepicker has get_wrapperElement function.

Is it missing ? or is this only docs error ?

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 02 Feb 2010, 06:53 AM
Hello Rolland,

The get_wrapperElement() is method of the RadDateInput client-side object which returns the DOM element for the <div> wrapper element. You could access the DateInput of RadDateTimePicker as shown below.

JavaScript:
 
    function enableIt() { 
        var dtPicker = $find("<%=RadDateTimePicker1.ClientID%>"); 
        var wrapperElement = dtPicker.get_dateInput().get_wrapperElement(); 
    } 

-Shinu.
0
Roland
Top achievements
Rank 1
answered on 02 Feb 2010, 02:44 PM
Thanks, I must have missed that raddateinput :)
Tags
Input
Asked by
Roland
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Roland
Top achievements
Rank 1
Share this question
or