Hey, I have a grid being created dynamically from a manually built pivot table with includes a variable number of columns and a variable number of rows.
I've gotten it to display statically quite easily, but what I would like to be able to do is replace the static numbers with a textbox containing the numeric value for each column for each view. And then be able to iterate through those rows on a click event to save any changed data.
<telerik:RadGrid ID="RadGrid1" runat="server" OnItemCreated="RadGrid1_ItemCreated" > </telerik:RadGrid>RadGrid1.DataSource = dt;RadGrid1.DataBind();protected void RadGrid1_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e) { if (e.Item is GridDataItem) { GridDataItem item = (GridDataItem)e.Item; DataRowView drv = (DataRowView)e.Item.DataItem; TextBox txt = new TextBox(); txt.Text = drv[0].ToString(); e.Item.Cells[0].Controls.Add(txt); } }<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent"> </asp:Content><asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent"> <telerik:RadTextBox runat="server" ID ="txtTelerik" Enabled="false" Width="400" ></telerik:RadTextBox> <asp:Button runat="server" ID="btnPost" Text="btnPost" /> <br /><br /><asp:Label runat="server" ID="lblMessage"></asp:Label> <telerik:RadScriptBlock ID="radScriptBlock1" runat="server"> <script language="javascript" type="text/javascript"> function Init() { var ctrl = $find("<%=txtTelerik.ClientID %>"); if (ctrl != null) ctrl.set_value("Value lost upon postback"); } Sys.Application.add_load(Init); </script> </telerik:RadScriptBlock></asp:Content>Public Class _Default Inherits System.Web.UI.Page Private Sub btnPost_Click(sender As Object, e As System.EventArgs) Handles btnPost.Click lblMessage.Text = " Value after post = [" + txtTelerik.Text + "]" End SubEnd Class<telerik:RadWindowManager ID="myId" runat="server" ReloadOnShow="true"<br> OnClientShow="Hideloading" DestroyOnClose="true"><br> <AlertTemplate><br> <div class="rwDialogPopup radalert"><br> <div class="rwDialogText"><br> <div class="space"><br> </div><br> <b>{1}</b><br> <br /><br> <a onclick="$find('{0}').close();FocusLastFocusedControl();" onkeypress="return GetChar(event,'{0}');"<br> class="rwPopupButton" href="javascript:void(0);"><span class="rwOuterSpan"><span<br> class="rwInnerSpan">##LOC[OK]##</span> </span></a><br> <div class="clear"><br> </div><br> </div><br> </div><br> </AlertTemplate><br> <Windows><br> <telerik:RadWindow ID="id1" AutoSize="true" Modal="true" Title="title1"<br> runat="server" KeepInScreenBounds="true" VisibleStatusbar="false"<br> RegisterWithScriptManager="true" Behaviors="Close, Move, Resize" Height="450px"<br> OnClientBeforeShow="ClientShow" AutoSizeBehaviors="Height"><br> <ContentTemplate><br> <%-- ... --%><br> </ContentTemplate><br> </telerik:RadWindow><br> <telerik:RadWindow ID="id2" AutoSize="true" Modal="true" ReloadOnShow="True"<br> KeepInScreenBounds="true" VisibleStatusbar="false"<br> RegisterWithScriptManager="true" Behaviors="Move, Resize"<br> DestroyOnClose="true" runat="server" OnClientClose="CloseAddNoteWindow" Title="title2"><br> <ContentTemplate><br> ...<br> </ContentTemplate><br> </telerik:RadWindow><br> </Windows><br> </telerik:RadWindowManager>RadWindowManager1.RadAlert(ex.Message, 450, 210, ex.Message, string.Empty);Sys.Application.add_load(loadHandle); function loadHandle() { var wManager = GetRadWindowManager(); var windows = wManager.get_windows(); var wCount = windows.length; if (wCount > 3) { //close all pop-ups and display a generic message pop-up about multiple errors wManager.closeAll(); radalert('Multiple errors', null, null, 'Multiple errors'); } }There are client APIs to know when data is being requested or when the user clicks the search button but I haven't found any examples of calling an external web service (using JQuery for example) and adding the search results using a client method. Does the search box support this?
The TreeView for example supports adding RadTreeViewNodes programmatically after querying an external "ado.net web service" as you call it in your documentation. I would like to be able to this with the RadSearchBox as well: manually query an external web service then add the results to the dropdown.
If i have GroupsDefaultExpanded="false" i Want to schow only 20 Group rows
I can set PageSize="20" but howe set GroupSize="20", Is it possible?
And if i expand the Group and if it is 47 items in the Group i want show all in same page, how?
