Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 28th, 2007, 05:29 AM
Authorized User
 
Join Date: May 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to set tabindex in gridview(Button column)

hello friends,

I have created one form in which the gridview is there, i set tabindex of gridview it works properly for the button column of gridview but as soon as i press tabkey to come out from gridview the focus goes to address bar. actually it must have to go at next tabIndex which is like any another control dropdown or else.
may be this is very simple thing but i need it so please reply me soon.

Thanks &
Regards
AMOL CHIKURTE
__________________
Amol Chikurte
 
Old May 29th, 2007, 07:57 AM
Friend of Wrox
 
Join Date: Feb 2006
Posts: 116
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I might need clarification on what you are asking.

So you are setting the tabIndex property on a button in each row of your GridView, and that works properly, but then at the bottom of the gridView you want the tab order to go to the next control below the gridview right?

I would guess that you could have to also set the TabIndex on each control after the GridView. You will need to get the row count on the gridview so that you know what to set for each control below the gridView.
 
Old May 29th, 2007, 11:54 PM
Authorized User
 
Join Date: May 2007
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks for your reply friend..

i will explain you my problem, actually suppose i have a dropdown, gridview and button control, dropdown has tabindex=1,as I select dropdown tab successfully goes to gridview control which i want, also it successfully navigates on that gridview, but now actually problem arises, my next tabindex is Button or submit button, as soon as Tab come out of gridview it should focus on button but it directaly goes to address bar which i don't want.
this is my problem.. i am not getting what to do.
...
thanks again .. please try answer me..

Regards
AMOL



Amol Chikurte





Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Column width in Gridview as constant. aarunlal ASP.NET 2.0 Professional 4 April 24th, 2011 12:48 PM
Get GridView Cell Value Based on GridView Column stublair C# 2008 aka C# 3.0 0 September 4th, 2008 08:30 AM
set tabindex for controls in two sync grids toshi C# 0 September 27th, 2007 03:59 AM
To get text of Button Field column in GridView nitinp ASP.NET 2.0 Basics 1 November 3rd, 2006 10:57 AM
set the Tabindex Of ASP.net controls on MAC machin sudhirikke ASP.NET 2.0 Basics 0 May 17th, 2006 10:04 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.