|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
localhost vs. MyComputerI set BorderStyle = None and GridLines = Both. If I run a project from VS2005 or enter an address in a browser //localhost/MyProject/MyPage.aspx then the grid appears WITHOUT the borders and WITH the gridlines. If I open the same page by an address //MyCompName/MyProject/MyPage.aspx, then the grid appears WITH the borders and with the gridlines. If I set BorderWidth = 0px, then //localhost/... shows the grid WITHOUT the borders and WITH the gridlines and //MyCompName/... shows the grid WITHOUT the borders and WITHOUT the gridlines. When a page is placed on a server, it appears the same way as at //MyCompName/... Why does the same page appear in different ways? How can I fix it? Thanks. Victor Without seeing the code and understanding your computer's set up, I have no
clue. -- Show quoteHide quoteGregory A. Beamer MCP: +I, SE, SD, DBA ********************************************* | Think outside the box! | ********************************************* "Vik" <viktorum@==hotmail.com==> wrote in message news:Ob1K4Va2JHA.2656@TK2MSFTNGP05.phx.gbl... >I need a gridview without the borders but with the gridlines. > I set BorderStyle = None and GridLines = Both. > If I run a project from VS2005 or enter an address in a browser > //localhost/MyProject/MyPage.aspx then the grid appears WITHOUT the > borders and WITH the gridlines. > If I open the same page by an address //MyCompName/MyProject/MyPage.aspx, > then the grid appears WITH the borders and with the gridlines. > If I set BorderWidth = 0px, then //localhost/... shows the grid WITHOUT > the borders and WITH the gridlines and //MyCompName/... shows the grid > WITHOUT the borders and WITHOUT the gridlines. > > When a page is placed on a server, it appears the same way as at > //MyCompName/... > > Why does the same page appear in different ways? How can I fix it? > > Thanks. > > Victor > > Here is the source code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Untitled Page</title> </head> <body> <form method="post" action="TableBorder.aspx" id="form1"> <table cellspacing="0" rules="all" bordercolor="black" border="1" id="GridView1" style="border-style:None; border-collapse:collapse;"> <tr><td>FirstName</td><td>LastName</td></tr> <tr><td>John</td><td>Smith</td></tr> <tr><td>Robert</td><td>Doe</td></tr> </table> </form> </body> </html> http://localhost/Incidents/TableBorder.aspx- the table appears without the borders and with the rules. I need to get this on the server. http://MyComp/Incidents/TableBorder.aspx - the table appears with the borders and with the rules. The same on the server. The same behaivior if I change the file name to *.htm. I have Windows XP, IIS 5.1. The server has Windows 2003. Thanks. Victor Show quoteHide quote "Cowboy (Gregory A. Beamer)" <gbwo***@comcast.net> wrote in message news:F3B72394-E12F-487F-87C3-8633C09D4DD7@microsoft.com... > Without seeing the code and understanding your computer's set up, I have > no clue. > > -- > Gregory A. Beamer > MCP: +I, SE, SD, DBA > > ********************************************* > | Think outside the box! | > ********************************************* > "Vik" <viktorum@==hotmail.com==> wrote in message > news:Ob1K4Va2JHA.2656@TK2MSFTNGP05.phx.gbl... >>I need a gridview without the borders but with the gridlines. >> I set BorderStyle = None and GridLines = Both. >> If I run a project from VS2005 or enter an address in a browser >> //localhost/MyProject/MyPage.aspx then the grid appears WITHOUT the >> borders and WITH the gridlines. >> If I open the same page by an address //MyCompName/MyProject/MyPage.aspx, >> then the grid appears WITH the borders and with the gridlines. >> If I set BorderWidth = 0px, then //localhost/... shows the grid WITHOUT >> the borders and WITH the gridlines and //MyCompName/... shows the grid >> WITHOUT the borders and WITHOUT the gridlines. >> >> When a page is placed on a server, it appears the same way as at >> //MyCompName/... >> >> Why does the same page appear in different ways? How can I fix it? >> >> Thanks. >> >> Victor >> >> >
Other interesting topics
ASP.NET Application Gets Frequent SQL Timeout Exceptions
Using integers within a For Each statement VB.NET JScript error with validators inside UpdatePanel Compilation error CS0103 newbie: sorting gridview! Reusing ItemTemplates problem with connecting gridview with data in code-behind unable debugging client scripts VS 2008 Vista Need help on how to dive right into asp.net 3.5 express edition and create app How do I contact MS about this issue? |
|||||||||||||||||||||||