How do I programmatically select a row in DataGrid?
To programmatically select a row, you need to call: [C#] //select row 1 this.dataGrid1.Select(1); [VB.NET] ‘select row 1 Me.dataGrid1.Select(1)
Why do calling Focus() on a control not set focus on it?
Note that when you call this method the control should be visible, otherwise the focus will not be set. Hence calling this in say Form_Load on a control in the form will be ineffective. You should instead consider give that control an appropriate TabIndex, so that it will be the first focused control.
How can I programatically set the rowheight of a row in my DataGrid
One way you can do this is to use reflection to access the DataGrid internal row objects which are not publicly exposed. This solution was suggested by Matthew Benedict in a private communication. Here are both VB and C# sample projects showing how you might do this. The sample provides a class that you can instantiate by passing a DataGrid, creating a rowHeights object. Once you create this object, you can use an indexer on the object to set and get the rowheights.
What is Output Caching?
Output caching lets you cache the output of static aspx pages or portions of pages to improve performance. Since the pages are cached asp.net doesn’t have to regenerate the html for every request. For more information see: Output Caching Techniques In ASP.NET
Is there a JavaScript Quick Reference Guide?
Here is a JavaScript Quick Reference Guide in Poster Format that you can print out and refer easily. Covers the older and newer version of DOM and IE and Mozilla. Danny Goodman’s JavaScript and Browser Objects Quick Reference