Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8650453
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:49:35+00:00 2026-06-12T13:49:35+00:00

I have a webform which contains some LinkButtons. When each LinkButton is clicked I

  • 0

I have a webform which contains some LinkButtons.
When each LinkButton is clicked I want to load a different UserControl.
I also want to do it with Ajax.

I tried it in two ways as described here and here
[Both approaches use an UpdatePanel, the first adds the user control and changes its Visible attribute, the second uses LoadControl function]

Both works (upvoted them!) but I still have a problem-
I can’t run javascripts within the user controls…
It doesn’t recognize any function

When the user controls were added not dynamically it all went well

The only workaround I found was to move the javascript from the user control to the page but that’s not nice…

Also tried this with no luck

Any help will be appriciated

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T13:49:37+00:00Added an answer on June 12, 2026 at 1:49 pm

    For asynchronous requests use ScriptManager.RegisterStartupScript method

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET web site which contains some ImageButton controls that cause postbacks
I am using VS2005 C# ASP.NET. I have a webform which contains a list
I have a web form that contains several inputs, some of which are positioned
I have a WebForm with 4 combo boxes, which allow user to define different
I have a form made using Webform[Drupal] which I load on the lightbox. The
I have an ASP.NET Webform which currently calls a Java WebService. The ASP.NET Webform
I have an ASP.NET webform on which I use a DropDownList control to allow
I have a webform, and a custom validation function. Which both work fine. But
I have several DropDown controls on a Web Form which are filled using AJAX
I have a Webforms, AJAX-enabled web page which, when rendering large amounts of data,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.