| <telerik:RadComboBox ID="ddlProfession" runat="server" |
| AppendDataBoundItems="True" DataSourceID="dsProfession" |
| DataTextField="Name" DataValueField="GroupRef" |
| MarkFirstMatch="True" Skin="WindowsXP" Width="200px" |
| AutoPostBack="True" |
| ToolTip="Select a Profession for the fee quote line from the drop down list"> |
| <Items> |
| <telerik:RadComboBoxItem runat="server" Text="NONE" Value="-NONE-" /> |
| </Items> |
| </telerik:RadComboBox> |
| <asp:ObjectDataSource ID="dsProfession" runat="server" |
| SelectMethod="ListGroup" TypeName="dbGroup2 |
| CacheDuration="1800" |
| OldValuesParameterFormatString="original_{0}"> |
| <SelectParameters> |
| <asp:Parameter DefaultValue="false" Name="ShowArchived" Type="Boolean" /> |
| </SelectParameters> |
| </asp:ObjectDataSource> |
Hi,
we are using ajax extender controls and radgrid in same form, when we try to refresh the grid using the following javascript code:
window["<%=rgJobSentTechnicianList.ClientID%>"].AjaxRequest('<%=rgJobSentTechnicianList.UniqueID%>', 'Refresh');
we are getting javascript error( "Sys.InvalidOperationException: Two Componentswith the same id "). Please help me to resolve this problem..
Thanks in Advance,
Karthik
| <%@ Page Language="vb" MasterPageFile="Main.Master" AutoEventWireup="false" CodeBehind="UTEPagineDemo.aspx.vb" Inherits="WebBIODemo.UTEPagineDemo" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> |
| <div style="height:500px"> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| <!-- content inizia qui --> |
| <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> |
| <script type="text/javascript"> |
| function RowDblClick(sender, eventArgs) { |
| sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical()); |
| } |
| </script> |
| </telerik:RadCodeBlock> |
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID=""> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="" LoadingPanelID="rlpUTEPagineGRID" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| <telerik:RadAjaxLoadingPanel ID="rlpUTEPagineGRID" runat="server" Skin="Default" /> |
| <div> |
| <telerik:RadGrid ID="grdUTEPagine" runat="server" |
| GridLines="None" |
| AllowPaging="false" |
| AllowSorting="True" |
| AutoGenerateColumns="False" |
| ShowStatusBar="true" |
| AllowAutomaticDeletes="True" |
| AllowAutomaticInserts="True" |
| AllowAutomaticUpdates="True" |
| HorizontalAlign="NotSet" |
| DataSourceID="objDS"> |
| <MasterTableView CommandItemDisplay="TopAndBottom" DataSourceID="objDS" |
| DataKeyNames="CODICELINGUA,CODICEFORM" EditMode="PopUp"> |
| <Columns> |
| <telerik:GridEditCommandColumn UniqueName="EditRecord" Resizable="false" ButtonType="LinkButton"> |
| <HeaderStyle Width="48px" /> |
| </telerik:GridEditCommandColumn> |
| <telerik:GridBoundColumn DataField="DESCRIZIONE" HeaderText="Descrizione" SortExpression="DESCRIZIONE" |
| UniqueName="colDESCRIZIONE" FilterImageToolTip="Filtro per descrizione" Resizable="true"> |
| <HeaderStyle Width="310px" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="DESCRIZIONEAIUTO" HeaderText="Descrizione AIUTO" SortExpression="DESCRIZIONEAIUTO" |
| UniqueName="colDESCRIZIONEAIUTO" FilterImageToolTip="Filtro per descrizione inglese" Resizable="true"> |
| <HeaderStyle Width="310px" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="ANNOTAZIONI" HeaderText="ANNOTAZIONI" SortExpression="ANNOTAZIONI" |
| UniqueName="colANNOTAZIONI" FilterImageToolTip="Filtro per descrizione inglese" Resizable="true"> |
| <HeaderStyle Width="310px" /> |
| </telerik:GridBoundColumn> |
| <telerik:GridButtonColumn CommandName="Delete" ButtonType="linkbutton"></telerik:GridButtonColumn> |
| </Columns> |
| <EditFormSettings InsertCaption="New Item" CaptionDataField="CODICELINGUA,CODICEFORM" |
| CaptionFormatString="Edit CODICELINGUA: {0}, Edit CODICEFORM: {0}" EditFormType="Template"> |
| <PopUpSettings Modal="true" /> |
| <FormTemplate> |
| <table id="Table1" cellspacing="1" cellpadding="1" width="250" border="0"> |
| <tr> |
| <td> |
| </td> |
| <td> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Descrizione: |
| </td> |
| <td> |
| <asp:TextBox ID="TextBox10" Text='<%# Bind( "DESCRIZIONE") %>' runat="server"> |
| </asp:TextBox> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Descrizione Aiuto: |
| </td> |
| <td> |
| <asp:TextBox ID="TextBox11" Text='<%# Bind( "DESCRIZIONEAIUTO") %>' runat="server"> |
| </asp:TextBox> |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Annotazioni: |
| </td> |
| <td> |
| <asp:TextBox ID="TextBox12" Text='<%# Bind( "ANNOTAZIONI") %>' runat="server"> |
| </asp:TextBox> |
| </td> |
| </tr> |
| </table> |
| <table style="width: 100%"> |
| <tr> |
| <td align="right" colspan="2"> |
| <asp:Button ID="Button1" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' |
| runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'> |
| </asp:Button> |
| <asp:Button ID="Button2" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel"> |
| </asp:Button> |
| </td> |
| </tr> |
| </table> |
| </FormTemplate> |
| </EditFormSettings> |
| </MasterTableView> |
| <ClientSettings> |
| <ClientEvents OnRowDblClick="RowDblClick" /> |
| </ClientSettings> |
| </telerik:RadGrid> |
| <asp:ObjectDataSource |
| ID="objDS" |
| runat="server" |
| SelectMethod="selectUTEPagine" |
| UpdateMethod="updateUTEPagine" |
| InsertMethod="insertUTEPagine" |
| DeleteMethod="deleteUTEPagine" |
| SortParameterName="orderBy" |
| TypeName="_classes.GestioneLingue" |
| ConflictDetection="CompareAllValues" |
| OldValuesParameterFormatString="orig_{0}"> |
| <SelectParameters> |
| <asp:ControlParameter ControlID="grdUTEPagine" Name="filterBy" PropertyName="MasterTableView.FilterExpression" Type="String" /> |
| </SelectParameters> |
| <UpdateParameters> |
| <asp:Parameter Name="CODICELINGUA" Type="String" /> |
| <asp:Parameter Name="CODICEFORM" type="Int32" /> |
| <asp:Parameter Name="DESCRIZIONE" Type="String" /> |
| <asp:Parameter Name="DESCRIZIONEAIUTO" Type="String" /> |
| <asp:Parameter Name="ANNOTAZIONI" Type="String" /> |
| <asp:Parameter Name="orig_CODICELINGUA" Type="String" /> |
| <asp:Parameter Name="orig_CODICEFORM" Type="Int32" /> |
| </UpdateParameters> |
| <InsertParameters> |
| <asp:Parameter Name="CODICELINGUA" Type="String" /> |
| <asp:Parameter Name="CODICEFORM" type="Int32" /> |
| <asp:Parameter Name="DESCRIZIONE" Type="String" /> |
| <asp:Parameter Name="DESCRIZIONEAIUTO" Type="String" /> |
| <asp:Parameter Name="ANNOTAZIONI" Type="String" /> |
| </InsertParameters> |
| <DeleteParameters> |
| <asp:Parameter Name="orig_CODICELINGUA" Type="String" /> |
| <asp:Parameter Name="orig_CODICEFORM" Type="Int32" /> |
| </DeleteParameters> |
| </asp:ObjectDataSource> |
| </div> |
| </div> |
| </asp:Content> |
Hello all!!!
How to show a few columns from a different tables in RadGrid? I'm want to try a Telerik OpenAccessDataSource, but i don't know how to use it. This tables in herarchy. Help me please!
Thanks in advance.


