473,480 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How do I add a column of buttons to a bound DataGrid control?

I have been trying to do this for hours with only limited success. I have
no idea why MS makes something that should be so straight forward a real
pain. Can anyone point me in the right direction?
Nov 20 '05 #1
5 1395
http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q888q

"acool" <no**@sendme.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I have been trying to do this for hours with only limited success. I have
no idea why MS makes something that should be so straight forward a real
pain. Can anyone point me in the right direction?

Nov 20 '05 #2
You know i appreciate the help i really do but do you mean to tell me there
isn't a simplier way to do this? This is WAY complicated to simply add a
column of buttons.

<pd******@hotmail.com> wrote in message
news:3e******************************@news.meganet news.com...
http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q888q

"acool" <no**@sendme.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I have been trying to do this for hours with only limited success. I have no idea why MS makes something that should be so straight forward a real
pain. Can anyone point me in the right direction?


Nov 20 '05 #3
Unfortuantely, this is the easiest way with the .NET Framework DataGrid
class. You can get commercial grid controls (and perhaps some shareware or
open source ones) that have more functionality, but the basic DataGrid is
sort of limited.

Syncfusion has an EXCELLENT datagrid product, but it's also got a tremendous
amount of functionality including a variety of control types for cells.

ComponentOne has a grid control with more control types as well, but when it
comes to getting more bang for your buck, despite costing a little more, I
think Syncfusion's grid is a much better value.

Take my comments with a grain of salt. I've done some beta testing for
Syncfusion in the past, so maybe I'm a bit biased, but I think their control
is excellent (actually, I think all their controls are pretty excellent).

Pete

"acool" <no**@sendme.com> wrote in message
news:eH***************@TK2MSFTNGP09.phx.gbl...
You know i appreciate the help i really do but do you mean to tell me there isn't a simplier way to do this? This is WAY complicated to simply add a
column of buttons.

<pd******@hotmail.com> wrote in message
news:3e******************************@news.meganet news.com...
http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q888q

"acool" <no**@sendme.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
I have been trying to do this for hours with only limited success. I have no idea why MS makes something that should be so straight forward a real pain. Can anyone point me in the right direction?



Nov 20 '05 #4
Hi Acool,

In addition to pda....

Complete free controls (The first is from William Ryan and friends, the
second from someone who was a while a regular in the dotnet newsgroups,
however we do not see him a while now )

<http://www.knowdotnet.com/articles/kdngrid.html>

<http://dotnet.leadit.be/extendeddatagrid>

Button
http://www.i-syn.gmxhome.de/devcom/c...trolbutton.htm

Faqs
http://www.syncfusion.com/FAQ/WinForms/FAQ_c44c.asp

http://www.microsoft.com/belux/nl/ms.../datagrid.mspx

http://msdn.microsoft.com/library/de...stDataGrid.asp

http://msdn.microsoft.com/library/de...ormattopic.asp
Nov 20 '05 #5
add a template column to the data grid(Under the property window click
property builder)
right click on the datagrid and click edit template column. Now pull a
button control in the template column, right click and click end edit.
Your done
I hope this solves your problem

"acool" <no**@sendme.com> wrote in message
news:eH***************@TK2MSFTNGP09.phx.gbl...
You know i appreciate the help i really do but do you mean to tell me
there
isn't a simplier way to do this? This is WAY complicated to simply add a
column of buttons.

<pd******@hotmail.com> wrote in message
news:3e******************************@news.meganet news.com...
http://www.syncfusion.com/FAQ/WinFor...c44c.asp#q888q

"acool" <no**@sendme.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
> I have been trying to do this for hours with only limited success. I have > no idea why MS makes something that should be so straight forward a
> real
> pain. Can anyone point me in the right direction?
>
>



Nov 20 '05 #6

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

Similar topics

2
2332
by: Raj | last post by:
Hi, When we are sorting the DataGrid Boolean column the grid is becoming redcross. I have my own PPMIPDataGridBoolColumn class inherited from System.Windows.Forms.DataGridBoolColumn. In this...
2
2100
by: | last post by:
Hello All, I am having a lot of difficulty trying to bind a templated column, that is programmatically created for a datagrid, to a datasource column. I have a datasource containing 2 columns,...
4
1833
by: Mike | last post by:
Hi, Is there a possibility to have one of the Web Control Datagrid's column as a Calendar when editing data? Any resources on this subject? Thanks Mike
1
4209
by: sianan | last post by:
I tried to use the following example, to add a checkbox column to a DataGrid in an ASP.NET application: http://www.codeproject.com/aspnet/datagridcheckbox.asp For some reason, I simply CAN'T get...
1
10215
by: ElenaR | last post by:
I need to figure out how to name my column headers in a DataGrid. In VB6, I could write DataGrid1.Columns(0).Caption = "ID". What is the format for VB.NET? Thanks in Advance!
4
2440
by: Grace | last post by:
I use a datagrid included in a repeater. as following: (.aspx) <asp:repeater id="rp_perform" Runat="server"> <HeaderTemplate> <table border="0" bgcolor="gray" cellspacing="0" cellpadding="0">...
3
3512
by: TPhelps | last post by:
I have a sample of an unbound (autogeneratecolumns is true) sortable/pagable datagrid that works. I want to change one of the columns to a hyperlink. The examples I find use a bound column. I...
4
2894
by: gane | last post by:
Hi, I am creating datagrid bound column dynamically and need to check if a datagrid column already exists?Is there a way to check this? thanks gane
6
2524
by: Opa | last post by:
Hi, I have a DataGrid, whose sourceI am exporting to Excel. This works fine except for the Column ordering. My datasource is not a datatable, with a typical SELECT statement where I can...
0
7044
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6741
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
6944
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
5341
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,...
0
4483
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2985
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
182
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.