Dennis Bottjer | ASP.NET + SharePoint Architect, Trainer & Speaker

"An Ounce of Prevention is Worth a Pound of Cure" - Ben Franklin
posts - 168, comments - 59, trackbacks - 41

My Links

News

Add to Technorati Favorites The views expressed in this blog are mine and mine alone, not that of my employer, Microsoft, or anyone else’s. No warrantee is given for the quality of any material on this site.

Tag Cloud

Archives

Post Categories

Custom Server Controls Toolbox Icon

On a recent project I was tasked with building a custom grid server control.  The grid made use AJAX (Client Side Java Script) to avoid post backs.  I wanted change the ugly default toolbox icon used in Visual Studio.  I thought it would make sense for my server control to use the same icon as the DataGrid since my control is a custom grid.  This will allow developers to easily recognize it.  I achieved my goal as follows:

<ToolboxData("<{0}:CustomGrid runat=server></{0}:CustomGrid>"), Designer(GetType(IDEInterface)), ToolboxBitmap(GetType(DataGrid))> _

Public

Class CustomGrid

Print | posted on Thursday, June 30, 2005 2:10 AM | Filed Under [ ASP.NET ]

Comments have been closed on this topic.

Powered by: