473,405 Members | 2,300 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

viewsource not showing html sometimes

hey all,

i have a user control on my web page. the user control dynamically builds
some controls.

when i browse to this page and right-click and do a view source, the html
for the controls don't always show up and i can see the controls on the page
all the time.
can someone please this inconsistency?

any ideas?
thanks,
rodchar
Nov 30 '07 #1
6 1219
If the controls have been rendered onto the page, then the markup has to be
there. No markup, no control.

--Peter
"Inside every large program, there is a small program trying to get out."
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com

"rodchar" wrote:
hey all,

i have a user control on my web page. the user control dynamically builds
some controls.

when i browse to this page and right-click and do a view source, the html
for the controls don't always show up and i can see the controls on the page
all the time.
can someone please this inconsistency?

any ideas?
thanks,
rodchar
Nov 30 '07 #2
Unless, of course, the controls are rendered via javascript (e.g. using
Ajax). In that case, many (most?) browsers won't show the "correct" HTML.
"Peter Bromberg [C# MVP]" <pb*******@yahoo.NoSpamMaam.comwrote in message
news:BA**********************************@microsof t.com...
If the controls have been rendered onto the page, then the markup has to
be
there. No markup, no control.

--Peter
"Inside every large program, there is a small program trying to get out."
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com

"rodchar" wrote:
>hey all,

i have a user control on my web page. the user control dynamically builds
some controls.

when i browse to this page and right-click and do a view source, the html
for the controls don't always show up and i can see the controls on the
page
all the time.
can someone please this inconsistency?

any ideas?
thanks,
rodchar
Nov 30 '07 #3
and also check if you have SmartNavigation turned on

Regards,

Trevor Benedict
MCSD

"rodchar" <ro*****@discussions.microsoft.comwrote in message news:47**********************************@microsof t.com...
hey all,

i have a user control on my web page. the user control dynamically builds
some controls.

when i browse to this page and right-click and do a view source, the html
for the controls don't always show up and i can see the controls on the page
all the time.
can someone please this inconsistency?

any ideas?
thanks,
rodchar
Nov 30 '07 #4

"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:47**********************************@microsof t.com...
hey all,

i have a user control on my web page. the user control dynamically builds
some controls.

when i browse to this page and right-click and do a view source, the html
for the controls don't always show up and i can see the controls on the
page
all the time.
can someone please this inconsistency?

any ideas?
thanks,
rodchar
If you are looking at IE I would suggest getting the IE Developer Toolbar.
It is great for viewing / locating controls.

You can also change attributes of the source and see immediately the result
of the change.

LS

Dec 1 '07 #5
thanks everyone for the feedback.
rod.

"rodchar" wrote:
hey all,

i have a user control on my web page. the user control dynamically builds
some controls.

when i browse to this page and right-click and do a view source, the html
for the controls don't always show up and i can see the controls on the page
all the time.
can someone please this inconsistency?

any ideas?
thanks,
rodchar
Dec 4 '07 #6
Were you able to figure it out? What was the problem.

Regards,

Trevor Benedict
MCSD

"rodchar" <ro*****@discussions.microsoft.comwrote in message
news:ED**********************************@microsof t.com...
thanks everyone for the feedback.
rod.

"rodchar" wrote:
>hey all,

i have a user control on my web page. the user control dynamically builds
some controls.

when i browse to this page and right-click and do a view source, the html
for the controls don't always show up and i can see the controls on the
page
all the time.
can someone please this inconsistency?

any ideas?
thanks,
rodchar

Dec 5 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Vishnu | last post by:
I have a strange problem on WindowsXP proffessional with IE6 ,when i try to display a tiff file ,it is not showing ,small red x is comming up. I tried by dowloading latest IE from microsoft but...
2
by: Alex Rybalov | last post by:
Hi, Using IIS 5.0 and sometime some asp pages (absolutely randomly) showing as blank white pages. So far only one way of fixing it - restart whole server. Restarting IIS, or specific web server...
2
by: Brian O'Haire | last post by:
Any help would be appreciated: I have a routine on an asp.net web page, This code below point to a text box called lbtable. public void GetTables( ) { //string TblDName = new string;...
2
by: Krzysztof Karnicki | last post by:
I would like develop Form on my Windows Application, that is going to notify the user, just like Microsoft Office 2003 shows that there are new mail coming. When I use System.Windows.Forms.Form and...
1
by: Mad Scientist Jr | last post by:
I have a textbox control (for simplicity call it Text1) with autopostback turned on. It has a couple validators: RequiredFieldValidator_Text1 RegularExpressionValidator_Text1 The Text1...
10
by: bessington | last post by:
hey all, i'm having a rather bizarre problem.. the image tag i have declared in my xhtml is not showing in safari / konqueror but showing just fine in Firefox, IE, Opera... this is a complete...
0
by: =?Utf-8?B?a20=?= | last post by:
I've got a simple C# app built in VS2005. When I click a menu item a modal form opens and performs a lengthy operation in the Load event handler to populate a text control, so it takes a few...
11
by: sheldonlg | last post by:
I have a problem with not seeing the current focus while in a particular screen in a my app. The focus does not show for a type=text or textarea. I have tried to reproduce this problem in a test...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.