Questions tagged [buttonfield]
52 questions
7
votes
3 answers
Command behind a GridView ButtonField
I got a question about the command behind a ButtonField (image type) in a GridView.
Got a GridView called gvIngevuld in wich I show rows of data and 1 ButtonField row.
Now I have to put code behind these buttons (Each of them the same) to put some…

Nico
- 237
- 3
- 5
- 15
5
votes
2 answers
Asp.Net Gridview Buttonfield get Row Data
I have a Gridview which is binded to a datatable that I created. The data in the table is ever changing.
I added a buttonfield to the Gridview. When clicked I want to send a specific columns value in that row through a link or sent through a…

user84786
- 631
- 7
- 19
- 33
2
votes
3 answers
blackberry ButtonField application sample
I am very new in black berry application.
now trying to create a calculator in blackberry using eclipse:
so i have added a button (ButtonField), my first target is when press this button i want display
"hi.. now you can try with text field."
here…

jaleel
- 1,169
- 8
- 22
- 46
2
votes
2 answers
Getting values from templatefields gridview - C#
I am using a gridview to display a table queried from a database...
In this gridview I also added a buttonfield, and 3 template fields...
When i press the buttonfield the data from the database is acquired, but the
manual data inserted from the…

cgval
- 1,096
- 5
- 14
- 31
2
votes
2 answers
ASP.net gridview image button alternative text
There is a AlternateText property in image-buttons so that while hovering mouse on image buttons, alternate text could clarify the functionality of the button.
I want to do so with ASP.net standard gridview and show a text while mouse being stopped…

Farshid
- 5,134
- 9
- 59
- 87
1
vote
5 answers
How to change the color of the button on clicking it
I have a button field. its color is red. when i click on it color the button should change to black how to do it?

chaitu2408
- 97
- 5
1
vote
1 answer
Mysterious extra pixels in ButtonField?
I have created a very basic custom layout to set out a menu made up of ButtonFields.
To position them vertically, i split the screen into 6 and then put them at divides 2,3,4 and 5 as is shown in the code.
So for the emulator, the Torch, a Height…

Ben Kneebone
- 77
- 2
- 11
1
vote
1 answer
Blackberry: custom ButtonField with disappearing focus highlight
I'm trying to create a custom ButtonField, whose focus (the blue highlight color) would disappear after few seconds of inactivity - like in original music player on BB phones with touchscreen.
I've almost succeeded in that with the following…

Alexander Farber
- 21,519
- 75
- 241
- 416
1
vote
2 answers
How to remove underline from gridview buttonfield?
I have a GridView ButtonField and would like to remove the underline. The FontUnderline="False" does not work! I also tries adding text-decoration:none; to the CssClass and that does not work either.

Jim
- 155
- 2
- 7
1
vote
3 answers
How can I access a ButtonFields text, if it's not considered as a TableCell?
I'm trying to access text from a ButtonField(databound), but I can't get the text if I refer to it as a TableCell. What can I do to get its text?
Markup:

Since_2008
- 2,331
- 8
- 38
- 68
1
vote
2 answers
Getting selectedrow in RowCommand
i have a gridview as:

Saleh Rezaei
- 160
- 4
- 21
1
vote
3 answers
Gridview changing text in a button column
I am working in asp.net using the gridview control. I have a button column that I create dynamically as such:
ButtonField bfSelect = new ButtonField();
bfSelect.HeaderText = "View";
bfSelect.ButtonType =…

Bob Avallone
- 979
- 7
- 20
- 36
1
vote
1 answer
Add GridView Button Dynamically
I have a asp.net form with a button1 and a gridview1. When i click button1, it performs a "select * from table" query and dumps the output to the gridview1.
//update Gridview1
GridView1.DataSource = _DataTable;
GridView1.DataBind();
I have set…

RStyle
- 875
- 2
- 10
- 29
1
vote
1 answer
Blackberry: How can I make a buttonfield act like toggle button?
I have a single button which I want to use as Start/Stop button. How can I make the buttonfield work as toggle button?
Please help.

Pria
- 2,743
- 4
- 27
- 30
1
vote
2 answers
Blackberry Development, adding dynamic number of buttons and setting Fieldchangelistener() for them
I am adding dynamic number of buttons in a Blackberry application and trying to get different events on each button click. I am not able to apply the setchangelistener() for these array of buttons as once the loop finishes after adding all the…

Nikesh Yadav
- 11
- 4