I have a RadGrid definition as defined below (column definitions snipped for brevity).
I have an odd issue w/ the "Add New Record" button in the CommandItemDisplay 'disappearing' randomly.
What I mean, simply, is for random people at random periods of time for some inexplicable reason, when the RadGrid is displayed to the user, there will be no "Add New Record" option at the bottom of the grid. Two people side-by-side can be using the app, one will get the button, the other won't. Once someone doesn't get the button, it will not immediately come back, but, if they wait long enough and go back into the application, it will mysteriously reappear. Stopping the application pool and restarting it will usually 'clear' up the problem "immediately", but, that has the unfortunate side-effect of knocking everyone else out too.
I've looked through the IIS logs, and I do not see any unusual "errors" (no 4xx or 5xx status codes) associated w/ the user when it does happen. The application is compiled and deployed. Also, for what its worth, I do not recall this problem occurring before the application was precompiled for deploy.
I don't really expect an "answer" to this issue here, since it isn't reproducible at a whim. Instead, I was hoping someone might give me some insight as to where the data for the CommandItemDisplay line originates from (WebResource.axd file?) and maybe, just maybe, someone else has encountered this issue and discovered what they did wrong or had to change within IIS to resolve it. It sure would be helpful since I get at least 6 calls a day about this issue.
FWIW, I'm using the latest version of the controls, ASP.NET AJAX, IIS server running on 2008r2, with a .NET 4.0 application.
I have an odd issue w/ the "Add New Record" button in the CommandItemDisplay 'disappearing' randomly.
What I mean, simply, is for random people at random periods of time for some inexplicable reason, when the RadGrid is displayed to the user, there will be no "Add New Record" option at the bottom of the grid. Two people side-by-side can be using the app, one will get the button, the other won't. Once someone doesn't get the button, it will not immediately come back, but, if they wait long enough and go back into the application, it will mysteriously reappear. Stopping the application pool and restarting it will usually 'clear' up the problem "immediately", but, that has the unfortunate side-effect of knocking everyone else out too.
I've looked through the IIS logs, and I do not see any unusual "errors" (no 4xx or 5xx status codes) associated w/ the user when it does happen. The application is compiled and deployed. Also, for what its worth, I do not recall this problem occurring before the application was precompiled for deploy.
I don't really expect an "answer" to this issue here, since it isn't reproducible at a whim. Instead, I was hoping someone might give me some insight as to where the data for the CommandItemDisplay line originates from (WebResource.axd file?) and maybe, just maybe, someone else has encountered this issue and discovered what they did wrong or had to change within IIS to resolve it. It sure would be helpful since I get at least 6 calls a day about this issue.
FWIW, I'm using the latest version of the controls, ASP.NET AJAX, IIS server running on 2008r2, with a .NET 4.0 application.
<
telerik:RadGrid
ID
=
"RadGrid_Details"
runat
=
"server"
AutoGenerateColumns
=
"False"
DataSourceID
=
"SqlDataSource_Details"
GridLines
=
"None"
AllowAutomaticInserts
=
"True"
AllowAutomaticDeletes
=
"True"
AllowAutomaticUpdates
=
"True"
AllowSorting
=
"True"
onitemcommand
=
"RadGrid_Details_ItemCommand"
OnItemDeleted
=
"RadGrid_Details_ItemDeleted"
OnItemInserted
=
"RadGrid_Details_ItemInserted"
OnItemUpdated
=
"RadGrid_Details_ItemUpdated"
Width
=
"925px"
onitemdatabound
=
"RadGrid_Details_ItemDataBound"
onprerender
=
"RadGrid_Details_PreRender"
>
<
ClientSettings
AllowDragToGroup
=
"True"
>
</
ClientSettings
>
<
MasterTableView
DataSourceID
=
"SqlDataSource_Details"
autogeneratecolumns
=
"False"
commanditemdisplay
=
"Bottom"
editmode
=
"InPlace"
ShowFooter
=
"true"
horizontalalign
=
"NotSet"
AllowPaging
=
"True"
DataKeyNames
=
"Detail_GUID"
>
<
Columns
>
(column telerik:control definitions)
</
Columns
>
<
EditFormSettings
>
<
EditColumn
UniqueName
=
"EditCommandColumn1"
>
</
EditColumn
>
</
EditFormSettings
>
</
MasterTableView
>
</
telerik:RadGrid
>