WebForm_PostBackOptions is undefined

Discussion in 'ASP .Net' started by =?Utf-8?B?YW5kZXJzQGFsZWJvcmcuc2U=?=, Mar 9, 2006.

  1. Hi!

    I have a simple page, created in VS2005 and C#. It has a textbox,
    requiredfieldvalidator and a linkbutton, when I click the linkbutton I get
    the javascript error
    'WebForm_PostBackOptions' is undefined, but if I add or replace the
    linkbutton with a regular button it works fine.
    The debugger stops at this row::
    WebForm_DoPostBackWithOptions(new
    WebForm_PostBackOptions("ctl00$ContentPlaceHolder1$LinkButton1", "", true,
    "steg2", "", false, true))

    How can I solve this?
     
    =?Utf-8?B?YW5kZXJzQGFsZWJvcmcuc2U=?=, Mar 9, 2006
    #1
    1. Advertising

  2. Should add that if I add a button instead of replaceing the linkbutton, both
    will work fine!

    Regards
    Anders Aleborg

    "" wrote:

    > Hi!
    >
    > I have a simple page, created in VS2005 and C#. It has a textbox,
    > requiredfieldvalidator and a linkbutton, when I click the linkbutton I get
    > the javascript error
    > 'WebForm_PostBackOptions' is undefined, but if I add or replace the
    > linkbutton with a regular button it works fine.
    > The debugger stops at this row::
    > WebForm_DoPostBackWithOptions(new
    > WebForm_PostBackOptions("ctl00$ContentPlaceHolder1$LinkButton1", "", true,
    > "steg2", "", false, true))
    >
    > How can I solve this?
     
    =?Utf-8?B?YW5kZXJzQGFsZWJvcmcuc2U=?=, Mar 9, 2006
    #2
    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. =?Utf-8?B?UmljaA==?=
    Replies:
    0
    Views:
    1,449
    =?Utf-8?B?UmljaA==?=
    Jan 10, 2006
  2. Replies:
    2
    Views:
    4,253
    panania
    Oct 18, 2006
  3. Ben Fidge

    'WebForm_PostBackOptions' is undefined

    Ben Fidge, Feb 26, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    780
    Ben Fidge
    Feb 26, 2006
  4. Dave
    Replies:
    0
    Views:
    1,167
  5. Mark Close
    Replies:
    0
    Views:
    1,378
    Mark Close
    May 28, 2008
Loading...

Share This Page