Objectmix
Tags Register Mark Forums Read

GridView Control - Disable/Enable Row Editing : DOTNET

This is a discussion on GridView Control - Disable/Enable Row Editing within the DOTNET forums in Framework and Interface Programming category; I want to disable the editing of a row in my gvParts GridView control. How? I need to evaluate the value of one Template Field to determine if the record should be edited or not but the template field always returns an empty string. Any ideas?...


Object Mix > Framework and Interface Programming > DOTNET > GridView Control - Disable/Enable Row Editing

DOTNET Discussion forums related to Microsoft Dot net technologies, CSharp and other related items

Reply

 

LinkBack Thread Tools
  #1  
Old 07-30-2007, 08:24 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default GridView Control - Disable/Enable Row Editing

I want to disable the editing of a row in my gvParts GridView
control. How? I need to evaluate the value of one Template Field to
determine if the record should be edited or not but the template field
always returns an empty string. Any ideas?

Reply With Quote
  #2  
Old 07-30-2007, 09:41 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: GridView Control - Disable/Enable Row Editing

On Jul 30, 9:24 am, Mel <MLights...> wrote:
> I want to disable the editing of a row in my gvParts GridView
> control. How? I need to evaluate the value of one Template Field to
> determine if the record should be edited or not but the template field
> always returns an empty string. Any ideas?


Turn the Edit column into a template and put your logic in the
"visible" attribute.

Reply With Quote
Reply

Thread Tools


Similar Threads

Thread Thread Starter Forum Replies Last Post
enable disable proxy usenet basic.visual 3 11-30-2007 08:27 AM
GridView -enable editing usenet DOTNET 5 10-30-2007 05:47 AM
Can I use WMI (C#) to disable/enable a device? usenet DOTNET 4 08-19-2006 05:52 AM
Enable and disable a control in ASP.NET 2.0 using javascript usenet CSharp 0 06-20-2006 10:13 PM
Enable/Disable MenuItems usenet Adobe Indesign 2 09-07-2005 04:57 AM


All times are GMT -5. The time now is 11:08 PM.