Link Button in User Control causes JavaScript error

Discussion in 'ASP .Net Web Controls' started by Fresh Air Rider, Mar 3, 2004.

  1. Could anyone please explain why it causes a JavaScript error when I
    simply add an <asp:LinkButton> to a User Control and then reference
    and tag that user control within a webform ?

    I am using Visual Studio .Net 2003 an C#

    I have found postings from other programmers experiencing the same
    problem but no-one has put forward a solution.

    If it's a bug then Microsoft ought to make a patch available but I
    can't find any reference to it on their website.

    If anyone could offer any advice, I would be most grateful
     
    Fresh Air Rider, Mar 3, 2004
    #1
    1. Advertising

  2. Are you using SmartNavigation?

    Also, the linkbutton control may use Javascript libraries to do its
    postback. Are the scripts available on the Web site? They should be in:

    C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322


    "Fresh Air Rider" <> wrote in message
    news:...
    > Could anyone please explain why it causes a JavaScript error when I
    > simply add an <asp:LinkButton> to a User Control and then reference
    > and tag that user control within a webform ?
    >
    > I am using Visual Studio .Net 2003 an C#
    >
    > I have found postings from other programmers experiencing the same
    > problem but no-one has put forward a solution.
    >
    > If it's a bug then Microsoft ought to make a patch available but I
    > can't find any reference to it on their website.
    >
    > If anyone could offer any advice, I would be most grateful
     
    Ken Cox [Microsoft MVP], Mar 4, 2004
    #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. Xavier Osa
    Replies:
    0
    Views:
    645
    Xavier Osa
    Jan 9, 2004
  2. Normie Smith
    Replies:
    0
    Views:
    371
    Normie Smith
    Apr 5, 2004
  3. Kevin Spencer

    Re: Link Link Link DANGER WILL ROBINSON!!!

    Kevin Spencer, May 17, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    882
    Kevin Spencer
    May 17, 2005
  4. Bishop
    Replies:
    1
    Views:
    800
    Bishop
    Feb 24, 2007
  5. Normie Smith

    HELP - Link Button on User Control 'Losing its Mind'

    Normie Smith, Apr 5, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    119
    Normie Smith
    Apr 5, 2004
Loading...

Share This Page