Using Q1 2010 Beta (2010.1.216.40).
I have the following RadGrid:
Everything works great, the RadToolBarButton is hidden until a row is selected (causing postback). However when I add the RadAjaxManagerProxy below (this is on a page with a Master), the postback does not fire and the add button never becomes visible.
Any suggestions would be apreciated.
Thanks,
Joe
I have the following RadGrid:
<telerik:RadGrid ID="MyRadGrid" runat="server" DataSourceID="MyEntities" |
AllowSorting="True" AllowPaging="True" AutoGenerateColumns="True" |
OnSelectedindexChanged="Grid_SelectedIndexChanged" |
OnItemCreated="Grid_ItemCreated"> |
<MasterTableView DataKeyNames="Id" DataSourceID="MyEntities" CommandItemDisplay="Top" EditMode="InPlace"> |
<CommandItemTemplate> |
<telerik:RadToolBar runat="server" OnButtonClick="ToolBar_ButtonClick"> |
<Items> |
<telerik:RadToolBarButton runat="server" Text="Add" ImageUrl="~/Icons/Add.png" Visible='<%# MyRadGrid.SelectedIndexes.Count > 0 %>' /> |
</Items> |
</telerik:RadToolBar> |
</CommandItemTemplate> |
</MasterTableView> |
<ClientSettings EnablePostBackOnRowClick="True"> |
<Selecting AllowRowSelect="True" /> |
</ClientSettings> |
</telerik:RadGrid> |
Everything works great, the RadToolBarButton is hidden until a row is selected (causing postback). However when I add the RadAjaxManagerProxy below (this is on a page with a Master), the postback does not fire and the add button never becomes visible.
<telerik:RadAjaxManagerProxy runat="server"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="MyRadGrid"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="MyRadGrid" /> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManagerProxy> |
Any suggestions would be apreciated.
Thanks,
Joe