Hi ,
i have the following code
public int PreviousApproversColumn = 11;
ShowOrHideApprovers(ASPxGridView1, UserContext.ProfileData, "INV", PreviousApproversColumn);
private void ShowOrHideApprovers(ASPxGridView grid, ProfileData data, string gridType, int previousApproversColumn)
{
if (data.Profile.Count > 0)
{
if (gridType == "REQ")
{
if (data.Profile[0].PreviousReqApprovers == "Y")
grid.Columns[previousApproversColumn].Visible = true;
}
else if (gridType == "INV")
{
if (data.Profile[0].PreviousInvApprovers == "Y")
grid.Columns[previousApproversColumn].Visible = true;
}
}
}
BUT i get the following error:
Error 2 The type 'DevExpress.Utils.Design.ICaptionSupport' is defined in an assembly that is not referenced. You must add a reference to assembly 'DevExpress.Data.v7.2, Version=7.2.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1'.
Would anyone know why this is happening ?
thanks
mel