I need to be able to change the default pencil icon of the RadGrid to a custom Icon when a user is defined to the system as read only.
Using the following piece of code in the " protected void Page_Load(object sender, EventArgs e) " function, I can hide the column with the visible property set to false.
RadGrid1.MasterTableView.GetColumn("EditImageColumn").Visible = false;
However what I need to do is change the pencil image to eyeglasses (indicating read-only mode).
The EditImageUrl property is not available using the above code and replacing the ".Visible" with ".EditImageUrl". It results in a compile error.
RadGrid1.MasterTableView.GetColumn("EditImageColumn"). EditImageUrl = "~/MyImage"
How can I accomplish this requirement.
Thanks
Using the following piece of code in the " protected void Page_Load(object sender, EventArgs e) " function, I can hide the column with the visible property set to false.
RadGrid1.MasterTableView.GetColumn("EditImageColumn").Visible = false;
However what I need to do is change the pencil image to eyeglasses (indicating read-only mode).
The EditImageUrl property is not available using the above code and replacing the ".Visible" with ".EditImageUrl". It results in a compile error.
RadGrid1.MasterTableView.GetColumn("EditImageColumn"). EditImageUrl = "~/MyImage"
How can I accomplish this requirement.
Thanks