|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Determine if a Gridview column is readonly programaticallyHow can I determine that a column on my gridview is set to readonly in my
codebehind? In other words I like to find out if a column in my grid is not editable.... thanks Angel wrote:
> How can I determine that a column on my gridview is set to readonly in my Hi Angel,> codebehind? > > In other words I like to find out if a column in my grid is not editable.... > > thanks I'm intrigued. Of you can only set this at design time and can't do so at run time then how come you need to test for it? I've checked the .NET Framework class library reference and sure enough the read-only property of a column in a Gridview object (which is declared in Markup) isn't exposed by a DataControlField class member (the GridView.Columns property is a collection of the foregoing type of objects). I will happily stand corrected though. Phil Hall
Need button control that...
auto-size textbox 3 step wizard - ignore last step Can't duplicate ID in subclassed GridView menu question WebParts & Highend Portals all bitmap button in grid? how to validate input of a detailsview? Anyone have APP_LocalResources resx files for the MS controls... Datagrid template column |
|||||||||||||||||||||||