Thursday, December 27, 2012

Making a Client Script

Making a client script follows the same guidelines as putting code in the code behind of a form.   I would suggest pretty strict coding requirements and some hefty comments.  Anyway, making them couldn't be easier:

  1. Go to your Client Scripts tab
  2. Choose the Category of your choice
  3. Right click and Choose "New Client Script" from the context menu
What you end up with is screen similar to the Code Behind window.  Add code there.  Keep in mind there is not visual side to this code so you will need to pull it in as a reference to another portion of your application to truly test it.

No comments:

Post a Comment