473,396 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

combo box error with IE and fine with FF

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_SelectedIndexChan ged">
</asp:DropDownList>

<asp:DropDownList ID="ddlEducYear" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="ddlEducYear_SelectedIndexC hanged">
</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

Jan 14 '07 #1
6 1337
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. :)

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
"shror" <sh******@gmail.comwrote in message
news:11**********************@51g2000cwl.googlegro ups.com...
>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_SelectedIndexChan ged">
</asp:DropDownList>

<asp:DropDownList ID="ddlEducYear" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="ddlEducYear_SelectedIndexC hanged">
</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

Jan 15 '07 #2
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. :)

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
"shror" <sh******@gmail.comwrote in message
news:11**********************@51g2000cwl.googlegro ups.com...
>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_SelectedIndexChan ged">
</asp:DropDownList>

<asp:DropDownList ID="ddlEducYear" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="ddlEducYear_SelectedIndexC hanged">
</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


Jan 15 '07 #3
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

Gaurav Vaish (MasterGaurav) wrote:
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. :)

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
"shror" <sh******@gmail.comwrote in message
news:11**********************@51g2000cwl.googlegro ups.com...
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_SelectedIndexChan ged">
</asp:DropDownList>

<asp:DropDownList ID="ddlEducYear" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="ddlEducYear_SelectedIndexC hanged">
</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
Jan 15 '07 #4
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?

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
"shror" <sh******@gmail.comwrote in message
news:11**********************@11g2000cwr.googlegro ups.com...
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

Gaurav Vaish (MasterGaurav) wrote:
>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. :)

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
"shror" <sh******@gmail.comwrote in message
news:11**********************@51g2000cwl.googlegr oups.com...
>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_SelectedIndexChan ged">
</asp:DropDownList>

<asp:DropDownList ID="ddlEducYear" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="ddlEducYear_SelectedIndexC hanged">
</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

Jan 15 '07 #5
Oops... I forgot to mention... I am using IE7.

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
"shror" <sh******@gmail.comwrote in message
news:11**********************@11g2000cwr.googlegro ups.com...
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

Gaurav Vaish (MasterGaurav) wrote:
>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. :)

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
"shror" <sh******@gmail.comwrote in message
news:11**********************@51g2000cwl.googlegr oups.com...
>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_SelectedIndexChan ged">
</asp:DropDownList>

<asp:DropDownList ID="ddlEducYear" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="ddlEducYear_SelectedIndexC hanged">
</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

Jan 15 '07 #6
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

Gaurav Vaish (MasterGaurav) wrote:
Oops... I forgot to mention... I am using IE7.

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
"shror" <sh******@gmail.comwrote in message
news:11**********************@11g2000cwr.googlegro ups.com...
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

Gaurav Vaish (MasterGaurav) wrote:
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. :)

--
Happy Hacking,
Gaurav Vaish | www.mastergaurav.com
www.edujini-labs.com
http://eduzine.edujinionline.com
-----------------------------------------
"shror" <sh******@gmail.comwrote in message
news:11**********************@51g2000cwl.googlegro ups.com...
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_SelectedIndexChan ged">
</asp:DropDownList>

<asp:DropDownList ID="ddlEducYear" runat="server" AutoPostBack="True"
OnSelectedIndexChanged="ddlEducYear_SelectedIndexC hanged">
</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
Jan 17 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: mal | last post by:
Sorry for repost - system added to another subject for some reason Have tried numerous ideas from the group to solve this one. It is such a simple example that it should be straightforward ! I...
1
by: Brendan | last post by:
I am trying to validate the data in all of the text and combo boxes. The text box validation seems to be working fine, but I am having the hardest time with the combo box validation. I am not sure...
2
by: MLH | last post by:
I invoked the combo-box wizard today, telling it to use a 4-table union query as a row-source for the combo-box it was assisting me in building. The error I got was without number and stated,...
3
by: RICHARD BROMBERG | last post by:
I have a table (tblPhone) with text fields FULL, LAST, PHONE, I also have a combo box (cmboFull) . The row source for cmboFull is SELECT DISTINCT FROM tblPhone; Here's the code for the combo...
5
by: Henry Stockbridge | last post by:
Hi, I have a combo box on a form whose purpose is to add a record to the form's underlying table. There are several (16) fields that the combo box carries with it, only a few that are visible...
1
by: lawton | last post by:
Source: this is an access 2003 question My knowledge level: reading books, internet, and trial & error; no formal training I'm trying to get a running sum of what's filtered in a subform which is...
6
by: =?Utf-8?B?amVmZmVyeQ==?= | last post by:
i need help with a combo box and this same code works on my first tab with a combo box. The error or problem i have is this code causes an index out of range error when i run it on my second combo...
5
by: samdev | last post by:
I have created two combo boxes in a subform.... For example 1. Combo Box State 2. Combo Box City 3. When a state from the Combo Box State is selected, the City combo box updates to reflect...
4
by: mistyblu | last post by:
I wrote an Access97 application using VBA for a company many moons ago and they have approximately 20 users. All has been hunky dory for a long time but suddenly they have a combo box error on 3 of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.