ASP.NET 2.0: Detecting if client-side validation javascript regist

Discussion in 'ASP .Net Building Controls' started by Ben Fidge, Mar 16, 2006.

  1. Ben Fidge

    Ben Fidge Guest

    What is the correct way to determine if javascript for client-side validation
    has been registered in ASP.NET 2.0?

    I'm trying to debug a control that uses the following to detect:

    bool bIsRegistered = Page.IsStartupScriptRegistered("ValidatorIncludeScript");

    This works fine for ASP.NET 1.x, but not for 2.0. Can anyone tell me the
    correct way please?

    Thanks

    Ben
    Ben Fidge, Mar 16, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    14
    Views:
    4,093
    Chad Z. Hower aka Kudzu
    Jan 30, 2004
  2. =?Utf-8?B?dmlkeWE=?=
    Replies:
    1
    Views:
    748
    Kevin Spencer
    Jun 2, 2005
  3. =?Utf-8?B?QmVuIEZpZGdl?=

    Detecting if client-side validation javascript is registered?

    =?Utf-8?B?QmVuIEZpZGdl?=, Mar 16, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    384
    =?Utf-8?B?QmVuIEZpZGdl?=
    Mar 16, 2006
  4. Boss302
    Replies:
    0
    Views:
    1,035
    Boss302
    Nov 21, 2006
  5. Bogdan
    Replies:
    2
    Views:
    644
    Bogdan
    Jun 9, 2008
Loading...

Share This Page