Quantcast
Channel: Demtron.com Blog - ASP.Net
Browsing all 9 articles
Browse latest View live

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 Article



Browser 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 Article

Control 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 Article

Telerik 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 Article

Detect 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 Article


Thread 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 Article

Dynamic 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 Article

Storing 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 Article


Sending 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

Browsing all 9 articles
Browse latest View live




Latest Images