Questions tagged [readonly]

Read-only is a generic concept that means "not writeable" - Please DO NOT USE THIS TAG. This tag is ambiguous and needs to be broken up.

This tag is ambiguous.

Please consider using (or creating) alternate tags for the specific use-cases of this term.

  • Read-only is a generic concept that means "not writeable"

  • readonly is a language keyword in C# that makes a member immutable.

  • readonly is an HTML attribute that makes input elements non-editable.

1624 questions
0
votes
1 answer

Infragistics WebScheduleInfo Sample code

I am working with Infragistics35.WebUI.WebSchedule.v8.2. I am not seeing any good documentation on this on the Infragistics Web site. Does anyone have any sample code I could see? I am trying to create a week view of the calendar. One that…
Woodmark
  • 1
  • 1
0
votes
1 answer

An opened document which isn't found in Word.Application.Documents but still locked out?

I do some Word automation filling in the blanks in some Word documents which are used as templates. One template is used more often than the others, and this causes the error, as it locks out and Word is unable to open it, though I wish to open it…
Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
0
votes
1 answer

SHAREPOINT 2007 - Record Read Only

In a "Issue" list, I have a mandatory field called "Status", to control the status (Identified, implemented, postponed, etc.). I need to control the behavior of each record based on that field content. For certain status the record should became…
Luis
  • 1
0
votes
1 answer

Adjust MKCircle radius with slider iOS

I am trying to create an MKCircle around a dropped pin and have the radius adjustable with a UISlider. In my slider method that calls when the user changes the value of the slider. I attempt to simply reference the circle and say: circle.radius =…
Eli Whittle
  • 1,084
  • 1
  • 15
  • 19
0
votes
2 answers

Readonly property set code repeated in several constructor

I have a DataStructure class, which I want to be immutable. Ordinarily, I'd just ensure that all my members are defined as readonly - Job Done. But one of the members is a list (of ints), so I need to ensure that the List can't be modified; so I…
Brondahl
  • 7,402
  • 5
  • 45
  • 74
0
votes
1 answer

Arrow key pressed while shift key is held down

I have a Sudoku puzzle and I want to make it so the user can press the shift key and hold it down while they use the arrow keys to move up and down between cells. The cells that are already set are tags like the rest, but they have the…
BestAnswer
  • 136
  • 1
  • 18
0
votes
1 answer

How to make class property readonly?

Lets see following example: public Data() { ConnectionString = DefaultConnectionString; } public Data(string connectionString) { ConnectionString = connectionString; } public string DefaultConnectionString { get { return…
Ankush Madankar
  • 3,689
  • 4
  • 40
  • 74
0
votes
1 answer

Dynamic Data foreign key as read only field

Is it possible to make a foreign key have the ReadOnly attribute in Dynamic Data or at least disable the dropdown of the foreign key field? Let's say: Class_Table | Student_Table ClassID [PK]| StudentID [PK] ClassName | StudentName |…
Coolai
  • 151
  • 4
  • 18
0
votes
1 answer

Settings end up in user.config even though they are unmodified as read from app.config

Consider a C# app which has a number of user settings, some are actively used and updated and others are always read-only. Under which circumstances can such a read-only settings property end up in a per user maintained user.config? I am seeing a…
wpfwannabe
  • 14,587
  • 16
  • 78
  • 129
0
votes
2 answers

CSS Tweaks to jQuery readonly plugin to distinguish readonly checkbox not working cleanly

I am using this plugin https://github.com/cdp1337/jquery.readonly to make a checkbox readonly. Functionality working fine. Checkbox Advertiser ID is a readonly checkbox. But, I needed to distinguish the readonly checkboxes from the normal ones, so I…
Sandeepan Nath
  • 9,966
  • 17
  • 86
  • 144
0
votes
0 answers

Transaction commit failed as flushmode is MANUAL

I am facing a weird issue since migrating to Spring 4. Application makes an Ajax call using dwr. Ajax helper calls the service. Error is org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode…
Sammy Pawar
  • 1,201
  • 3
  • 19
  • 38
0
votes
1 answer

Linux directory is stuck in read-only

I' having issues with using Yeoman with Angular. It was working fine until I used grunt serve To start a server for the project I was creating. However, "grunt serve" returned Error: Unable to create git_template directory: Arguments to…
user3172050
  • 839
  • 2
  • 9
  • 21
0
votes
3 answers

Write on a Read Only NFC tag

I'm new to android development. I'm creating an app that uses NFC, so I bought some Sony Xperia NFC tags. I'm trying to write a code to one of them but I'm getting a message that it is 'Read-Only'. Is there any chance to Write on it? I know that…
manosim
  • 3,630
  • 12
  • 45
  • 68
0
votes
2 answers

FxCop CA2227:CollectionPropertiesShouldBeReadOnly with Private Set

I have the following pattern: public class Test { public ICollection Stuff { get; private set; } public Test() { Stuff = new List(); Stuff.Add("Initial Item"); } } FxCop is complaining with…
Richard Payne
  • 81
  • 1
  • 12
0
votes
2 answers

NumericUpDown c#

I have a problem with NumericUpDown control. in the winForm code: this.passwordLength = new NumericUpDown(); this.passwordLength.Location = new System.Drawing.Point(304, 11); this.passwordLength.Margin = new…