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

May 2006 - Posts

Sort List<T> ASC/DESC with Specified Field

In an ASP.NET 2.0 Web application I am working on, there is a need to use a List<LocalDocument>, where the LocalDocument is a class representing a simple document in the mean time. However, I have decided to add some functionality to the default

Code-Behind - Server Objects & Events

I had been always wondering how can I add the Server Objects & Events dropdownlist to my projects that I work on. I was browsing on the ASP.NET forums and found out this thread: http://forums.asp.net/thread/1276007.aspx In that thread, an ASP.NET
Posted by BilalHaidar [MVP] | 2 Comments
Filed under:

Check out CodePlex!!

Microsoft has released CodePlex Beta ( http://www.codeplex.com/ ), a community development Web site. Developers can use CodePlex to create new projects to share with fellow developers around the world, join others who have already started their own projects,

May 2006, Issue 9 - DNNCreative - Check it

The latest issue of DNNCreative Newsletter continues exploring CSS. It covers creating CSS containers , right through to using CSS within the content of the page for part 2 of styling your text and images . This issue continues the How to Build a Website
Posted by BilalHaidar [MVP] | 0 Comments
Filed under:

Session_End and HttpRuntime

I had a need few days ago to delete some files in the Session_End. As you know, Session_End will be fired, even if the client's session ends, because the Session is based on the Server and therefore, after the Session times-out the Session_End on the

Red-Gate SQL Query Intellisense Tool (Free Download)

A nice tool by Red-Gate to provide a missing feature from the SQL Server Query Analyzer, which is Intellisense. Check out Scott Guthrie's post about this great tool: Red-Gate SQL Query Intellisense Tool (Free Download) You can download this tool for free
Posted by BilalHaidar [MVP] | 0 Comments
Filed under:

Localization in ASP.NET 2.0

I have delivered tonight a new session out of the Community Night Sessions at the Microsoft Office - Beirut Central District, that are helped by the LebDev.NET user group and sponsorship of Microsoft. The session was about Localization in ASP.NET 2.0,

Looping Through Page Controls

A very common question on the ASP.NET forums, is how to loop through the page controls, and find dynamically my control! Here is the solution, its R E C U R S I O N !! A very simple example, that loops through the page controls, and once it finds a Panel,

PopulateNodesFromClient Property in TreeView - ASP.NET 2.0

I have noticed today that, when you have PopulateOnDemand, and PopulateNodesFromClient both are true, then there is no way to access the Parent Node of the Current Node in your code! I have been building a very complicated TreeView System in one of the

MasterPage For Each Folder

With ASP.NET 2.0 MasterPages, you can apply MasterPages per folder, how is that done? <configuration> <location path="MyArea"> <system.web> <pages masterPageFile="~/App_MasterPages/MyAreaMaster.master" /> </system.web> </location>

String Enumeration in C#

I have always had the need to use String Enumerations. What do I mean by that? Suppose we have this Enum Type: public enum StringNames { Bilal, Wessam, Elsa, Samer, Tarek, Farah, Firas, Mohammad } In my code, I would like to have something as: string

PopulateOnDemand & Node Icon in TreeView - ASP.NET 2.0

I discovered something interesting today in the world of TreeViews! I have been working on TreeViews and dynamic populating for those TreeViews. One thing took my attention which is that: When I first load the root node in a dynamically populated TreeView,

Localization in ASP.NET 2.0

I would like to invite you to check my latest article on the ASPAlliance.com. The article is titled Localization in ASP.NET 2.0 Hope you will enjoy this article. Regards

Set Selection in TreeView - ASP.NET 2.0

Assume the following: You have a TreeView in a master page, and once a node inside that TreeView is selected, you want to be redirected to another page. In that case, the TreeView will be reset to tis original properties. In a situation I am working on,

WebSetp Project & Visual Studio 2005 Web Deployment Projects

As you all know, Visual Studio 2005 Web Deployment Projects has be officially launched. Out of the cool things I like when working with WDP is the ability to include the WDP in a web setpup project. Assuming you have created your webs application, class

LebDev.NET Usergroup New Website

LebDev.NET Usergroup, officially announced its new website that has been published few days ago. A new website has been added to my DotNetNuke Website collection. To check all my DotNetNuke websites, here is the list up till now : www.devconnect.net www.lebdev.net
Posted by BilalHaidar [MVP] | 0 Comments
Filed under: