Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Garbage Charecters

Reply
Thread Tools

Garbage Charecters

 
 
Vishal Dalsania
Guest
Posts: n/a
 
      07-27-2006
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.as px','_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.as px','_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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
remove junk charecters Index C++ 4 10-06-2006 01:55 AM
I want to exclude an expression of a sequence of charecters with regex 28tommy Python 2 12-28-2005 12:45 PM
I want to read all charecters of pdf file ... Alex Smith ASP .Net 1 06-17-2005 01:25 PM
What charecters the lightweight component have? Bruce Sam Java 1 12-17-2004 08:22 AM
performing action on set of charecters jeff Python 2 01-23-2004 07:46 AM



Advertisments