Welcome to Bilal Haidar [MVP, MCT] Official Blog
Sign in
|
Join
|
Help
Bilal Haidar [MVP, MCT]
.net, .life, .love, .society, .work, .articles, .lebanon
This Blog
About
Email
Syndication
RSS 2.0
Atom 1.0
Search
Go
Tags
ADO.NET
AJAX-ATLAS
ASP.NET 1.x
ASP.NET 2.0 - General
ASP.NET 2.0 - Master Pages
ASP.NET 3.5
ASP.NET Extensions 3.5
ASP.NET MVC
ASP.NET Security
C# 3.0
Community Server
Databases & SQL
Databases &
Design Patterns
Design Patterns in ASP.NET
DLinq
DotNetNuke
General
HttpHandlers
HttpModules
IIS
IIS 7.0
Internet Information Services
Linq
MSDN WebCasts
MVC
Online Resources
Silverlight
SQL
SQL Server Session State
Telerik Controls
Visual Studio
WF
Windows Forms
Windows Server 2008
Windows Setup
Windows Workflow Foundation
WPF Browser Applications
XLinq
XSLT, XPath, XML
Navigation
Home
Blogs
Photos
Downloads
Archives
July 2008 (1)
June 2008 (7)
May 2008 (6)
April 2008 (10)
March 2008 (20)
February 2008 (12)
January 2008 (3)
December 2007 (13)
November 2007 (18)
October 2007 (13)
September 2007 (17)
August 2007 (13)
July 2007 (29)
June 2007 (9)
May 2007 (17)
April 2007 (6)
March 2007 (4)
February 2007 (5)
January 2007 (16)
December 2006 (10)
November 2006 (12)
October 2006 (11)
September 2006 (2)
August 2006 (8)
July 2006 (14)
June 2006 (9)
May 2006 (16)
April 2006 (18)
March 2006 (16)
February 2006 (17)
January 2006 (31)
August 2005 (1)
July 2005 (6)
Must Read Articles
An Extensive Examination of User Controls
Provider Model Design Pattern and Specification, Part 1
Provider Design Pattern, Part 2
Create Windows Service
Setup Project for Windows Service in VS.NET 2005
XPath and XSLT in .NET
My Published Articles
A Customizable Login Server Control
Get Started with the Enterprise Library Data Access Application Block
An Extended Look at the Profile Object - Part 1
An Extended Look at the Profile Object - Part 2
An Extended Look at the Profile Object - Part 3
CodeSnip: One Application, Several Languages
Code Snippets in Visual Studio 2005
Localization in ASP.NET 2.0
Store View State in a Persistent Medium, the Proper Way
Extended GridView Control
How to Popup a Window Using DIV Layer in ASP.NET 1.x/2.x
Smart ListControl in ASP.NET 1.x/2.0
Mover List Control for ASP.NET 1.x/2.0
Creating a Custom BuildProvider in ASP.NET 2.0
Creating a Custom ExpressionBuilder in ASP.NET 2.0
Review: ASP.NET 2.0: Website Programming Problem - Design - Solution
Review: ASP.NET 2.0: Website Programming Problem - Design - Solution
Introducing JSON
Tips and Tricks: ASP.NET AJAX 1.0 and User Controls
Tips and Tricks: ASP.NET 2.0 AJAX 1.0 Extensions and Master Pages
Special Thanks
Tutorial Links
Macon State University Tutorials
Server Intellect ASP.NET
ATLAS Examples
ASP.NET Tutorials And Guides
Developing Custom ASP.NET Server Controls
July 2005 - Posts
Thursday, July 14, 2005 8:55 PM
Define an Event Handler for a HyperLink Server Control
Hello, a common question on the ASP.NET Forum is: How to define an Event Handler for a HyperLink? The solution as follows: protected System.Web.UI.WebControls.HyperLink HyperLink1; private void Page_Load( object sender, System.EventArgs e) { HyperLink1.Attributes.Add(
Posted by
BilalHaidar [MVP]
|
0 Comments
Filed under:
ASP.NET 1.x
Thursday, July 14, 2005 9:58 AM
Add JavaScript Functionality to GridView
If you want to change the Cursor when the mouse is over the GridView, follow the simple steps below: protected void RowCreated ( object sender, GridViewRowEventArgs e) { e.Row.Attributes.Add( "onMouseOver" , "this.style.cursor='n-resize'" ); } Hope that
Posted by
BilalHaidar [MVP]
|
5 Comments
Filed under:
ASP.NET 2.0 - General
Thursday, July 14, 2005 9:43 AM
Extend GridView
I want ot point you to two important links on Extending GridView, by Frerik Normen: 1- http://fredrik.nsquared2.com/print.aspx?PostID=186 2- http://fredrik.nsquared2.com/print.aspx?PostID=177 Hope that helps, Regards
Posted by
BilalHaidar [MVP]
|
0 Comments
Filed under:
ASP.NET 2.0 - General
Wednesday, July 13, 2005 1:43 PM
TemplateField in GridView
You can call a custom method inside the TemplateField of the GridView as follows: <TemplateField> <ItemTemplate> <%# GetSum((int)Eval(“Number1“), (int)Eval(“Number2“)) %> </ItemTemplate> </TemplateField> public string GetSum(int
Posted by
BilalHaidar [MVP]
|
0 Comments
Filed under:
ASP.NET 2.0 - General
Wednesday, July 13, 2005 1:01 PM
DateTime Methods
I had today to work with some DateTime calculations. I need two methods: 1- Get time difference between two dates, in such a way to have the following formats in the returned value: - Hours - Minutes (01 -> 1 minute, 10 -> 10 minutes,...) - Seconds
Posted by
BilalHaidar [MVP]
|
0 Comments
Filed under:
ASP.NET 2.0 - General
,
ASP.NET 1.x
Tuesday, July 12, 2005 4:32 PM
Facts about GridView
I would like to share with you some facts about the Events fired in the GridView: ---------------------------------------------------------- RowCommand Is Fired BEFORE SelectedIndexChanging Is Fired BEFORE SelectedIndexChanged -----------------------------------------------------------
Posted by
BilalHaidar [MVP]
|
0 Comments