Sys.Application.add_load Problem with AJAX Postbacks
One of my current projects requires a Web form with AJAX interaction between a TextBox and a ListBox. As a user types into the TextBox, the keyup of event triggers and async postback to filter the...
View ArticleBrowser Detection for ASP.Net Ajax
Here's a class that I found in client-side Microsoft AJAX library for browser detection. It's Sys.Browser.Agent. For a while, it wasn't documenated anywhere in the Microsoft on-line documentation,...
View ArticleControl Focus, AJAX UpdatePanel Postback and Cursor Position
When using ASP.Net AJAX to perform a postback from within a textbox input control, I found that the textbox loses focus after the postback. To overcome this, I added the following code:...
View ArticleTelerik Control Problems with Intellisense
When reinstalling Visual Studio and accessing Web projects that use Telerik RadControls for ASP.Net Ajax, I've found that Intellisense is generally broken for that project and only for Telerik...
View ArticleDetect AJAX postback in Global.asax
I was recently working on a page hit logging scenario that, for reasons having to do with URL rewriting, needed to have the logging code executed in the Application.BeginRequest event of Global.ajax....
View ArticleThread aborted using Response.Redirect in ASP.Net
I added a Response.Redirect to a .Net Web page and began receiving a "Thread was being aborted" error on a line of code that executed Response.Redirect. Without really considering it, this error made...
View ArticleDynamic Column Creation Problem with Telerik RadGrid
As part of a large eCommerce project, I needed to be able to extend a grid control into a custom control and dynamically add columns. I needed to change the order of events that determined when and...
View ArticleStoring XML in Cookies and "dangerous Request.Cookies value" in ASP.Net
By design, when attempting to store XML data in a cookie, the .Net Framework will raise the a HttpRequestValidationException because request validation is enabled according to Microsoft. This is a...
View ArticleSending SMTP Mail With Authentication with ASP.Net
Many web hosting now require sender authentication when sending e-mail through a relay server. These mail servers have their security locked down. Sometimes, localhost is an available SMTP server...
View Article
More Pages to Explore .....