Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 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 August 25th, 2006, 12:10 AM
Authorized User
 
Join Date: Aug 2006
Location: , , .
Posts: 39
Thanks: 1
Thanked 0 Times in 0 Posts
Default View source of .aspx page not being displayed

Hi,
I have developed a .aspx page with .net framework 2.0. This page contains simple gridviews and bound with the sqlDataSource objects. I don't know what happened to it when I see it's source from view menu, the source in HTML format for gridviews does not appear.

Please tell me what to do.

 
Old August 26th, 2006, 10:02 AM
Authorized User
Points: 333, Level: 6
Points: 333, Level: 6 Points: 333, Level: 6 Points: 333, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2005
Location: Fresno, California, USA.
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Not really getting your question. Are your grids not showing up or you tryin to find out what a Gridview is converted to html?
If you are not getting the gridview results, trying testing your datasource to see if anything is being pulled from it. Gridviews will not render on the page if there is nothing populating them.

 
Old November 3rd, 2006, 07:50 AM
Authorized User
 
Join Date: Aug 2006
Location: , , .
Posts: 39
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hello Quick209, thanks for your concern. My gridviews are being populated with datasource. Even I am able to Edit rows, Sort columns and fire RowCommands also. But still I cann't see the viewsource of the .aspx page.

 
Old November 3rd, 2006, 04:35 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You don't happen to have a short cut to Notepad on your desktop, do you?

I have seen posts where people described they lost the ability to view source in any page in IE due to notepad on the desktop.

You may also try to clear your browser's cache...

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old November 7th, 2006, 03:45 AM
Authorized User
 
Join Date: Aug 2006
Location: , , .
Posts: 39
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hello,
There is no shortcut to Notepad on my desktop and even I have removed all .txt files from it. Cleared browser's cache. Still I can't see the whole source of the page in IE. Though I can see it in FireFox properly. In IE it shows only the code of upper section of the page(Just for 3 textboxes and hidden controls).

 
Old November 7th, 2006, 06:55 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

In that case, I don't know what the problem is. You should be able to see the source in IE if the page comes up as expected.

Imar




Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable View>Source (disable html source) kazmughal44 HTML Code Clinic 11 December 11th, 2007 11:53 AM
results in view source but not on html page monstermash Classic ASP Basics 25 July 9th, 2007 02:22 AM
cannot view the design of the .aspx page sansircar ASP.NET 1.0 and 1.1 Professional 1 October 24th, 2006 01:31 PM
The page cannot be displayed malachany Dreamweaver (all versions) 10 December 12th, 2004 02:36 PM





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