c.defaultView.getComputedStyle(a, null) is null
(function(a,b){function ci(a){return d...a+"px")}}),a.jQuery=a.$=d})(window);
Hi,
The ItemCommand on my RadGrid is not firing. Can someone point me in the right directions?
I am using a master page with the following telerik controls:
<telerik:RadScriptManager ID="DefaultMasterScriptManager" runat="server" EnableHistory="True">
</telerik:RadScriptManager>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
</telerik:RadWindowManager>
<telerik:RadAjaxManager ID="RadAjaxManager" runat="server" EnablePageMethods="true"
meta:resourcekey="RadAjaxManagerResource1" />
<telerik:RadAjaxLoadingPanel ID="DefaultLoadingPanel" runat="server" Skin="Default"
Transparency="-100" meta:resourcekey="DefaultLoadingPanelResource1">
</telerik:RadAjaxLoadingPanel>
and the following RadGrid control in a user control. With exception of the buttons the other grid columns are created dynamically as my grid is generic grid that serves many other user controls:
<
telerik:RadGrid ID="EventItemsGrid"
runat="server"
DataSourceID="EventItemsDataSource"
AllowAutomaticInserts="True"
AllowAutomaticUpdates="True"
AllowAutomaticDeletes="True"
AllowPaging="True"
EnableHeaderContextMenu="False"
AllowMultiRowSelection="false"
meta:resourcekey="LinkedEventsGridResource1"
AutoGenerateColumns="false"
AutoGenerateEditColumn="false"
AutoGenerateDeleteColumn="false"
OnItemCommand="EventItemsGrid_ItemCommand"
OnItemCreated="EventItemsGrid_ItemCreated"
OnUpdateCommand="EventItemsGrid_UpdateCommand"
OnItemDataBound="EventItemsGrid_ItemDataBound"
PageSize="5" width="100%" height="300px">
<headercontextmenu>
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</headercontextmenu>
<clientsettings EnablePostBackonRowClick="true">
<Selecting AllowRowSelect="true"/>
<Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" />
</clientsettings>
<sortingsettings sortedbackcolor="White" />
<pagerstyle alwaysvisible="true" mode="NextPrevAndNumeric" position="Bottom" wrap="false" />
<filtermenu>
<CollapseAnimation Type="OutQuint" Duration="50"></CollapseAnimation>
</filtermenu>
<groupingsettings showungroupbutton="true" />
<mastertableview datakeynames="EventId" clientdatakeynames="EventId" datasourceid="EventItemsDataSource" commanditemdisplay="Bottom" tablelayout="Fixed" grouploadmode="Client" gridlines="None">
<Columns>
<telerik:GridButtonColumn UniqueName="DeleteCommandColumn" ButtonType="ImageButton" HeaderText="Remove" Text="Remove" CommandName="Delete" ConfirmText="Are you sure you want to remove [{0}] from the [{1}] role?" ConfirmTitle="Remove Confirmation" ConfirmDialogType="RadWindow" meta:resourcekey="DeleteColumnResource1">
<HeaderStyle Width="60px" />
<ItemStyle HorizontalAlign="Center" />
</telerik:GridButtonColumn>
<telerik:GridButtonColumn UniqueName="EditCommandColumn" ButtonType="ImageButton" HeaderText="Edit" Text="Edit" CommandName="Select" meta:resourcekey="GridEditButtonImageResource1" ImageUrl="../Resources/WebResource.gif">
<HeaderStyle Width="60px" />
<ItemStyle HorizontalAlign="Center" />
</telerik:GridButtonColumn>
<telerik:GridButtonColumn UniqueName="ShowCommandColumn" ButtonType="LinkButton" HeaderText="" Text="Show Details" CommandName="Select" visible="false" meta:resourcekey="GridViewDetailResource1">
<HeaderStyle Width="100px" />
<ItemStyle HorizontalAlign="Center" />
</telerik:GridButtonColumn>
</Columns>
<CommandItemTemplate>
<table style="width:100%; text-align:right;">
<tr><td><asp:LinkButton runat="server" ID="lnkAddNewRecord" Text="Add New Record"></asp:LinkButton></td></tr>
</table>
</CommandItemTemplate>
<PagerStyle AlwaysVisible="True"></PagerStyle>
</mastertableview>
</telerik:RadGrid>
Thank you in advance!
Masterdom5
private void AddTab(string tabName, string id)
{
RadTab _tab = new RadTab {Text = tabName, PageViewID = id};
RadTabStrip1.Tabs.Add(_tab);
}
protected void RadMultiPage1_PageViewCreated(object sender, RadMultiPageEventArgs e)
{
string _userControlName = string.Format("/Controls/{0}.ascx", e.PageView.ID);
Control _userControl = Page.LoadControl(_userControlName);
_userControl.ID = e.PageView.ID + "_userControl";
e.PageView.Controls.Add(_userControl);
}
private void AddPageView(RadTab tab)
{
RadPageView _pageView = new RadPageView {ID = tab.PageViewID, CssClass = "pageView"};
RadMultiPage1.PageViews.Add(_pageView);
tab.PageViewID = _pageView.ID;
}
protected void RadTabStrip1_OnTabClick(object sender, RadTabStripEventArgs e)
{
AddPageView(e.Tab);
e.Tab.PageView.Selected = true;
}
protected void Page_Init(object source, EventArgs e)
{
this.__activeBatchesRadGrid = PolicyRadGrid.GridDefinition();
this.PlaceHolder1.Controls.Add(this.__activeBatchesRadGrid);
}
<
add
key
=
"Telerik.AsyncUpload.TemporaryFolder"
value
=
"C:\TempUpload\"
/>
I am deploying the control on a webfarm. I dont have a NAS, instead im trying to use folder sharing and drive mapping. However i am not able to do so. I even created a new drive and shared, still no success.
Follwing is the stack trace i am seeing.
------------------