Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Panel Web Control


Message #1 by "Jacques Leclerc" <jleclerc2@h...> on Wed, 22 Nov 2000 20:40:25 -0500
I'm using a Panel Web Control as a container for text. The page is a form

that post back to itself. In Page_Load I check if this is a postBack. In a

Postback the visibility of the panel is set to false, otherwise it is set to

true.



When using IE as the browser it works as expected. On the initial load the

text is displayed. On a reload the text is hidden.



When using Netscape the text appears in both the initial load and a reload.



Since the determination to display the page is performed on the server I

would of expected it to work identically on IE and netscape. Viewing the

source on IE should that the code for the text was not rendered on a

postback. Can't view the source on netscape on a postback.



Has anybody any ideas on the matter?



Is this a bug?



jacques

jacques_leclerc@h...





Message #2 by =?iso-8859-1?Q?Fredrik_Norm=E9n?= <fredrik.normen@e...> on Thu, 23 Nov 2000 14:16:22 +0100
I don't think it's a bug, it's Netscape that can't handle it.



If you want to look at the source code in Netscape don't make the post and

set the panel control visibility to false.



/Fredrik Normén





-----Original Message-----

From: Jacques Leclerc [mailto:jleclerc2@h...]

Sent: den 23 november 2000 02:40

To: ASP+

Subject: [aspx] Panel Web Control





I'm using a Panel Web Control as a container for text. The page is a form

that post back to itself. In Page_Load I check if this is a postBack. In a

Postback the visibility of the panel is set to false, otherwise it is set to

true.



When using IE as the browser it works as expected. On the initial load the

text is displayed. On a reload the text is hidden.



When using Netscape the text appears in both the initial load and a reload.



Since the determination to display the page is performed on the server I

would of expected it to work identically on IE and netscape. Viewing the

source on IE should that the code for the text was not rendered on a

postback. Can't view the source on netscape on a postback.



Has anybody any ideas on the matter?



Is this a bug?



jacques

jacques_leclerc@h...






  Return to Index