S
Surajit Laha
Hi,
I am facing a strange problem!
I have hosted the same ASP.NET web app in two servers.
One server is Win XP Pro (IIS 5.1) and the other is Win 2k Server (IIS
5).
The trouble is when the application is requested from the WinXP
machine, it renders SPAN tag, while when the page is requested from
the Win2k machine it does not!
To explain it in more detail:
From Win2k server:
<input id="dgrTeamAuth__ctl2_chkAuthorized" type="checkbox"
name="dgrTeamAuth:_ctl2:chkAuthorized" checked="checked"
onclick="javascript:SyncTextBox(this);" />
From WinXP server:
<span onclick="javascript:SyncTextBox(this);"><input
id="dgrTeamAuth__ctl2_chkAuthorized" type="checkbox"
name="dgrTeamAuth:_ctl2:chkAuthorized" checked="checked" /></span>
Now the diference is in SPAN tag.
Due to this some JavaScript of the page is throwing error.
How can I ensure that the browser renders the same HTML each time,
atleast if the client PC remains the same?
Please help.
-Surajit Laha
I am facing a strange problem!
I have hosted the same ASP.NET web app in two servers.
One server is Win XP Pro (IIS 5.1) and the other is Win 2k Server (IIS
5).
The trouble is when the application is requested from the WinXP
machine, it renders SPAN tag, while when the page is requested from
the Win2k machine it does not!
To explain it in more detail:
From Win2k server:
<input id="dgrTeamAuth__ctl2_chkAuthorized" type="checkbox"
name="dgrTeamAuth:_ctl2:chkAuthorized" checked="checked"
onclick="javascript:SyncTextBox(this);" />
From WinXP server:
<span onclick="javascript:SyncTextBox(this);"><input
id="dgrTeamAuth__ctl2_chkAuthorized" type="checkbox"
name="dgrTeamAuth:_ctl2:chkAuthorized" checked="checked" /></span>
Now the diference is in SPAN tag.
Due to this some JavaScript of the page is throwing error.
How can I ensure that the browser renders the same HTML each time,
atleast if the client PC remains the same?
Please help.
-Surajit Laha