san4u49
asked on
rating ajaxtoolkit control does not work in firebox but in IE
hi, please take a look on this page http://www.mybadflight.com/rate_mybadflight.aspx# . this rating is working on IE but not in mozilla. please provide me solution its very urgent now.
<%@ Page Language="VB" MasterPageFile="~/mybadflight.master" AutoEventWireup="false" CodeFile="rate_mybadflight.aspx.vb" Inherits="Rate_mybadflight" title="Rate My Flight" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content id="Content1" runat="server" contentplaceholderid="ContentPlaceHolder1">
<link href="rating.css" rel="stylesheet" type="text/css" />
<table style="width: 95%" cellpadding="5" class="style4" align="center">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>
<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
</asp:ScriptManagerProxy>
<asp:Panel ID="openPanel" runat="server">
</asp:Panel>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table style="text-align:left; width:550px;">
<tr>
<td class="style33">
Type of Flight
</td>
<td >
<asp:DropDownList ID="airlinetypelst" runat="server" AutoPostBack="True">
<asp:ListItem Value="0" Selected="True">Domestic</asp:ListItem>
<asp:ListItem Value="1">International</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style33">
Airline:
</td>
<td >
<asp:DropDownList ID="airlinelst" runat="server">
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style33">
Class:
</td>
<td >
<asp:DropDownList ID="classlst" runat="server">
<asp:ListItem Value="0">Coach</asp:ListItem>
<asp:ListItem Value="1">First</asp:ListItem>
<asp:ListItem Value="2">Business</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style33">
Delayed:
</td>
<td >
<asp:DropDownList ID="delayedlst" runat="server">
<asp:ListItem Value="0">No</asp:ListItem>
<asp:ListItem Selected="True" Value="1">Yes</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style33">
Crew:
</td>
<td >
<cc1:Rating ID="crew" runat="server"
EnableViewState="true"
MaxRating="5"
CssClass="ratingStar"
CurrentRating="0"
StarCssClass="ratingItem"
WaitingStarCssClass="Saved"
FilledStarCssClass="Filled"
EmptyStarCssClass="Empty"
ReadOnly="False"
Visible="true" AutoPostBack="true" >
</cc1:Rating>
</td>
</tr>
<tr>
<td class="style33">
Food:
</td>
<td >
<cc1:Rating ID="food" runat="server"
EnableViewState="true"
MaxRating="5" CurrentRating="0"
CssClass="ratingStar"
StarCssClass="ratingItem"
WaitingStarCssClass="Saved"
FilledStarCssClass="Filled"
EmptyStarCssClass="Empty"
ReadOnly="False"
AutoPostBack="true" >
</cc1:Rating>
</td>
</tr>
<tr>
<td class="style33">
Cleanliness:
</td>
<td >
<cc1:Rating ID="clean" runat="server"
EnableViewState="true"
MaxRating="5" CurrentRating="0"
CssClass="ratingStar"
StarCssClass="ratingItem"
WaitingStarCssClass="Saved"
FilledStarCssClass="Filled"
EmptyStarCssClass="Empty"
ReadOnly="False"
AutoPostBack="true" >
</cc1:Rating>
</td>
</tr>
<tr>
<td class="style33">
Comfort:
</td>
<td >
<cc1:Rating ID="comfort" runat="server"
EnableViewState="true"
MaxRating="5" CurrentRating="0"
CssClass="ratingStar"
StarCssClass="ratingItem"
WaitingStarCssClass="Saved"
FilledStarCssClass="Filled"
EmptyStarCssClass="Empty"
ReadOnly="False"
AutoPostBack="true" >
</cc1:Rating>
</td>
</tr>
<tr>
<td class="style33">
Amenities:
</td>
<td >
<cc1:Rating ID="amenities" runat="server"
EnableViewState="true"
MaxRating="5" CurrentRating="0"
CssClass="ratingStar"
StarCssClass="ratingItem"
WaitingStarCssClass="Saved"
FilledStarCssClass="Filled"
EmptyStarCssClass="Empty"
ReadOnly="False"
AutoPostBack="true" >
</cc1:Rating>
</td>
</tr>
<tr>
<td class="style33">
Customer Service:
</td>
<td >
<cc1:Rating ID="customerservice" runat="server"
EnableViewState="true"
MaxRating="5" CurrentRating="0"
CssClass="ratingStar"
StarCssClass="ratingItem"
WaitingStarCssClass="Saved"
FilledStarCssClass="Filled"
EmptyStarCssClass="Empty"
ReadOnly="False"
AutoPostBack="true"
>
</cc1:Rating>
</td>
</tr>
<tr>
<td class="style33">
Overall:
</td>
<td >
<cc1:Rating ID="overall" runat="server"
EnableViewState="true"
MaxRating="5" CurrentRating="0"
CssClass="ratingStar"
StarCssClass="ratingItem"
WaitingStarCssClass="Saved"
FilledStarCssClass="Filled"
EmptyStarCssClass="Empty"
AutoPostBack="true" >
</cc1:Rating>
</td>
</tr>
<tr>
<td class="style33">
Flight Number(Not Required):
</td>
<td>
<asp:TextBox ID="flightNumberBox" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style33">
<asp:Button ID="SubmitBtn" runat="server" Text="Rate My Flight" />
</td>
<td >
<asp:Label ID="errorLabel" runat="server"></asp:Label>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</td>
<td> </td>
</tr>
<tr>
<td> </td>
<td>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource>
</td>
<td> </td>
</tr>
</table>
</asp:Content>
<asp:Content id="Content2" runat="server" contentplaceholderid="head">
<style type="text/css">
.style33
{
width: 178px;
}
</style>
</asp:Content>
I'm guessing it is probably a case sensitive issue. Firefox is case sensitive when it comes to the getElementById javascript function. If you have something defined as "divLayer", but reference it as getElementById("divlayer") , it would work in IE, but not Firefox.
ASKER
Thanks. it is code of a sinlge rating option
<cc1:Rating ID="crew" runat="server"
EnableViewState="true"
MaxRating="5"
CssClass="ratingStar"
CurrentRating="0"
StarCssClass="ratingItem"
WaitingStarCssClass="Saved "
FilledStarCssClass="Filled "
EmptyStarCssClass="Empty"
ReadOnly="False"
Visible="true" AutoPostBack="true" >
</cc1:Rating>
i hv checked all name and ID. this is ajax toolkit control actully.please help me to resolve this. i tried to check out it. i can provide more also if u need.
<cc1:Rating ID="crew" runat="server"
EnableViewState="true"
MaxRating="5"
CssClass="ratingStar"
CurrentRating="0"
StarCssClass="ratingItem"
WaitingStarCssClass="Saved
FilledStarCssClass="Filled
EmptyStarCssClass="Empty"
ReadOnly="False"
Visible="true" AutoPostBack="true" >
</cc1:Rating>
i hv checked all name and ID. this is ajax toolkit control actully.please help me to resolve this. i tried to check out it. i can provide more also if u need.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks. i got my solution . thanks thanks and thanks
this._form is null
theForm is undefined