<telerik:RadComboBox ID="radProductList" Sort="Ascending" width="125" Runat="server" AutoPostBack="true" Font- Names="Verdana" Font-Size="7pt">
</telerik:RadComboBox>
Protected Sub radProductList_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles radProductList.Load
radProductList.AllowCustomText =
True
radProductList.MarkFirstMatch =
True
radProductList.MaxHeight = 200
radProductList.DataSource = StockList
radProductList.DataBind()
End Sub
Hi!
I'm having trouble on keeping a radgrid pager updated after rebinding the table with new contents (without reloading the page). The assembly version of the control i'm using is 3.1.1.0.
On the top of the page, I have a radgrid filled with several rows using NeedDataSource.
Then, below this grid, I have another radgrid which is filtered according to the row selected on the first grid (multiple row selection is not allowed). However, the pager of the second grid is not being updated accordingly. The "total number of items" shown in the pager is never updated when I bind new contents to the second grid. For instance, the grid is showing 2 items and the pager says there are a total of 5 items.
The binding of the second grid is being done using grid2.bind() each time a new row is selected on the first grid.
Do I have to update the pager info manually? How can I solve this?
Thanks!
<telerik:RadAjaxManagerProxy ID="ajxManager" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="left"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="left" LoadingPanelID="alpT" /> <telerik:AjaxUpdatedControl ControlID="right" LoadingPanelID="alpT" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="right"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="right" LoadingPanelID="alpT" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManagerProxy>...<telerik:RadTreeView ID="right" BorderColor="Black" BorderWidth="1px" OnClientContextMenuItemClicked="ContextMenuClick" runat="server" OnNodeDrop="HandleDrop" OnNodeEdit="HandleNodeEdit" OnNodeExpand="right_NodeExpand" EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="True" Height="475px" Width="350px" meta:resourcekey="trvResource1">...</telerik:RadTreeView>Protected Sub HandleDrop(ByVal sender As Object, ByVal e As RadTreeNodeDragDropEventArgs)... If ShouldNotDrop Then Dim strScript As String = "Sys.Application.add_load(function(sender, args) {if (!args.get_isPartialLoad()){radalert(""You cannot drop this here"");}});" Telerik.Web.UI.RadAjaxManager.GetCurrent(Me).ResponseScripts.Add(strScript) End If...End SubI have created a Asp.Net 4.0 page with a RadGrid. One of the columns (ConsignorId) indicates that this record belongs to a specific Consignor. A consignor can have multiple records. I would like to have a input(textbox) where I could enter a ConsignorId and then render the page with the RadGrid with only the records selected based on the consigorid entered.
Could you refer me to an example for this? I am new to telerek.
Thank You
function selectAllClick(sender) { var listBox = $find(sender); var items = listBox.get_items(); items.forEach(function(itm) { itm.set_checked(true); }); } function unSelectAllClick(sender) { var listBox = $find(sender); var items = listBox.get_items(); items.forEach(function(itm) { itm.set_checked(false); }); }