Hi
I am using Telerik controls 2008 Q2.
I attach an OnClientPageLoad event when opening my RadWindow.
This enters my function. What I try to do next is populate the controls in the RadWindow from a Javascript object.
I can access HTML controls nicely but not web controls, e.g. RadCombobox etc.
$find() always returns null. However if I hide the RadWindow then show it again $find() will work then (however I don't want to do this).
My code:
var contentFrame = gwinEventDetails.GetContentFrame().contentWindow;
var VenueTxtBox = contentFrame.$get(contentFrame.gDLGtxtVenueNameID).value
var VenueCboCountry = contentFrame.$find(contentFrame.gDLGcboVenueCountryID);
The textbox is found but not the combobox (returns null).
Is there something I am missing?
Kind regards
Mark Eaton
I am using Telerik controls 2008 Q2.
I attach an OnClientPageLoad event when opening my RadWindow.
This enters my function. What I try to do next is populate the controls in the RadWindow from a Javascript object.
I can access HTML controls nicely but not web controls, e.g. RadCombobox etc.
$find() always returns null. However if I hide the RadWindow then show it again $find() will work then (however I don't want to do this).
My code:
var contentFrame = gwinEventDetails.GetContentFrame().contentWindow;
var VenueTxtBox = contentFrame.$get(contentFrame.gDLGtxtVenueNameID).value
var VenueCboCountry = contentFrame.$find(contentFrame.gDLGcboVenueCountryID);
The textbox is found but not the combobox (returns null).
Is there something I am missing?
Kind regards
Mark Eaton