473,472 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

SelectText property of command field in GridView control

I'm using VS.NET 2005 (VB) webforms.

I have a gridview control with a select command field. Actions are
performed on the gridview.SelectedIndexChanged event when the select command
is clicked.

I would like to display descriptive text for the SelectText property of the
command field. This text should be different for each row in the grid.

I can't find a way to do this, I would appreciate any assistance.

Thanks
Bill
Sep 11 '06 #1
1 2232
I figured it out myself immediately after posting this question!
Thanks,
Bill
"BillE" <be****@datamti.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
I'm using VS.NET 2005 (VB) webforms.

I have a gridview control with a select command field. Actions are
performed on the gridview.SelectedIndexChanged event when the select
command is clicked.

I would like to display descriptive text for the SelectText property of
the command field. This text should be different for each row in the
grid.

I can't find a way to do this, I would appreciate any assistance.

Thanks
Bill

Sep 11 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mark | last post by:
Access97 --- I set the Required property for a field at the table level and I have a form that contains that field. When I click the Close button at the top left of the screen, I get an error...
3
by: | last post by:
Hello, I am trying to get add a product to a cart from a gridview control when a button in the gridview is clicked. I have a book on how to do this in asp.net 2.0 but it is done by specifying...
1
by: pittster | last post by:
I'm trying to change the text that is displayed for the Select command of a CommandField. I'm figuring that it would have to occur during the RowDataBound event. Here is the code I've started...
4
by: Francis | last post by:
Hello i have a continuos form, and i have a command button to help insert information on a control textbox. But when the text box is not null, i dont want the command button to show (to the current...
0
by: Marek | last post by:
Hi all, I have GridView control placed on given page. This control has DataSource attached to it with select and update commands. One column is teplate field (DropDownList control). This control...
3
by: chelsea | last post by:
I am using a GridView control with a ButtonField and receiving 2 row command events for each click of the button. Is there a configuration switch that I can turn that will ensure I only receive...
0
by: MasterNone | last post by:
Can somebody suggest a way for me to bind the SelectText instead of static text or show any cool methods to make a server side postback to the same page instead of navigate. Either of those...
2
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, Is the LinkButton1.CommandArgument for something like a primary key value of a database record? thanks, rodchar
3
by: Joe | last post by:
I'm trying to use my UserControl as a TemplateField in a GridView but I'm getting the exception: "Object doesn't support this property or method exception". The user control has a flash player...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.