RE: custom validation not executing

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: ranganh (ranganh_at_discussions.microsoft.com)
Date: 06/29/04


Date: Tue, 29 Jun 2004 06:40:02 -0700

Dear Andrew,

Do not use Server.Transfer. In case of Server.Transfer, the client (i.e. the browser) is not aware of the redirection and therefore, it will not be able to
perform validations and events which require the client interaction.

Therefore, use Response.Redirect.

Hope it helps.

"Andrew" wrote:

> I've tested the logic in the design on other pages and it works fine.
> THere is one major difference between where I want it to work and
> where it has worked. THe page I'm working on was launched from a page
> using Server.Transfer. I'm very new to this stuff so this very well
> could be a simple one.
>
> Ideas?
>
> The same thing is happening with a button click on the same page and
> I'm guess the two failures are related.
>


Quantcast