Bilal Haidar Blog
Feb 8 2007
I have passed this morning the Microsoft .NET Framework 2.0 -- Web-Based Client Development exam with a score of 965/1000.
Having passed the Road to MCTS: Microsoft .NET Framework 2.0 - Application Development Foundation a while ago, I am now a Microsoft Certified Technology Specialist (MCTS) in Web Development.
I welcome any help needed by any of you who is willing to get the MCTS certificate at any time!
Best Regards
Tags:
Comments Off
Feb 7 2007
I kindly invite you to check my latest article on www.aspalliance.com. This time I had delivered a book review on a very wonderful book I have read recently!
ASP.NET 2.0: Website Programming Problem - Design - Solution
Check it out: ASP.NET 2.0: Website Programming Problem - Design - Solution
Regards
Feb 4 2007
I was all day preparing the demo code for my next article on www.aspalliance.com under the title of Introduction to JSON. I have a dropdownlist, where a user can select an item and I will show more details on the selected item. I am using AJAX and on the server I am responding by JSON-formatted text.
In IE 7, only first time I select an item works fine, I do an AJAX request and the details are shown! The second time it fails as if the OnReadyStateChange is not being called. It works fine for FireFox!
I contacted some help mainly Christian Wenz, the author of Programming ATLAS and the expert in ATLAS, he informed me that IE has a problem in recycling the existing XMLHttpRequest object.
That is why, whenever you are using XMLHttpRequest object, make sure you initialize it inside method that is doing the request and not outside the method, I mean in a global fashion. This way you make sure it runs on IE, FF, and IE7.
Example: var postRequest; function GetStudents() { postRequest = CreateXMLHttpRequest(); }
CreateXMLHttpRequest would be a helper function that creates a new XMLHttpRequest if usinf FF and IE7 and uses one of the ActiveXObjects in the older vresions of IE.
Hope this helps,
Tags: AJAX-ATLAS
Jan 26 2007
I want to thank Dave for the great C#/VB.NET Convertor tool that his company (Tangible Software Solutions Inc.) owns!
This tool comes in two flavours: 1- Instant VB 2- Instant CSharp
You can convert your code from C# to VB.NET or from VB.NET to C# in both .NET Framework 1.1/2.0.
Here is a screenshot of that wonderful utility, which is very robust and gives really good results!
As you can see, you can convert your code by specifying, the Project Name, a Snippet, a Folder, and ASP.NET Script. So many options, to make converting your code a matter of few seconds only!!
I recommend you visit the website and download those two software:
http://www.tangiblesoftwaresolutions.com/Demo.htm
Thank you Dave for the wonderful tools!
Those of you following my blog must have checked some posts for me about The Dream. If you didn't, check it here.
In this Episode, I am going to announce THE DREAM!!
In March 2007, I will be publishing my first printed article in a very popular magazine!
I will leave the magazine name till later, but at least I am almost there [:D].
Thank you
Jan 24 2007
I kindly invite you to check my latest article on www.aspalliance.com under the title of: Creating a Custom ExpressionBuilder in ASP.NET 2.0 Hope you will enjoy it!
Jan 23 2007
Scott Guthrie just announced the release of the ASP.NET AJAX 1.0 .
Check his post here: ASP.NET AJAX 1.0 Released
Tags: ASP.NET 2.0 - General
A new Event in ADO.NET 2.0 has been addeed to the SqlCommand object called the *StatementCompleted* event. Usually, if you are executing a set of UPDATE statements on your database as a batch using ExecuteNoneQuery() method, you get the number of affected rows in the whole batch action. What if you wanted to know what each UPDATE method has returned from *Rows Affected*?
The answer is this new Event. Check it on MSDN to see how powerful it is! SqlCommand.StatementCompleted Event
Hope this helps, Regards
Tags: Databases & SQL
Jan 21 2007
I have just finished submitting my book review on ASP.NET 2.0 Website Programming Problem - Design - Solution to www.aspallance.com
It is just a wonderful book that I recommend every serious ASP.NET developer to read it!
The book is an accompanying documentation on a Start Kit called The Berr House. To read more about the book check the book's website:
Jan 18 2007
I always find a difficulty in remembering all the server variables and how they can help me, here is a list of all the server variables I ran in a testing application. You will see the server variables with a sample data coming from the testing application:
Tags: ASP.NET 1.x, ASP.NET 2.0 - General