|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
September 18th, 2004, 09:22 AM
|
Authorized User
|
|
Join Date: Sep 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
web control not displaying in browser
Can anyone tell me why my web controls (such as a text box) won't display on my asp pages when I view them in my browser??
Thanks
|
September 18th, 2004, 09:26 AM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
Without seeing a small example it's hard to say. Are you accessing page via a web-server and if so does it support asp.net?
--
Joe (Co-author Beginning XML, 3rd edition)
|
September 18th, 2004, 09:29 AM
|
Authorized User
|
|
Join Date: Sep 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It's actually just on my local machine at the moment. I have a ASP.NET Web Application in Visual Studio.NET and the web controls show up fine in design view but when I go to view them in my browser, they just fail to appear. I don't get any error messages when building... they just don't show up. It also happens if I create a blank application and only put one text box on... it still won't show up.
|
September 18th, 2004, 10:40 AM
|
Authorized User
|
|
Join Date: Sep 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I should maybe add that visual studio is newly installed on the machine and so I don't think the web controls have every appeared. Is it perhaps some setting in the browser??
|
September 18th, 2004, 10:50 AM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
How are you viewing the pages, you can't just double-click them, you have to have IIS running and type in the url,e.g. http://localhost/myfolder/mypage.aspx
--
Joe (Co-author Beginning XML, 3rd edition)
|
September 18th, 2004, 12:04 PM
|
Authorized User
|
|
Join Date: Sep 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
IIS is running and I'm viewing the pages by right clicking in design view and choosing view in browser... which is just like typing in the url in the browser address bar.
|
September 18th, 2004, 12:11 PM
|
|
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
Well if you to post a sample that's not working then I'll try it here.
--
Joe (Co-author Beginning XML, 3rd edition)
|
September 18th, 2004, 08:47 PM
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Quote:
quote:I'm viewing the pages by right clicking in design view and choosing view in browser
|
I am not sure if that is right, but why not try running the application from there using Shortcut Key - F5. Is that you doing equivalent to executing the application from VS.Net?
_________________________
- Vijay G
Strive for Perfection
|
September 19th, 2004, 05:32 AM
|
Authorized User
|
|
Join Date: Sep 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I can certainly post a sample that's not working but even the wrox example from the book isn't working and a blank solutions with 1 WebForm1.aspx page with only one text box on it isn't working. I really think it is some setting that is causing the problem because when I view the page on my PC it works fine but when I view it on my laptop it doesn't work. I have also tried using F5.
|
|
|