C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Column focus the datagrid in VB.NET


Posted Date: 28 Jan 2007      Total Responses: 1

Posted By: karthikeyanb       Member Level: Gold     Points: 2


I Want to focus the particular column in datagrid. If i give the focus command like datagrid1.focus, the first column is selected. But i want to focus the 3rd column when the form is load.
can we focus the particular column without using tab, down keys?
How is it possible???





Responses

Author: RamarajSundaram    29 Jan 2007Member Level: DiamondRating:     Points: 2
try this way,

DataGrid1.Columns[3].Focus()

For More details,

http://samples.gotdotnet.com/quickstart/aspplus/samples/webforms/ctrlref/webctrl/datagrid/doc_datagrid.aspx



Post Reply
You must Sign In to post a response.
Next : Column focus the datagrid in VB.NET
Previous : Column focus the datagrid in VB.NET
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

efax

Contact Us    Privacy Policy    Terms Of Use