Garbage Charecters

V

Vishal Dalsania

Hello all,

I have created an application in ASP.NET 2.0.
When i run it from internet explorer the aspx page shows some garbage
charecters in it. I tried looking in to the HTML source of the page i found
the below lines were causing problem

<tr>
<td align=center style="width: 751px">
<br />
¸ut name="btnDrawings2" type="button" id="btnDrawings2" class="Btn"
value=":: Drawings ::"
onclick="javascript:window.open('DrawingReports.aspx','_self');"
style="width:110px" />&nbsp;
<input type="submit" name="btnBldgBuy2" value=":: Continue To Buy ::"
id="btnBldgBuy2" class="Btn" style="width:160px" />
</td>
</tr>

Look at the garbage in place of input in first button.

Now when i looked in to the ASPX file in my project the lines were perfect
as below

<tr>
<td align=center style="width: 751px">
<br />
<input type=button id="btnDrawings2" class="Btn" Value=":: Drawings ::"
runat=server
onclick="javascript:window.open('DrawingReports.aspx','_self');"
style="width:110px" />&nbsp;
<asp:Button Text=":: Continue To Buy ::" ID="btnBldgBuy2" CssClass="Btn"
style="width:160px" runat="server" OnClick="btnBldgBuy_Click" />
</td>
</tr>

I have the same 2 lines in another page where it is not causing any such
problem.

I did not understood how does it changed the HTML code of aspx file while
running from IIS.

It runs well in the development web server of Visual Studio 2005.

I am using Windows 2003 Server R2, IIS 6.0, Internet Explorer 6.0 and
ASP.NET 2.0

Can anyone help me in this?

Thanks in advance.

Regards
Vishal Dalsania
 

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

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top