471,079 Members | 976 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

view source problem with hidden control using IE

Don
I have a page that has several controls on it and the controls are
shown or hidden during postback. I show and hide them using the
visible property. When I use 'view source' in Internet Explorer I
always see the source of the first version of the page, with the
controls rendered that where rendered on the first visit. The changes
that occur during postback are not reflected in 'view source'.

Example Detail:
My page has 6 controls and works like a wizard. One control has
visible=true and all the others have visible=false. My next and back
buttons control which control I show.
When the page initially loads I show control-01. If I 'view
source' I see the page source with only control-01 rendered. Since
the other controls have visible=false they are not rendered and this is

what I should see.
When I move forward control-01 has visible=false ad control-02 has
visible=true. This causes the page to show control-02 as expected.
But when I 'view source' I see the source of step one, with
control-01 rendered.
It seems that the source is cached as long as I'm on the same page.
How can I see the source of the page that is actually rendered?

May 31 '06 #1
0 1219

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Pete Wason | last post: by
1 post views Thread by Nick Warrington | last post: by
3 posts views Thread by Philip Tripp | last post: by
10 posts views Thread by dwok | last post: by
reply views Thread by leo001 | last post: by

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.