Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Controls / April 2006

Tip: Looking for answers? Try searching our database.

datagrid button selectivly enabled

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kpg - 27 Apr 2006 20:31 GMT
Hi all,

Simple (?) question.

I have a webcontrols.datagrid with a button column.  Depending on the data
in the row I want the button to be enabled or disabled.

Optionally, I want the button to be visible or not visible.

I'm building the datatable record soruce from scratch, so I'm visiting
each row, I thought that would be a good place to inspect the row value
and make the determination, but I can't seem to figure out how to get
to the button for an individual row.

Is this possible?

TIA
kpg
kpg - 27 Apr 2006 20:58 GMT
I have something I can make work, a hyperlink column.  The text
of the link comes from the datatable, so I can have it show 'Locked'
or 'Edit'.  Not 100% ideal, but workable.

Template columns seemed interesting, but I don't think each row
can be different, which is what I want.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.