Private: MY Note


Solve Error : ASP.NET runtime error: Could not load file or assembly ‘AjaxControlToolkit, Version=1.0.10920.32880

Posted in .NET 2.0, ASP.NET, ASP.NET 3.0 by dev1 on the December 21, 2007

Add following XML to the eScrum web.conifg file after the </configSections> close tag.  Afterward, update the newVersion attribute to the version of the control toolkit that you are using.
<runtime>
 <assemblyBinding xmlns=”urnTongue Tiedchemas-microsoft-com:asm.v1″>
  <dependentAssembly>
   <assemblyIdentity name=”AjaxControlToolkit”
    publicKeyToken=”28f01b0e84b6d53e”
    culture=”neutral”/>
   <bindingRedirect oldVersion=”1.0.10301.0″ newVersion=”1.0.xxxxx.0″/>
  </dependentAssembly>
 </assemblyBinding>
</runtime>

 ref: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1913881&SiteID=1

VS2005 Take (Keyboard) Shortcuts

Posted in .NET 2.0, ASP.NET 3.0, Visual Studio by dev1 on the December 6, 2007

Using keyboard shortcuts is the best way to get things done faster in Visual Studio (and most other computer applications for that matter).

Below are my favorite Visual Studio keyboard shortcuts (I am leaving out the really obvious ones like F5).

  • CTRL+ALT+L: View Solution Explorer. I use Auto Hide for all of my tool windows to maximize screen real estate. Whenever I need to open the Solution Explorer, it’s just a shortcut away. Related shortcuts: CTRL+ALT+X (Toolbox), F4 (Properties), CTRL+ALT+O (Output), CTRL+\, E (Error List), CTRL+\, T (Task List).
  • F12: Go to definition of a variable, object, or function.
  • SHIFT+F12: Find all references of a function or variable.
  • F7: Toggle between Designer and Source views.
  • CTRL+PgDn: Toggle between Design and Source View in HTML editor.
  • F10: Debug - step over. Related debugging shortcuts: F5 (debug - start), F11 (debug - step into), SHIFT-F11 (debug - step out), CTRL-F10 (debug - run to cursor). F9 (toggle breakpoint).
  • CTRL+D or CTRL+/: Find combo (see section on Find Combo below).
  • CTRL+M, O: Collapse to Definitions. This is usually the first thing I do when opening up a new class.
  • CTRL+K, CTRL+C: Comment block. CTRL+K, CTRL-U (uncomment selected block).
  • CTRL+-: Go back to the previous location in the navigation history.
  • ALT+B, B: Build Solution. Related shortcuts: ALT+B, U (build selected Project), ALT+B, R (rebuild Solution).
  • CTRL+ALT+Down Arrow: Show dropdown of currently open files. Type the first few letters of the file you want to select.
  • CTRL+K, CTRL+D: Format code.
  • CTRL+L: Delete entire line.
  • CTRL+G: Go to line number. This is useful when you are looking at an exception stack trace and want to go to the offending line number.
  • SHIFT+ALT+Enter: Toggle full screen mode. This is especially useful if you have a small monitor. Since I upgraded to dual 17″ monitors, I no longer needed to use full screen mode.
  • CTRL+K, X: Insert “surrounds with” code snippet. See Snippets tip below.
  • CTRL+B, T: Toggle bookmark. Related: CTRL+B, N (next bookmark), CTRL+B, P (prev bookmark).

The complete list of default shortcuts is available from VS 2005 Documentation. You can also download/print reference posters from Microsoft: C# Keyboard Reference Poster, VB.NET Keyboard Reference Poster.

ASP.NET 2.0 Tips, Tricks, Recipes and Gotchas

Posted in ASP.NET 3.0 by dev1 on the December 5, 2007

http://weblogs.asp.net/scottgu/pages/ASP.NET-2.0-Tips_2C00_-Tricks_2C00_-Recipes-and-Gotchas.aspx

11 Visual Studio 2005 IDE Tips and Tricks to Make You a More Productive Developer

http://www.chinhdo.com/20070920/top-11-visual-studio-2005-ide-tips-and-tricks-to-make-you-a-more-productive-developer/

Regular Expressions Example - 1

:

Regular Expressions Example - 2 

Choose Replace All. Fix a couple of lines, sit back and admire your beautiful work:

Regular Expressions Example - 3

———————

'for' Expansion Snippet Step 1 

Then press Tab, Tab:

'for' Expansion Snippet Step 2 

PopupControl/RadioButtonList as DropDownList Alternative

Posted in ASP.NET 3.0 by dev1 on the December 5, 2007

YUI Style AJAX Progress Indicator

Posted in ASP.NET 3.0 by dev1 on the December 5, 2007

How To: Lazy-load TabPanel’s within the AjaxControlToolkit’s TabContainer Control

Posted in ASP.NET 3.0 by dev1 on the December 5, 2007

ASP.NET AJAX: Rendering a Gmail-like ‘Loading’ Indicator over a Specific ASP.NET Control

Posted in ASP.NET 3.0 by dev1 on the December 5, 2007

Ajax.Net Example: Using an UpdatePanelAnimationExtender to place an animated gif over a GridView

Posted in ASP.NET 3.0 by dev1 on the December 5, 2007

Don’t Ask Me Again’ Delete Confirm Using a ModalPopup and ASP.NET’s Profile Properties

Posted in ASP.NET 3.0 by dev1 on the December 5, 2007

ref:http://mattberseth.com/blog/2007/11/dont_ask_me_again_delete_confi.html

Using CSS Image Sprites with the XP Themed TabContainer

Posted in ASP.NET 3.0 by dev1 on the December 5, 2007
Next Page »