Wrox Programmer Forums
|
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
 
Old September 18th, 2004, 09:22 AM
Authorized User
 
Join Date: Sep 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

 
Old September 18th, 2004, 09:26 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

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)
 
Old September 18th, 2004, 09:29 AM
Authorized User
 
Join Date: Sep 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

 
Old September 18th, 2004, 10:40 AM
Authorized User
 
Join Date: Sep 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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??


 
Old September 18th, 2004, 10:50 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

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)
 
Old September 18th, 2004, 12:04 PM
Authorized User
 
Join Date: Sep 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.

 
Old September 18th, 2004, 12:11 PM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Well if you to post a sample that's not working then I'll try it here.



--

Joe (Co-author Beginning XML, 3rd edition)
 
Old September 18th, 2004, 08:47 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

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
 
Old September 19th, 2004, 05:32 AM
Authorized User
 
Join Date: Sep 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Browser Control AccessAasif@aol.com C# 2005 1 January 9th, 2008 06:26 AM
Using web browser control in C#2.0 AccessAasif@aol.com C# 5 November 1st, 2007 12:01 PM
Problem with Web Browser control in vc++ sureshkumarct Visual C++ 0 May 29th, 2006 04:01 AM
Web Browser Activex Control gdelucchi Access 0 February 20th, 2006 02:18 PM
Displaying Excel in Browser sundar_revathi General .NET 0 July 7th, 2004 03:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.