This is a discussion on "Data grid controls" within the ASP.NET Forum section. This forum, and the thread "Data grid controls are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Data grid controls
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Data grid controls
Hi, does anyone knows how to put a combobox in a data grid in an edit state?
I have a datagrid with an edit button column, I need that when someone click in the edit column, instead of showing text box in have to put a comobo box to ensure that the option selected is in a format that I need. How can I do this? |
|
|
|
|||
|
Re: Data grid controls
What program are you talking about?
|
|
|||
|
Re: Data grid controls
In vb.net aspx pages.
|
|
|||
|
Re: Data grid controls
K ill move it to asp forum
|
|
|||
|
Re: Data grid controls
Hi,
Try this Title: Develop your own Web Accounting Application using ASP.net" http://www.vkinfotek.com Regards bhar |
|
|||
|
Re: Data grid controls
Mmm... instead of using an edit column, better use template columns. It's easily done on html. The main idea is to create one column containing buttons and the rest with labels and combo boxes(when viewing the labels are visible, when editing the combo boxes are visible), then on server o client side(I think it's easier on server side) you can control the button event, check which ones(the labels or the combo boxes) are visible and simply chanche their visibility. You can also change the text on the button from "Edit" to "Update", and control the action to take depending on that. It's simple once you know how to realy work with datagrids, it's all about template columns...
Saludos... |
![]() |
| Tags |
| data, grid, controls |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Data Grid View control - date format | sanand | ASP.NET Forum | 2 | Jul 31st, 2006 09:24 |
| Help designing a crossword grid... | andrewsco | Web Page Design | 4 | Jul 3rd, 2006 08:05 |
| Break the Grid | kevrapley | Introduce Yourself | 3 | Jun 7th, 2004 09:01 |
| How to create Editable Grid using DHTML | satishsabapathy | Web Page Design | 3 | Oct 20th, 2003 13:17 |