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

January 2006 - Posts

Convert UserControls to Custom Controls

I found a nice article today on MSDN titled as: Turning an .ascx User Control into a Redistributable Custom Control I will summarize as much as possible of that article, since it is really a valuable one. It talks about creating your own UserControls,

Download Visual Studio 2005 Code Snippets

You can now download a set of Code Snippets to use in your C# development. Please check this link for more information: Visual Studio 2005 Code Snippets Regards

LebDev.NET UserGroup - Next Community Night - Thursday, February 2 - 2006

I would like to invite, all those who are capable of attend, to the 8th Session out of the series of the Community Nights held by Microsoft Beirut Offices and the LebDev.NET UserGroup, which is the first Lebanese UserGroup. The topic of this coming session

Extend String.IndexOf() & String.LastIndexOf() Methods

I have always found a limitation in the string.IndexOf() and string.LastIndexOf() methods in a sense that, you can either get the position of the first occurrence or the last occurence of a certain value within a given string. What if we want to get the

Add a Custom Link in CS 2.0 Beta 3

In reference to a post on the http://www.communityserver.org forums, on how to create a custom section in CS 2.0 beta 3, I decided to write this post here. 1- Open SiteUrls.config, in the Locations section, add the following no matter where you places

Upgraded my website to CS 2.0 Beta 3

I have just finished upgrading my website to CS 2.0 Beta 3. I have also played around a bit with CS files and created a Custom Link , to show how easy it is to work with a CS website. Although it is not yet a CMS, however, it could be used now for a community
Posted by BilalHaidar [MVP] | 1 Comments
Filed under:

How to publish Community Server 1.1 remotely?

In a previous post, we have seen how to install CS 1.1 on a local machine. Now it is time to upload our installation to our own web space. We will be installing CS 1.1 inside a folder called *cs*, so now you can have the CS 1.1 home page @: http://mywebsite.com/cs/
Posted by BilalHaidar [MVP] | 0 Comments
Filed under:

Community Server 2.0 Beta 3 is in town !!!

You can now download the CS 2.0 Beta 3 as: Windows and Web Installers . Regards

The Dream - Episode 3

I promised you to inform you on my dream every now and then. I have been working on it for around 4 continious days. I got some sickness yesterday and still till today at home because of the illness. However, nothing can and will stop me from reach the

Provider ToolKit Configuration Utility

A Code Template for Building a Provider Based Feature has been published lately on the Microsoft ASP.NET Developer Center . This is a Provider ToolKit that gives developers a ready made template for a Provider Model for him/her to customize as the need

CSS 3-Column Generator

I would like to share with you this cool link on how to generate a 3-column page template with CSS. 3-Column Generator Enjoy CSSing ;) Regards

Install Application Services Database on Microsoft Sql Server 2000

ASP.NET 2.0 ships with a set of providers for different features. We have the profile, membership, personalization and other new features that require a set of database tables and stored procedures, which are known as Application Services Database. Usually

ListControl property : AppendDataBoundItems

In ASP.NET 1.1, we used to bind a ListControl or any other control inheriting from it to some source of data, after that we used to add a new item at location 0 to tell the user to choose a value, like : -- Choose a Value -- We always had to do so AFTER

Nested Datagrids in ASP.NET 1.1

I got a question from a friend of mine in Canada, on how to Edit the Nested Datagrid in ASP.NET 1.1 , I referred her to the following good links: Editing Nested DataGrids in ASP.NET Using Nested DataGrids in ASP.NET Nested Datagrids in ASP.NET Hope that

ASP.NET 2.0/1.1 Popup Calendar

I would like you to visit this site and check the FREE ASP.NET 2.0/1.1 Popup Calendar . I just used it in an ASP.NET page I am developing, its configuration is so simple, and easy to use. Go and check it. Regards

AssociatedControlID in ASP.NET 2.0

I am customizing the CreateUserWizard to add some fields when adding a new user, and noticed that property called: AssociatedControlID . For example: < asp:Label ID ="UserNameLabel" runat ="server" AssociatedControlID ="txtUserName" > UserName </