Hi there,
We use the following setup:
Development Enviroment:
Telerik.Web.UI - Runtime Ver: 2.0.50727 - Ver: 2009.2.826.20
Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework Version 2.0.50727
Microsoft-IIS/6.0
ASP.NET 2.0 AJAX Extensions 1.0
Production Enviroment:
Telerik.Web.UI - Runtime Ver: 2.0.50727 - Ver: 2009.2.826.20
Windows Server 2003R2 - 32bit Service Pack 1
IIS v6.0
IIS Security Patches, Service Packs, etc...: none
Antivirus Software: none
Fire Wall Software: none
.NET Frameworks Installed: .Net 2.0 SP2, .Net 3.0 SP2, .Net 3.5 SP1
MS Ajax Versions Installed: ASP.Net 2.0 Ajax Extensions 1.0
Line Speed between Server and Internet: 4096kb
Any other software: MS SQL 2005, CA Arcserve Backup
In the development environment the Ajax operations work perfectly, but in the Production environment they are consistently unreliable. They work only sometimes. This is evident in that if the Ajax transaction has fired as you will see the RadLoadingPanel. If the Ajax transaction did not fire you will not see the loading panel and you will see the browsers progress bar indicating that the page is doing a regular postback, and of course you will see the entire page reload.
We have issues with scenarios like you select a value from a drop menu and then press an Ajaxified button to send that value and get a response back based on it, and the page does a regular PostBack instead of Ajax transaction, and the default value gets sent not the one the User selected from the drop menu.
In our testing of these issues in the production environment, we have found that if we disable Ajax on these pages, by removing the components from the RadAjaxManager, and republishing the site, we no longer have the problem of the default value being sent instead of the one the User selected. This of course, is not what we want to do. We want to use Ajax in our site.
These issues all happen around Ajaxified controls, and only happen in the Production environment. We have none of these type of issues in the development environment.
We publish the site with VS2005 and test it on a development server here, and everything is perfect, then we copy those same files to the Production Server and we have the issues outlined above.
How can I get to the bottom of this issue and resolve it so we can use Ajax in our site?
Regards,
Scott.