Geeks With Blogs

AngelEyes on .Net Tips, tricks and WTFs about Asp .Net, SQL Server and the likes. June 2009 Entries
keyboard shortcut collapse all nodes in the Solution Explorer
How to quickly collapse all nodes in the Solution Explorer (To my knowledge, this works with Visual Studio 2005 as well as Visual Studio 2008): 1. Create a macro (code taken from Jay Harris's blog. Update: I cannot find that post anymore. Good thing I copied it here!) Imports System Imports EnvDTE Imports EnvDTE80 Imports EnvDTE90 Imports System.Diagnostics Public Module CollapseAll Sub CollapseAll() ' Get the the Solution Explorer tree Dim UIHSolutionExplorer As UIHierarchy UIHSolutionExplorer = ......

Posted On Monday, June 29, 2009 7:26 AM

Setting up Right-to-Left menu, with ASP .Net CSS friendly control adapters
A great article, albeit in Hebrew, explains How to align RTL (Right-to-left) ASP.Net 2.0 Menu with CSS Control Adapters. Note, in particular, this change: /* Tier 3+ */ .SimpleEntertainmentMenu ul.AspNet-Menu ul ul { top: -0.5em; left: 6em; } Changed to: /* Tier 3+ */ .SimpleEntertainmentMenu ul.AspNet-Menu ul ul { top: -0.5em; right: 6em; } ......

Posted On Monday, June 29, 2009 4:15 AM

Manually postback
Normal 0 false false false EN-US X-NONE HE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-style-parent:""; line-height:115%; font-size:11.0pt;"Calibri",... mso-fareast-"Times New Roman";} I wanted to post back after an auto complete extender did its job. This was the first version (the auto complete extender showed student names). Server-side: protected override void OnPreRender(EventArgs e) { base.OnPreRender(e); if (!Page.ClientScript.IsClien... ......

Posted On Saturday, June 27, 2009 3:16 PM

Copyright © AngelEyes | Powered by: