or
<telerik:GridDropDownColumn HeaderText="Provider" DataSourceID="ldsProviders" ListTextField="name" ListValueField="id" UniqueName="ContractProvider" DataField="ProviderID" AllowFiltering="true"> <FilterTemplate> <telerik:RadComboBox ID="ddlFilterProviders" DataSourceID="ldsProviders" DataTextField="name" DataValueField="name" AppendDataBoundItems="true" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("ContractProvider").CurrentFilterValue %>' runat="server" OnClientSelectedIndexChanged="SelectedIndexChanged" Filter="Contains"> <Items><telerik:RadComboBoxItem/></Items></telerik:RadComboBox> <script type="text/javascript"> function SelectedIndexChanged(sender, args) { var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>"); tableView.filter("ContractProvider", args.get_item().get_value(), "EqualTo", true); } </script> </FilterTemplate> </telerik:GridDropDownColumn><ClientSettings AllowColumnHide="True" AllowColumnsReorder="true" ReorderColumnsOnClient="true" > <ClientEvents OnCommand="ReportSystem.RadGrid1_Command" OnRowDataBound="ReportSystem.RadGrid1_RowDataBound" OnColumnSwapped="ReportSystem.RadGrid1_OnColumnSwapped" OnDataBindingFailed="ReportSystem.OnDataBindingFailed" /> <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True"> </Scrolling> </ClientSettings>
Hi,
I've built a grid which uses Virtual Scrolling and has been set up with a page size of 8. I've noticed that intermittently that the vertical scrollbar was not appearing. During my investigation I discovered that if the VirtualItemCount is 32, the Scrollbar disappears and if I increase the VirtualItemCount to 33, the vertical scrollbar will happily appear.
Can you please provide a solution to this issue?
Thanks,
Aash.
I use OnClientClick="showNotification();" on a asp:button with this java script. I try to use on same page validate a control with a telerik:RadButton and OnClientClicked, but dont have it to work. Only works with asp:button.
How to get showNotification work with telerik:RadButton?
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"> <script type="text/javascript"> function showNotification() { var notification = $find("<%= RadNotification1.ClientID %>"); setTimeout(function () { notification.show(); }, 0); } function CheckIfShow(sender, args) { var summaryElem = document.getElementById("<%= ValidationSummary1.ClientID %>"); var noErrors = summaryElem.style.display == "none"; args.set_cancel(noErrors); } </script></telerik:RadScriptBlock>