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

  • SEARCH
  • Home
  • 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 526455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:46:44+00:00 2026-05-13T08:46:44+00:00

I have been using Anthem.NET in ASP.NET 2.0 projects for a few side projects

  • 0

I have been using Anthem.NET in ASP.NET 2.0 projects for a few side projects and have a question regarding a slick piece of functionality that appears unique to this framework. I have worked with Telerik and Microsoft ASP.NET AJAX Frameworks and the ability to execute a JavaScript function from within an “ajaxified” control in a code behind page (server side) seams to be missing.

The anthem example can be found here:
http://anthem.talloaksoftware.com/InvokeClientSideFunctionAfterCallBack.aspx?1

Essentially, you wrap a textbox and a button with an Ajax Update Panel (in the Anthem Framework), and then in the codebehind (or inline code) page, you can execute a javascript function after your callback has completed. But, your server side code actually specifies the javascript code that will run.

Example:
The following code is executed when a button is clicked, which after performing the ajax request to the server, executes a JavaScript function that was specified server side.

Anthem.Manager.AddScriptForClientSideEval("ClientSideFunction();");

So, as long as the JavaScript function “ClientSideFunction()” exists, it will execute after the callback completes. I can immediately see how the inclusion of jQuery and utilizing this feature would make a very interesting combination. Code could still be written in the traditional postback model, but the JavaScript code could be called after the server side code is executed. This would allow server side code to “animate” the HTML objects using jQuerys built in functions.

My question is, how to duplicate this behavior using ASP.NET AJAX 3.5 built into .NET Framework 3.5? Can it be duplicated as easily as the Anthem.NET framework provides?

Anthem is not an active project anymore (on sourcefourge), so I feel it is wise to build new projects using the supported and popular ASP.NET AJAX Framework (especially with 4.0 coming), so I am looking for an equivalent solution.

  • 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-05-13T08:46:44+00:00Added an answer on May 13, 2026 at 8:46 am

    Really simple, you’d to have a ScriptManager on the page then server-side, when the updatepanel is updating (before the method .Update() ) just use:

    ScriptManager.RegisterStartupScript(this.Page, this.Page.GetType(), "uniqueJSBlockName", "ClientSideFunction();", true);
    

    will execute the function called ClientSideFunction(), you can hold the necessary js functions already registered on the page.

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

Sidebar

Related Questions

I have been using json.NET successfully in projects for some time now without any
I have been using ASP.NET for years, but I can never remember when using
I have been using Automapper in our projects and just recently ran into an
I have been using sqlalchemy for a few years now in replacement for Django
I have been using Rstudio a great deal these days but recently noticed that
I have been using this piece of script to load external .js files to
I have been using TortoiseSVN for some time and I really like it. I
I have been using Stanford POS Tagger to tag parts of speech in a
I have been using play 1.2.5rc4 for development of one app and I have
I have been using an API to do some work. This is how I

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.