Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Page_Validators is Undefined

Reply
Thread Tools

Page_Validators is Undefined

 
 
Charleees
Guest
Posts: n/a
 
      10-16-2006
Hi all..

I have a Page ...

there are butttons namely button1.. button2.... as it...

each redirect to different page...

when i click button1 , and while the redirected page starts
loading......i click buutton2..

then i get the following error..

"Page_Validators is Undefined"

i have not used validators in both these pages...

namely button1-rdirectPage
and namely button2-rdirectPage

but i have used validators in my Project..

can any one help me...

Thanks in Advance

With Regards
Sanjay

 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      10-16-2006
Not sure why the particular page is causing an issue (support.microsoft.com
might have an answer), but you can sure avoid the issue altogether. Disable
the other buttons, client side, when one button is clicked. This will avoid
the problem.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
"Charleees" <> wrote in message
news: ups.com...
> Hi all..
>
> I have a Page ...
>
> there are butttons namely button1.. button2.... as it...
>
> each redirect to different page...
>
> when i click button1 , and while the redirected page starts
> loading......i click buutton2..
>
> then i get the following error..
>
> "Page_Validators is Undefined"
>
> i have not used validators in both these pages...
>
> namely button1-rdirectPage
> and namely button2-rdirectPage
>
> but i have used validators in my Project..
>
> can any one help me...
>
> Thanks in Advance
>
> With Regards
> Sanjay
>



 
Reply With Quote
 
 
 
 
bruce barker \(sqlwork.com\)
Guest
Posts: n/a
 
      10-16-2006
this is a design flaw with .net.

most of the validation code is rendered at the end of the page and with a
include file, so if you click a button before page is fully loaded, you get
scripting errors. if you want to fix this, the best workaround is render all
buttons disabled, then have client script enable the buttons (or any
autopostback controls) on the page load event. advanced hint: to handle
javascript disabled browsers, render javascript to disable the control right
after rendering the control.

-- bruce (sqlwork.com)

"Charleees" <> wrote in message
news: ups.com...
> Hi all..
>
> I have a Page ...
>
> there are butttons namely button1.. button2.... as it...
>
> each redirect to different page...
>
> when i click button1 , and while the redirected page starts
> loading......i click buutton2..
>
> then i get the following error..
>
> "Page_Validators is Undefined"
>
> i have not used validators in both these pages...
>
> namely button1-rdirectPage
> and namely button2-rdirectPage
>
> but i have used validators in my Project..
>
> can any one help me...
>
> Thanks in Advance
>
> With Regards
> Sanjay
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Page_Validators is undefined Vishwanathan Raman ASP .Net Web Controls 1 09-22-2005 12:22 AM
Page_Validators error Dan Hurwitz ASP .Net 1 10-19-2004 08:28 PM
Page_Validators is undefined Jscript runtime error mag48 ASP .Net 0 02-09-2004 03:09 PM
Page_Validators is undefined Ravikanth[MVP] ASP .Net 2 08-27-2003 11:10 AM
JavaScript Error: 'Page_Validators' is undefined DesignerX ASP .Net 2 07-25-2003 02:45 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57