I am using Rad Controls 2008 Q3 with Visual Studio 2008, C#, and .netFramework 3.5.
I have two issues:
I have a MasterTableView and two DetailTables. I need to programmaticially control the display of Edit and Delete columns based on a user's permissions. For example, I am using Grid.Columns.FindByUniqueName("MasterDelColumn") to locate the Delete column in the MasterTableView. However, when I try Grid.Columns.FindByUniqueName("DetailDelColumn") to locate the Delete column in the DetailTables, the program displays the following error: Cannot find column with UniqueName 'DetailDelColumn'. How do I locate the columns in the DetailTables programmatically?
I also need to display/hide the "Expand" icon, also based on a user's permissions. Is there any way to set the "Expand" icon Visible = false programmatically?
Thank you,
Jack
I have two issues:
I have a MasterTableView and two DetailTables. I need to programmaticially control the display of Edit and Delete columns based on a user's permissions. For example, I am using Grid.Columns.FindByUniqueName("MasterDelColumn") to locate the Delete column in the MasterTableView. However, when I try Grid.Columns.FindByUniqueName("DetailDelColumn") to locate the Delete column in the DetailTables, the program displays the following error: Cannot find column with UniqueName 'DetailDelColumn'. How do I locate the columns in the DetailTables programmatically?
I also need to display/hide the "Expand" icon, also based on a user's permissions. Is there any way to set the "Expand" icon Visible = false programmatically?
Thank you,
Jack