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

[Solved] multi combo boxes error after cancel

1 Answer 69 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
weezie
Top achievements
Rank 1
weezie asked on 08 Dec 2009, 06:57 PM
I've got the following javascript code and a web page with 3 combo boxes (combo1, combo2)

 

function LoadCombo2(combo, eventArqs) {

 

 

        var item = eventArqs.get_item();

 

        _Combo2.set_text(

"Loading...");

 

The above funtion gets fired during combo1's fired OnClientSelectedIndexChanging event, which works fine when the page is initially rendered. But after a 'CancelAll' or cancel command, I get the an error on _Combo2.set_text("Loading...");
In fact, no matter what property or method I try to use for combo2, I get the following javascript error...
        

 

            this.get_element() is null or not an object

Any ideas what is causing this error?  I'm using IE7, RadControls for ASP.NET AJAX Q3 2009

Thanks,
weezie

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 11 Dec 2009, 10:08 AM
Hi weezie,

How and where do you initialize the _Combo2 object?

Sincerely yours,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox
Asked by
weezie
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or