combo box error with IE and fine with FF

S

shror

I need your help please in an aspx webpage.

I have 2 combo boxes in the page
The first combo load and when i select item from it then the other
combo should be loaded then and this cenario work fine in Fire Fox but
on Internet Explorer when i select the item from the first combo it
doesn't load the second combo but it gives the yellow error mark in the

statusbar <error in page>
and the says error:
event is null or not an object.


here is the .aspx code of the combo


<asp:DropDownList ID="ddlStage" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="ddlStage_SelectedIndexChanged">
</asp:DropDownList>

<asp:DropDownList ID="ddlEducYear" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="ddlEducYear_SelectedIndexChanged">
</asp:DropDownList>



this is the related .cs


protected void ddlStage_SelectedIndexChanged(object sender,
EventArgs e)
{
BindEducYear();
}
protected void ddlEducYear_SelectedIndexChanged(object sender,
EventArgs e)
{
BindGrdBook();
}


so please i need your help to fix this problem because i dont know why
it work fine in Fire Fox and not in Internet Explorer


Thanks for any help in advance
 
G

Gaurav Vaish \(MasterGaurav\)

Should have never happened... because that's a very popular / common piece
of code.

I have a form of countries -> states -> cities... all work fine.

Just refresh the page, ensure that IE has latest updates (shouldn't cause
problem with JavaScript though)... I know these solutions wouldn't work but
just try. :)
 
G

Gaurav Vaish \(MasterGaurav\)

Should have never happened... because that's a very popular / common piece
of code.

I have a form of countries -> states -> cities... all work fine.

Just refresh the page, ensure that IE has latest updates (shouldn't cause
problem with JavaScript though)... I know these solutions have no impact but
just try. :)
 
S

shror

Thanks for your answer but i have tested this error from many different
computers and the same error, so i will be glad if you can test it by
yourself and tell me whats the problem coming from, the combobox URL
is:
http://www.selaheltelmeez.net/FrontEnd/ViewBooks.aspx
i have created a test account, its data are
user : test
pass : 123456
you will find the signin bo on the right side, am telling you because
the site is in arabic language
thanks a lot for your help
 
G

Gaurav Vaish \(MasterGaurav\)

Hi,

I don't know if there's some error elsewhere because I just tried an I
could auto-postback the form.
With the first option (in CB1), I got 2 options in CB2 and with second I
got 4. So, I think selctedindexchanged is working fine.

btw, have you tried doing a JavaScript debugging?
 
S

shror

thank you so much for the information and your detaild answer
and i also forgot to tell you that am using IE6
and i will try using the javascript debug
thanks once more and i will check and tell you the result
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top