Welcome to Bilal Haidar [MVP, MCT] Official Blog Sign in | Join | Help

May 2007 - Posts

Define Custom EventArgs in AJAX 1.0 Extensions

While preparing a sample application to my new article on aspalliance.com that will be published soon on Creating Client Controls in ASP.NET 2.0 AJAX 1.0 Extensions, I had to bind an event handler to a button created in the render method of the control.
Posted by BilalHaidar [MVP] | 2 Comments
Filed under:

SQL Server Express and Read-Only Databases

Several times, when I attach an existing database to SQL Server Express 2005, I get my database attached as read-only. So no way to add any object to it or update it! The solution is to run this line: Alter database <dbname> set read_write As example
Posted by BilalHaidar [MVP] | 0 Comments
Filed under:

My country is bleeding again ....

Another barbaric attack hit my country, my city, my people, my children, my future, my body, my life!!! Yesterday a car bomb in Achrafieh, tonight a car bomb in Verdun! Tomorrow? After tomorrow? After after tomorrow? What a life full of action and bomb

A New Certificate Added ...

I have passed this morning the Designing and Developing Web Applications by Using the Microsoft .NET Framework exam with a score of 950/1000. Having received my MCTS certification few months ago, I am now a Microsoft Certified Professional Developer (MCPD)
Posted by BilalHaidar [MVP] | 5 Comments
Filed under:

AJAX Asynchronous Postback

Another quick note on the event's order when for instance a button inside an UpdatePanel fires an event: 1- The Button inside the UpdatePanel is clicked, this means a new asynchronous postback request is initiated 2- PageRequestManager fires the initializeRequest
Posted by BilalHaidar [MVP] | 0 Comments
Filed under:

AJAX Initial Request

Just a quick note to illustrate the event order of a page that has a ScriptManager control and loads for the first time: 1- Request sent to the server 2- Response received from the server 3- Application instance raises the Init event 4- Application instance
Posted by BilalHaidar [MVP] | 0 Comments
Filed under:

Microsoft ASP.NET 2.0 Membership API Extended - The Original

I am receiving so many emails from developers all over the world asking me for the download for my article titled: Microsoft ASP.NET 2.0 Membership API Extended that was originally published on www.code-magazine.com in the March/April 2007 issue. I would

ASP.NET AJAX from Scratch

For all new ASP.NET AJAX developers, I advise you to attend the coming web cast on Monday, May 14, 2007. Check it more details here: Russ and Joe Developer Show: ASP.NET AJAX from Scratch Hope this helps, Regards

AJAX - Calling Webservices and Callback Functions

I was playing around with creating an AJAX client class, in which I had a function to call a Webservice. I specified the callback function to run when the response is back from the Webservice. The code is as follows: // Define a namespace Type.registerNamespace("Testing");
Posted by BilalHaidar [MVP] | 0 Comments
Filed under:

Multiple Selection in ListBox

Every time you want to have a multiple selection in a List Box, you have to write the same repetitive code again and again. Here is a nice utility method that you can embed into your web applications and use it by a simple method call to select multiple

ValidationSummary Control and RadWindow by Telerik

I have recently been heavily using Telerik great controls, that I admire and respect, in my projects at work. I have decided to customize every single control in our applications that Telerik provides a substitution for. The RadWindow is a very cool control
Posted by BilalHaidar [MVP] | 3 Comments
Filed under:

Microsoft ASP.NET 2.0 Ajax - Client Library Webcasts

Rob Bagby, a Microsoft Developer Evangelist, is running in the coming weeks a series of Webcasts on the Client Side of ASP.NET AJAX, here is the list: ASP.NET AJAX Client Libraries: Calling Web Services (5/3/07 @1:00 p.m. Arizona time) ASP.NET AJAX Client

Visual Studio 2005 - Vista - Tabbed Documents

I have recently installed VS 2005 on a Vista machine. When I open my VS, I don't see the TABs of all the opened documents. What I see is always a flat view of all the docments. What went wrong? Well seems when I installed the VS 2005 on Vista, the Tabbed

MSDN WebCast : ASP.NET AJAX Client Libraries: Calling Web Services

I have attended the first live MSDN Webcast in my life yesterday by a great presenter Rob Bagby. Few days ago I watched his first webcast which was ASP.NET AJAX Client Libraries: Overview , he promised to have a series of like 8+ web casts on the same

More on AJAX Client Side Life Cycle

I must have forgot to mention there is still the Load method after PageLoaded and before EndRequest events!! Have a graphical look at the client side page life cycle here at this nice blog post by David Barkol: ASP.NET AJAX: Client-side event viewer Hope
Posted by BilalHaidar [MVP] | 0 Comments
Filed under:

Microsoft ASP.NET AJAX - Request Life Cycle

I have recently started reading about ASP.NET AJAX. I have been always writing the AJAX code manually using the XMLHttpRequest object and other third-party great controls like the Telerik control! I decided to work with the FREE Microsoft ASP.NET AJAX.

Microsoft ASP.NET Futures Documentation is there!

Check out the documentation on Microsoft ASP.NET Futures released lately for AJAX, SilverLight, Dynamic Data Controls, and much more!! http://quickstarts.asp.net/futures/ Regards