I have used Hierarichal radgrid. In that i have to display empty according to a condition.
Have used below code on page load event:
if (PrimaryID > 0)
{
PopulateData();
//data will be populated
AttributeNameGridBind();
}
else
{
this.rgdLabTest.MasterTableView.NoMasterRecordsText = Utility.ContentFetcher.GetResourceContent("RES_035", BOL.Classes.EHRSessions.Culture);
}
But grid is showing as solidline istead of no record to dispay message.
Can anyone suggest something.
I want the message from codebehind.
Have used below code on page load event:
if (PrimaryID > 0)
{
PopulateData();
//data will be populated
AttributeNameGridBind();
}
else
{
this.rgdLabTest.MasterTableView.NoMasterRecordsText = Utility.ContentFetcher.GetResourceContent("RES_035", BOL.Classes.EHRSessions.Culture);
}
But grid is showing as solidline istead of no record to dispay message.
Can anyone suggest something.
I want the message from codebehind.