Brian Ritchie's Blog

My ramblings on .NET & other development topics

News



Twitter

Blog Roll

Connect with me

Distro - solving the RegisterClientScriptBlock problem

Someone at the office passed me this great find. Distro is, essentially, a replacement for RegisterClientScriptBlock() and similar functions in ASP.Net.  Some of the problems it tries to solve are:

  • API requires mixing of .NET and JavaScript code in the code-behind.
  • JavaScript code is compiled into the code-behind, which means constant recompilation during development, debug, and QA.
  • JavaScript in code-behind breaks separation of style and logic - the JavaScript should be in the ASPX or ASCX with the rest of the HTML.
  • No way to control the order in which the scripts execute in.
  • No good way to link a javascript function to the client-side events of an ASP.Net Server Control.

Learn more here...
http://www.youngpup.net/2004/distro

Posted: Jul 26 2004, 10:45 AM by brian_ritchie | with no comments
Filed under:

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)