Geeks With Blogs
Amit's Blog Sharing Thoughts and Learning June 2007 Entries
Check User Name in Ajax way
While visiting the Asp.net Ajax forum I found quite a few post on the User Name Checking when creating an User. This is very common request and it is available in many Websites, So I decided to create a small sample. The following shows the full code listing:<%@ Page Language="C#"%> <%@ Import Namespace="System.Web.Servi... %> <%@ Import Namespace="System.Web.Secur... %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml... ......

Posted On Saturday, June 30, 2007 8:32 PM

My New Article - ASP.NET AJAX Control Development
A must read who wants to develop controls in Asp.net Ajax Framework. Covers in depth details of both client and server side programming. Check it out ......

Posted On Tuesday, June 26, 2007 8:20 PM

Generate HTML from an ITemplate
While working on Ajax Data Controls Project, I need the generated HTML from an ITemplate. Here is the code that generates the html, some of you may find it useful. 1: StringBuilder output = new StringBuilder(); 2: StringWriter sw = new StringWriter(output, CultureInfo.InvariantCulture); 3: HtmlTextWriter htw = new HtmlTextWriter(sw); 4: 5: Control control = new Control(); // Create a Fake control to act as a Container 6: 7: template.InstantiateIn(cont... // This is the ITemplate 8: control.RenderControl(htw);... ......

Posted On Saturday, June 23, 2007 4:23 PM

Performance Benchmark with an Handy Class
Instrumentation and Logging is an essential part of Software Development. Generally, most of the developer thinks instrumentation and logging is all about exception logging in a text file, which is not correct at all. Certainly, exception takes a major part in the instrumentation and logging. However, how many of us really bother the way the log data is written, do we really bother to import this data in a software to further analysis? In the following, I will present a handy class, which will automatically ......

Posted On Thursday, June 21, 2007 11:47 PM

Utilize ThreadPool in WebService
Asp.net 2.0 has a built-in feature for creating multi-threaded page AKA AsyncPage, but for Web Service threading, there are no out of the box support. The following code snippet will show you how to create a multi-threaded web service. For the sake of the example, let us assume that we are creating Video Search Service, which will search different sites such as YouTube, MetaCafe, and DailyMotion for a given keyword and returns a composite result. Since this search can be done independently, we can ......

Posted On Tuesday, June 19, 2007 2:33 AM

My New Project AjaxDataControls
I have just started a new Project in CodePlex AjaxDataControls. I am planning to include GridView, DataList, Repeater, DetailsView, FormView and ObjectDataSource in the initial release. Since the Asp.net version of these controls does not have any object model in the client side as those were released long before Ajax framework, currently the only choice available working with this controls is to surround these controls in an UpdatePanel. UpdatePanel is a great option for developing Small/Mid size ......

Posted On Friday, June 15, 2007 4:20 PM

Redirects to a different page when Asp.net session expires
While visiting Asp.net forum I found a lot of request on how to show a different page when the asp.net session expires. The following line will exactly do the same:HttpContext.Current.Re... Convert.ToString(((HttpCont... * 60) - 5)) + "; Url=YOUR PAGE WHICH YOU WANT TO SHOW");It simply injects a meta data which refresh the pages in the client side. If you are using any master page you can add this line in the PreRender event ......

Posted On Saturday, June 9, 2007 12:58 AM

Column Drag and Drop Support Added in Ajax Grid
My Recent article Asp.net Ajax Grid and Pager is a huge hit. Currently it is in Asp.net front page. I have recently added Column Drag-Drop Support. If you find the Control exciting, please vote me to win the monthly article contest at DotNetSlackers.com ......

Posted On Thursday, June 7, 2007 1:49 PM

Asp.net Ajax Control Development
In my previously article I have presented the Asp.net Ajax Grid, I am currently writing a comprehensive guide of Developing Asp.net Ajax controls. This will certainly help you to write your own custom control. If you have not checked my previous article I strongly recommend you to read it first.

Posted On Saturday, June 2, 2007 7:18 PM

Copyright © Kazi Manzur Rashid | Powered by: GeeksWithBlogs.net | Join free