Top "Readonly" questions

Read-only is a generic concept that means "not writeable" - Please DO NOT USE THIS TAG.

CheckBoxField columns in ASP.NET GridView are disabled even if ReadOnly set to false

I have a GridView with two CheckBoxField columns. They both have ReadOnly property set to false, but html code generated …

c# asp.net checkbox gridview readonly
Open a file in a tab in vim in readonly mode

I'm aware of opening files in readonly mode from shell using vim -R, but how to open a file from …

vim tabs readonly
Declaring a const double[] in C#?

I have several constants that I use, and my plan was to put them in a const array of doubles, …

c# static constants readonly
WCF: Exposing readonly DataMember properties without set?

I have a server side class which I make available on the client side through a [DataContract]. This class has …

.net wcf readonly datacontract datamember
How to keep the Text of a Read only TextBox after PostBack()?

I have an ASP.NET TextBox and I want it to be ReadOnly. (The user modify it using another control) …

c# asp.net textbox postback readonly
Display EditorFor() value as Read-Only on MVC View?

I have several fields I display on most of my views in my MVC5 Code-First app: [created_date], [created_by], […

asp.net-mvc razor asp.net-mvc-5 readonly editorformodel
How to make WPF DataGridCell ReadOnly?

I understand you can make the whole DataGrid or a whole column readyonly (IsReadOnly = true). However, at cell level this …

wpf readonly datagridcell
Read-Only Field in Django Form

How do I set a field to read-only in a Django form? I know how to disable a field but …

python django forms django-forms readonly
Setting a control to readonly using jquery 1.6 .prop()

With the release of jQuery 1.6, the recommendation on SO has been to generally start using prop() where you used to …

jquery readonly jquery-1.6
What's the best way of creating a readonly array in C#?

I've got the extremely unlikely and original situation of wanting to return a readonly array from my property. So far …

c# arrays readonly