I have a radgrid that takes 20 + seconds to databind.
Each row has a button with databound command argument
<telerik:GridTemplateColumn DataField="EnableScript" HeaderText="EnablScript" UniqueName="EnableScript">
<ItemTemplate>
<telerik:RadButton ID="EnableButton" runat="server" CommandArgument='<%#Eval("EnableScript")%>' Text="Enable poller" OnClick="EnableButton_Click"/>
</ItemTemplate>
</telerik:GridTemplateColumn>
Is it possible to update the radbutton background per radgrid row, without rebinding the entire radgrid?
Grtz,
Theo (NL)
Parent Code
01.<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Starter.aspx.cs" Inherits="WebWindows.Starter" %>02. 03.<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>04. 05.<!DOCTYPE html>06. 07.<html xmlns="http://www.w3.org/1999/xhtml">08.<head runat="server">09. <title></title>10. 11. <script type="text/javascript">12. function clientShow(sender, eventArgs)13. {14. var txtInput = document.getElementById("txtInput");15. sender.argument = txtInput.value;16. }17. function clientClose(sender, args)18. {19. if (args.get_argument() != null)20. {21. txtInput.value = args.get_argument();22. }23. }24.</script>25. 26. 27.</head>28.<body>29. <form id="form1" runat="server">30. <telerik:RadScriptManager ID="RadScriptManager1" runat="server">31. <Scripts>32. <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">33. </asp:ScriptReference>34. <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">35. </asp:ScriptReference>36. <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">37. </asp:ScriptReference>38. </Scripts>39. </telerik:RadScriptManager>40. <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">41. </telerik:RadAjaxManager>42. <div>43. 44. <telerik:RadWindow ID="RadWindow1" runat="server" Height="600px" Modal="True" Width="800px" NavigateUrl="Childform.aspx" OnClientClose="clientClose" OnClientShow="clientShow" OpenerElementID="showDialog" ReloadOnShow="True">45. </telerik:RadWindow>46. <br />47. <telerik:RadDockLayout ID="RadDockLayout1" Runat="server">48. <telerik:RadDockZone ID="RadDockZone1" Runat="server" Height="300px" Width="1220px">49. <telerik:RadDock ID="RadDock10" Runat="server" Height="136px" Width="1182px">50. <ContentTemplate>51. <br />52. <br />53. <br />54. 55. 56. 57. </ContentTemplate>58. </telerik:RadDock>59. </telerik:RadDockZone>60. </telerik:RadDockLayout>61. 62. <asp:TextBox ID="txtInput" runat="server"></asp:TextBox>63. <asp:Button ID="showDialog" runat="server" OnClientClick="clientShow" Text="Open" />64. 65. <br />66. 67. </div>68. </form>69.</body>70.</html>
Child page code :
01.<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChildForm.aspx.cs" Inherits="WebWindows.ChildForm" %>02. 03.<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>04. 05.<!DOCTYPE html>06. 07.<html xmlns="http://www.w3.org/1999/xhtml">08.<head runat="server">09. <title></title>10. 11. <script type="text/javascript">12. 13. function pageLoad() {14. 15. txtInput = document.getElementById('txtUserInput');16. var currentWindow = GetRadWindow();17. txtInput.value = currentWindow.argument;18. 19. 20. }21. 22. 23. function GetRadWindow() {24. var oWindow = null;25. if (window.radWindow)26. oWindow = window.radWindow;27. else if (window.frameElement.radWindow)28. oWindow = window.frameElement.radWindow;29. return oWindow;30. }31. 32. 33. 34. 35. //Close the dialog and return the argument to the OnClientClose event handler36. function returnArg() {37. 38. var oWnd = GetRadWindow();39. oWnd.close(txtInput.value);40. }41. 42.</script> 43. 44. 45. 46. 47.</head>48.<body>49. <form id="form1" runat="server">50. <div>51. 52. 53. 54. 55. 56. <asp:ScriptManager ID="ScriptManager1" runat="server" OnLoad="Page_Load">57. </asp:ScriptManager>58. 59. <asp:TextBox ID="txtUserInput" runat="server"></asp:TextBox>60. <br />61. <br />62. <asp:Button ID="Button1" runat="server" Text="Close With Argument" OnClientClick="returnArg(); return false;" />63. <br />64. 65. 66. 67. 68. 69. 70. 71. </div>72. </form>73.</body>74.</html>
** The code working perfect if Textbox and Button outside RadDock Control, But inside doesn't work?
Check attached video files.
Thanks
Vmax
(If this is the wrong section to post into, please advise and I'll repost in the proper spot.)
So I need some assistance as I have an idea of what I need, but putting it into code is the challenge. (Or pseudo code).
a) Can't I utilize the RadGrid object with different datasets depending on the 'dropdown box' selections?
b) Can't I bind the data, dynamically display headers, AND, have the dataset fields data grouped into filters?
I'm challenged, that I need different RadGrids for different datasets.
(Read between the lines, my engineer is saying it's difficult; but my experience with Telerik isn't noob, thus it doesn't sound difficult.)

Hello,
I am trying to pass two parameters (Red and Blue outlined in attachment) to a radWindow via a Cell double click, which I will then populate a grid. I am able to pass the datakey (Red outlined) value on row double click thanks to this demo, but have had no luck in capturing the Column name to use in the querystring.
Is there a Cell Double click event that I can use to make this happen or can this be done with Row Double click that captures the cell index I click on?
The second attachment shows the window opened based on the demo link, but how can I get the querystring URL to show:
Bklg_SupportStatusWIPDetails.aspx?MPC=ABAL1TC7XB00?AREA=DB
where Area is another parameter in my datasource that is looking for the column name.
Thank you in advance!

To run a vb.net 2010 web form application, I have previously used Telerik ASP.NET UI ASO.NET_AJAX_2016 Dev.msi download files so the application would run successfully.
In the past I have found out that if I do not have the current Telerik tool installed, the application had unpredictable results. Basically when the .net application ran on the test application server, I got errors when I accessed the Telerik tool contained within the .net application. Is this still the same issue? Can I continue to use the version of the Telerik tool the application is accessing currently ? If so, can you tell me how long I can continue to use the same version of the Telerik tool?
If not, can you tell me what version of the Telerik tool I need to install?
**I am asking this question since I do not know if my latest install of the Telerik ASP.NET UI ASO.NET_AJAX_2017_1_228_Dev.msi installed correctly.
<
telerik:RadComboBox ID="rcbProcessGroup" DataSourceID="dsGetProcessGroups" runat="server" Skin="WebBlue" AppendDataBoundItems="true" Font-Size="12px" AutoPostBack="true" DataTextField="ProcGroupName" DataValueField="PgrpID" Width="196px">
<Items>
<telerik:RadComboBoxItem runat="server" Text="All Processes" Value="0" />
</Items>
</telerik:RadComboBox>
<telerik:RadComboBox ID="ddlAcc" runat="server" DataValueField="Value" DataTextField="Text" Width="270" AllowCustomText="true" ExpandDirection="Up" AutoPostBack="true" Height="150" CausesValidation="true" HighlightTemplatedItems="true" OnItemDataBound="ddlAcc_ItemDataBound" OnSelectedIndexChanged="ddlAcc_SelectedIndexChanged"> <HeaderTemplate> <asp:CheckBox runat="server" ID="SelectAll" /> <asp:Label runat="server" ID="hdrLabel" Font-Bold="false" AssociatedControlID="SelectAll">Select All</asp:Label> </HeaderTemplate> <ItemTemplate> <div onclick="StopPropagation(event)"> <asp:CheckBox runat="server" ID="chk1" /> <asp:Label runat="server" ID="label1" Font-Bold="false" Font-Size="Smaller" AssociatedControlID="chk1"><%# DataBinder.Eval(Container, "Text") %></asp:Label> </div> </ItemTemplate> </telerik:RadComboBox> <asp:CustomValidator ID="cvAccNos" runat="server" ErrorMessage="<%$ Resources: ErrorMessages, error.missing.accountnumber %>" OnServerValidate="cvAccNos_ServerValidate" ControlToValidate="ddlAcc" Text="<%$ Resources: ErrorMessages, error.validatoricon %>" EnableClientScript="False" />protected void cvAccNos_ServerValidate(object sender, ServerValidateEventArgs args) { args.IsValid = !string.IsNullOrEmpty(GetCheckBoxValues()); }