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
Peter Bromberg [C# MVP] - 30 Nov 2007 22:46 GMT
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
> hey all,
>
[quoted text clipped - 9 lines]
> thanks,
> rodchar
Scott Roberts - 30 Nov 2007 23:16 GMT
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.
> If the controls have been rendered onto the page, then the markup has to
> be
[quoted text clipped - 20 lines]
>> thanks,
>> rodchar
Trevor Benedict - 30 Nov 2007 23:37 GMT
and also check if you have SmartNavigation turned on
Regards,
Trevor Benedict
MCSD
> hey all,
>
[quoted text clipped - 9 lines]
> thanks,
> rodchar
Lloyd Sheen - 01 Dec 2007 17:26 GMT
> hey all,
>
[quoted text clipped - 10 lines]
> 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
rodchar - 04 Dec 2007 14:10 GMT
thanks everyone for the feedback.
rod.
> hey all,
>
[quoted text clipped - 9 lines]
> thanks,
> rodchar
Trevor Benedict - 05 Dec 2007 20:47 GMT
Were you able to figure it out? What was the problem.
Regards,
Trevor Benedict
MCSD
> thanks everyone for the feedback.
> rod.
[quoted text clipped - 13 lines]
>> thanks,
>> rodchar