Data grid controls

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.



Go Back   Webforumz.com > Main Forums > Program Your Website > ASP.NET Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 5th, 2005, 14:05
New Member
Join Date: Dec 2005
Age: 38
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote

  #2 (permalink)  
Old Dec 5th, 2005, 17:49
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Data grid controls

What program are you talking about?
Reply With Quote
  #3 (permalink)  
Old Dec 5th, 2005, 19:12
New Member
Join Date: Dec 2005
Age: 38
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Data grid controls

In vb.net aspx pages.
Reply With Quote
  #4 (permalink)  
Old Dec 5th, 2005, 20:24
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Data grid controls

K ill move it to asp forum
Reply With Quote
  #5 (permalink)  
Old Mar 13th, 2006, 04:27
New Member
Join Date: Nov 2005
Location: India
Age: 36
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Data grid controls

Hi,

Try this Title: Develop your own Web Accounting Application using ASP.net"
http://www.vkinfotek.com

Regards
bhar
Reply With Quote
  #6 (permalink)  
Old Aug 5th, 2006, 04:31
Up'n'Coming Member
Join Date: Aug 2006
Location: Peru
Age: 21
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
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...
Reply With Quote
Reply

Tags
data, grid, controls

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 15:07.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43