Question: In your presentation, you recommended not having web methods inside of ASPX pages in favor of having a centralized asmx web service. Doesn’t that mean every page would have a larger ovehead by having the client code to generate proxies for all methods?
Before I begin answering the question, let me set some context around [...]
AJAX Q & A Question 5: How do you add a script reference in an extender control as an embedded resource?
Download the ASP.NET AJAX Extender Sample Code here.
This question is referring to a Webcast on creating behaviors and extenders i did in may. In that webcast, I created an client behavior by creating an AJAX class that implemented Sys.UI.Behavior. This simple behavior did an image swap when the mouseover event was fired. I will leave [...]
ASP.NET AJAX has extended Function with a "private" static method called _validateParams for this purpose. The _validateParams method is used throughout the ASP.NET AJAX client library to validate arguments/parameters. You are free to use this in your code to validate parameters. The following is a copy of the documentation for the private method.:
// <summary> [...]
ASP.NET AJAX Client Library Question And Answer Series – Question 3 (How do you create static members and methods on an object in asp.net ajax?)
Question: How do you create static members and methods on an object in asp.net ajax?
Members can be defined as attributes (fields) and methods in the context of oo programming. So, in order to effectively answer the question, I need to illustrate how to create a public static field and method. Take a look at the [...]
Question: How does Register Class and initializeBase copy child methods into place?
This question is probably referring to a warning I give in most discussions regarding calling initializeBase in the constructor function in an implementing class. In the following screenshot, CallIt.Components.Employee inherits from CallIt.Components.Person. The important thing to note from this example is the call to [...]
I recently received an email from a person who had viewed my ASP.NET AJAX Client Library series. The email contained 22 questions centered around our AJAX Client Libraries. As these were excellent questions, most requiring more than one line responses, I decided to do a blog entry for 1 or 2 questions daily until I [...][ Read More → ]