Skip to main content

Posts

Showing posts with the label axgridview

Disabling Bound Fields through code in Enterprise portal MSD axapta

You can make a bound field as read only or hide the Lookupbutton of the bound field through code in the page load event. AxBoundField boundField = AxGridView1.Columns[i] asAxBoundField; boundField.ReadOnly = true; or AxBoundField boundField = AxGridView1.Columns[i] asAxBoundField; boundField.LookupButtonDisplaySettings = LookupButtonDisplaySettings.Never;