Hi all,
I am executing the follwing code in an effort to turn off the insert record display on the grid when someone is to have read only privileges. This code is taken from page_load
}
After executing the status bar is still displaying. Is there a followup command or do I need to execute this command somewhere else?
Thanks,
David
I am executing the follwing code in an effort to turn off the insert record display on the grid when someone is to have read only privileges. This code is taken from page_load
protected
void Page_Load(object sender, EventArgs e)
{
//disable status bar if read only
string
tCheck = System.Web.HttpContext.Current.Session[
"Agencies"
].ToString();
if
(tCheck.ToString() ==
"R"
)
{
RadGrid1.ShowStatusBar =
false
;
}
After executing the status bar is still displaying. Is there a followup command or do I need to execute this command somewhere else?
Thanks,
David