.NET - Written by typemismatch on Wednesday, October 31, 2007 1:18 - 0 Comments
ASP.NET Ajax PageMethods
If you haven’t yet used Page Methods then you’re really missing out. These allow you to create in-page web service methods that can then be called from the client.
This is a quick tip about where these methods can be embedded. It took me awhile to figure out why my newly added methods would not appear in the client javascript. I was using ASCX (user controls) and had the code in the user control code behind file. This will not work and the required javascript won’t ever get generated.
Page Methods must always be defined in the aspx.cs file!
-c
Most Popular Content
- Setting up a Windows image in Amazon’s EC2
- Amazon goes live with Windows in the Cloud
- Silverlight Tip - Initialize!
- Silverlight Tip - Grid layouts
- Selecting a single LINQ2SQL Entity
- What kind of error handling is this?
- Silverlight and Google searches
- Goodbye iPhone 3G
- Gadget Features!
- iPhone Battery Tip
- Oh come on Microsoft ….
Software - Oct 20, 2008 21:04 - 0 Comments
Silverlight Tip - Initialize!
More In Software
- Silverlight Tip - Grid layouts
- Selecting a single LINQ2SQL Entity
- Silverlight and Google searches
- Gadget Features!
- Oh come on Microsoft ….





Leave a Reply