473,387 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

RowSelectorColumn and DataGrids

I just started using the RowSelectorColumn from Andy Smith
(MetaBuilders.com) and can't seem to find a way to find the other controls
in the same row of my datagrid. I really like the contro and have been able
to work for everything I need, except for this. I can't seem to use
src.parent or set src to control to allow me to traverse controls to find
the other controls.

I am trying to change the database record when the control is changed.

Is there anyway to do this? I can't seem to find a method in the docs. I did
see "owner", but it is protected.

I was looking at Scott Mitchells article on using the control, but he
doesn't talk about this issue.

Thanks,

Tom
Nov 19 '05 #1
2 1967
Check out this article from datagrid girl on how to use this control, it
might help you.
http://www.datagridgirl.com/rowselector.aspx

--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"tshad" <ts**********@ftsolutions.com> wrote in message
news:u1**************@TK2MSFTNGP09.phx.gbl...
I just started using the RowSelectorColumn from Andy Smith
(MetaBuilders.com) and can't seem to find a way to find the other controls
in the same row of my datagrid. I really like the contro and have been able to work for everything I need, except for this. I can't seem to use
src.parent or set src to control to allow me to traverse controls to find
the other controls.

I am trying to change the database record when the control is changed.

Is there anyway to do this? I can't seem to find a method in the docs. I did see "owner", but it is protected.

I was looking at Scott Mitchells article on using the control, but he
doesn't talk about this issue.

Thanks,

Tom

Nov 19 '05 #2
"Saravana" <sa******@sct.co.in> wrote in message
news:Xl****************@news.cpqcorp.net...
Check out this article from datagrid girl on how to use this control, it
might help you.
http://www.datagridgirl.com/rowselector.aspx
I looked at that article, also. The problem is that it tells you which rows
are selected, but not which row you are on.

If you have autopostback=true and you select (or deselect) one of the
radiobuttons or checkboxes, it goes to the routine you defined in
OnSelectionChanged=x. The parameters are the same as any event. The
problem is that you can't do something like src.parent, which you can with
other controls.

Also, if you try to traverse the Datagrid and find the button you pushed, it
finds the rowSelectorColumns, but they don't seem to match the value passed
( sender in ChangeSelections( sender as Object, e as EventArgs )). Without
this, I have know way of using the other objects in the DataGridItem to
update my data record. I can do it after the fact, but not when the button
is pushed.

Tom
--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"tshad" <ts**********@ftsolutions.com> wrote in message
news:u1**************@TK2MSFTNGP09.phx.gbl...
I just started using the RowSelectorColumn from Andy Smith
(MetaBuilders.com) and can't seem to find a way to find the other
controls
in the same row of my datagrid. I really like the contro and have been

able
to work for everything I need, except for this. I can't seem to use
src.parent or set src to control to allow me to traverse controls to find
the other controls.

I am trying to change the database record when the control is changed.

Is there anyway to do this? I can't seem to find a method in the docs. I

did
see "owner", but it is protected.

I was looking at Scott Mitchells article on using the control, but he
doesn't talk about this issue.

Thanks,

Tom


Nov 19 '05 #3

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

Similar topics

1
by: Chip | last post by:
Andy Smith's control (metabuilders.com/Tools/RowSelectorColumn.aspx ) is everywhere and I'm feeling pretty stupid. I've placed the dll in my /bin directory, registered the control, added the column...
1
by: Chip | last post by:
I'm using Andy Smith's RowSelectorColumn control (great control) and I'm not sure if this question is generic to all datagrid controls or this particular one. Is there a way to disable one of...
0
by: tshad | last post by:
I have been using Andys RowSelectorColumn control for awhile now and it works great. I now need a way to put a button on a datalist datalistitem (as opposed to a datagriditem). The problem is...
0
by: jlrolin | last post by:
Tearing my hair out over this, and it may be a postback problem of some sort. I have everything displaying, etc. BUT when I click the "Run Process" button, I want to grab the selected checkboxes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
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...

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.