Internal and Public Access Modifiers in C#

I am working on a project, in which I have several Class Libraries. In one of the class libraries, I wanted to use an object that can be accessed only inside the class library . What I did is I created the class as: internal class X { // Class content

Online RSS Reader

Hello: I came across http://www.Squeet.com , which is a nice online utility to subscribe to blogs online. The nice thing about that tool, is that, all the new posts added by bloggers that you have subscribed to, will be sent to your inbox. Also, I have
Posted by BilalHaidar [MVP] | 3 Comments
Filed under:

How to install Community Server 1.1 on my machine?

I got a request from a friend of mine, asking me how to install and configure CS 1.1 on a hosting area. I will take you in a step-by-step tour on how to be able to install CS 1.1 on your own hosting area. 1- Download the CS 1.1 binaries; click here to
Posted by BilalHaidar [MVP] | 0 Comments
Filed under:

My Official Blog

Hi: I would like to welcome you all to my official blog, which is now hosted on my own hosting account. I installed the CommunityServer 1.1 locally, then uploaded the files and the database to my hosting account at WebHost4Life.com. I used the FoggyValley
Posted by BilalHaidar [MVP] | 3 Comments
Filed under:

The Dream - Episode 2

I spent the whole day working on my dream. It is taking lots of time, but at least, there is something making me happy these days !! Keep an eye here!! Regards
Posted by BilalHaidar [MVP] | 0 Comments
Filed under:

Unable to Start Debugging on the Server. You do not have permission to debug

Have you ever faced that error before? I have started development lately on a Windows 2003 Standard Server, having both VS.NET 2003 and VS.NET 2005 installed. I was trying to open a DotNetNuke project yesterday and got the error by VS.NET 2003: Error

The Dream - Episode 1

Here I am announcing the start of the Lebanese and Personal Dream. Keep an eye on this Blog, to know more about the Dream. Regards
Posted by BilalHaidar [MVP] | 0 Comments
Filed under:

Bit Column in Microsoft SQL Server

In my work today, I faced a very weird thingy, here it is: I was retreiving a bit column from the table whose default value is set to 0 , and then using an SqlDataReader , and the weird thing is that I used: 1- (bool)reader[col] 2- Convert.ToBoolean(reader[col]])

Add NameSpaces in Web.Config

A new and cool feature in ASP.NET 2.0, that allows you to import default namespaces once in the Web.Config file, and then every ASPX page (Not Code-Behind) can see those imported namspaces. Here is a small code: <?xml version="1.0"?> <configuration>

ASP.NET 2.0 Security New Wiki In Town !!

There is a new ASP.NET 2.0 Security Wiki in Town, go and check it: http://channel9.msdn.com/wiki/default.aspx/SecurityWiki.ASPNET2SecurityFAQs Regards

Visual Studio .NET and Class Libraries

When I start a new project, I usually create a Blank Solution in VS.NET, then add to it my Class Libraries and Web Application. The problem I used to have before is that, every time I did some changes in one of the Class Libraries I had to update the

Visual Studio 2003 + HTTP/1.1 403 Forbidden

Before I create a new web application in Visual Studio .NET 2003, I usually create a new website in IIS MMC, then create the new web application based on the url of teh website I created early. Today, doing the same process as above generated the following
Posted by BilalHaidar [MVP] | 1 Comments
Filed under:

Microsoft VPC 2004

Hello: I just finished now configuring my laptop to function as follows: My laptop is a toshiba Satellite M45 Series. The host operating system is Windows XP + SP2. I have created a Virtual PC with the guest operating system as Windows 2003 Standard Server

Code Snippets in Visual Studio 2005

I kindly invite you to check my latest article on the www.aspalliance.com , with the title of: Code Snippets in Visual Studio 2005 Hope you enjoy it. Regards

www.System.Net.Mail

My colleague Dave Wanta published his new informative website about System.Net.Mail, the new namspace for email-related issues in ASP.NET 2.0 check at: http://www.systemnetmail.com/ Regards
Posted by BilalHaidar [MVP] | 0 Comments
Filed under: