Here is a nice article explaining the differences between HTML table and DIV based layouts. It gives examples of each and how to move forward with DIV based layouts.
http://www.devarticles.com/c/a/Web-Style-Sheets/DIV-Based-Layout-with-CSS/
Technical blog discussing various programming languages, frameworks and paradigms. Code snippets and projects are also provided.
Thursday, 19 November 2009
Add User Controls to an ASP.NET page
Heres an artircle on how to add a user control to an ASP.NET page, its quite informitive and details all of the necessary steps
http://msdn.microsoft.com/en-us/library/5d0t5fak(VS.71).aspx
http://msdn.microsoft.com/en-us/library/5d0t5fak(VS.71).aspx
Friday, 13 November 2009
onclick vs. onmousedown and onmouseup
I've been trying for the last couple of hours as to why I couldn't select a row in my GridView using right click... it seemed to work fine for left click, but right click had issues (I had my attribute for the row set to 'onclick')
What I was doing so making a context menu appear, but I wanted the row to select itself before the menu appeared. After many vain attempts of simulating left click behaviour, adding pointers to the left clicks behaviour into the code... I simply changed the attribute to onmouseup, and presto! it works!
strange, but I do recall when attemping to disable right clicks on webpages, the onmousedown/up event is captured, so it must be how the browser interprets the keypresses for each.
Subscribe to:
Posts (Atom)