Suppose I have javascript within ASP.NET UserControl:
function setValue(DataItem) {
var selectedDate = DataItem.getMember('DomainNameKey').get_object();
Picker1.setSelectedDate(selectedDate);
}
Where Picker1 is also inside the control. Because Picker1's ID will be renamed at runtime, what do I put in the code below to make it work within a UserControl?
function setValue(DataItem) {
var selectedDate = DataItem.getMember('DomainNameKey').get_object();
<%= ?????????????? %>.setSelectedDate(selectedDate);
}