radio button - Set UltraGrid to ReadOnly property, vb.net -


in project, have form has 3 radio buttons, ultragrid, , textbox. when load form, want ultragrid readonly, or equivalent of this, , want become active again when rbcategory checked (one of radiobuttons). need set readonly again if 1 of other 2 radio buttons selected.

i feel readonly not property can used ultragrids, equivalent (to make grey, readonly textbox, basically), , how coded?

i tried using

ugcategories.displaylayout.override.allowupdate = defaultableboolean.false 

but didn't seem job

by setting allowupdate making grid read-only. if need change grid appearance need set appearance read-only cells this:

ugcategories.displaylayout.override.readonlycellappearance.backcolor = color.gray; 

further, may consider set , cellclickaction cellselect this:

ugcategories.displaylayout.override.cellclickaction = infragistics.win.ultrawingrid.cellclickaction.cellselect; 

you may check this article more helpful information mike saltzman - infragistics win forms guru


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -