Telerik Forums
UI for ASP.NET AJAX Forum
22 answers
2.0K+ views

I have created a content page which I will use with my Master Page.
When I drag and drop my RadGrid onto my page I get an ASP Error

<telerick:RadGrid -
Element RadGrid is not a known element.  This can occur if there is a compliation error in the website, or the web.config file is missing.

<HeaderContextMenu -
Validation (xhtml 1.0 Transiational) "Element 'header' is not supported


I started to get this error after I created my master page - Here is what I have in the Content file...

<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Organization.aspx.vb" Inherits="Basic.Organization1"   
    title="Untitled Page" %> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"></asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">  
 
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"></asp:SqlDataSource> 
    <br /> 
      
    <telerik:RadGrid ID="Organization" runat="server">  
        <HeaderContextMenu> 
        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
        </HeaderContextMenu> 
 
        <MasterTableView> 
        <RowIndicatorColumn> 
        <HeaderStyle Width="20px"></HeaderStyle> 
        </RowIndicatorColumn> 
 
        <ExpandCollapseColumn> 
        <HeaderStyle Width="20px"></HeaderStyle> 
        </ExpandCollapseColumn> 
        </MasterTableView> 
 
        <FilterMenu> 
        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
        </FilterMenu> 
    </telerik:RadGrid> 
</asp:Content> 

I can run and everything works as it should, I just get a bunch of warnings...
Rumen
Telerik team
 answered on 28 Jun 2019
10 answers
2.0K+ views
Hi ,
I must select row in my RadGrid from JavaScript on client.
I add

<ClientEvents OnRowClick="onClick_HistoryTable" />

to ClientSettings of my Grid and add to .js file function:

function onClick_HistoryTable(sender, eventArgs) {

     a) var masterTable = sender.get_masterTableView();
     b) var masterTable = $find(WorkflowsControls.HistoryGrid).get_masterTableView();
      
     masterTable.clearSelectedItems();
     1) masterTable.selectItem(masterTable.get_dataItems()[0].get_element());
     2) masterTable.selectItem(0);
     3) masterTable.get_dataItems()[0].set_selected("true");
     4) masterTable.get_dataItems()[0]._selected = true;
     5) var rowControl = masterTable.get_dataItems()[0].get_element();
        masterTable.selectItem(rowControl, true);  

}

 I tied  both cases a) and b) with all options (1-5) but it never worked.

This is using Grid:

 

<telerik:RadGrid ID="HistoryGrid" runat="server" AutoPostBack="true" CellSpacing="0"
GridLines="None" Skin="Office2010Blue" AutoGenerateColumns="False"
OnDetailTableDataBind="HistoryGrid_DatdataBind" OnNeedDataSource="HistoryGrid_NeedDataSource"
MasterTableView-ShowHeadersWhenNoRecords="False" Height="520px"> 
<ClientSettings EnablePostBackOnRowClick="True" AllowKeyboardNavigation="false" AllowColumnsReorder="True" Resizing-AllowColumnResize="True">
<Selecting AllowRowSelect="True" />
<Scrolling AllowScroll="True" UseStaticHeaders="True" /> 
<ClientEvents OnRowClick="onClick_HistoryTable" /> 
</ClientSettings>
<MasterTableView HierarchyLoadMode="Client" TableLayout="Fixed" BorderStyle="None"
ExpandCollapseColumn-Visible="True">  
<Columns>
<telerik:GridImageColumn UniqueName="ColumnImage" AllowSorting="false" DataImageUrlFields="ImageUrl"
Resizable="false" Reorderable="false">
<HeaderStyle Width="25px"></HeaderStyle>
</telerik:GridImageColumn>
<telerik:GridBoundColumn UniqueName="FileName" HeaderText="File Name" DataField="FileName"
AllowSorting="false"> 
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="StageName" HeaderText="Stage Name" DataField="StageName"> 
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="User" HeaderText="User" DataField="User">  
</telerik:GridBoundColumn> 
</Columns>
<DetailTables>
<telerik:GridTableView runat="server" AutoGenerateColumns="False">
<SortExpressions>
<telerik:GridSortExpression FieldName="Date" SortOrder="Descending" />
</SortExpressions>
</telerik:GridTableView>
</DetailTables>
</MasterTableView>
</telerik:RadGrid>

 

 

What must I do?

Regards,
  Michael Milman.
 

Eyup
Telerik team
 answered on 28 Jun 2019
8 answers
1.7K+ views

I have a radgrid I am using to hold data about client interests likes and dislikes. I need the user to be able to filter the results. I was using radfilter, and it works, but is very complicated for the end user and is too confusing. I thought that the way it is set up in the rad grid itself may be easier. 

Though from what I can tell, I can only do one expression at a time. I cannot do "and" and "or" expressions. Say I wanted to see who likes TV-Cartoon and who likes TV-Outdoors. Is there a way I can make BOTH of those appear? 

As far as I can tell, you can only type one thing in the text box, use the filter drop down (I just used contains) and have that one expression show. Is there a way to do multiple?

Attila Antal
Telerik team
 answered on 27 Jun 2019
1 answer
244 views

     Hi,

        Very new to telerik. I have a radgrid that has a radcombobox in each row using an edititemtemplate. For each row I'm trying to get the value in the data source for the radgrid and then set the radcombobox to that same value. Eventually I want to choose a value from the radcombox and save the grid using that value for that same field in the radgrid. So there is one field in the radgrid that is always tied to the radcombobox for any row

   After some digging I figured out how to get the value in the radgrid for the field I want in the ItemDatabound event:

            if (e.Item is GridDataItem)

            {

                GridDataItem item = (GridDataItem)e.Item;
                string Line = item.GetDataKeyValue("WO_ID").ToString();
                //string MachineID = (item["Machine"].Controls[0]).ToString();
                string s = ((DataRowView)e.Item.DataItem)["MachineID"].ToString();
                RadComboBox cboMachine = item.FindControl("cboMachine") as RadComboBox;
                cboMachine.SelectedValue = s;

            }

What I would like to do now is take the the "s" variable and set the combobox to that value (this would be on the first display of the screen). As you can see in the line:

 cboMachine.SelectedValue = s;

I was attempting to set the combobox to the value that is read into the radgrid;unfortunately the findcontrol I used did not find the combobox control. What I think I found in my naive understanding of this is that I couldn't get to combo box as a control and set it as long as I was using this if statement

"if (e.Item is GridDataItem)"

It seemed I need to use GridEditFormItem.The problem is that would involve require another call to ItemDataBound and I'd lose the value I got from the grid is the variable "s". I suppose I could make "s" a session variable but that seems clumsy and not decent design. I'm sure I'm missing something.

Any help  would be appreciated.

 

Thanks,

Neil

 

Eyup
Telerik team
 answered on 27 Jun 2019
1 answer
135 views

In a RadTreeList, when a user clicks on a checkbox, I want to check its child nodes, but only ones that are enabled. The issue is that there is no API to determine if a node is enabled. I’m have been trying with JQuery selector, so far unsuccessfully.

I include the code as follows.



<telerik:RadTreeList  ID="rtlFolderView" runat="server" OnNeedDataSource="rtlFolderView_NeedDataSource" Width="100%" Height="100%"
ParentDataKeyNames="ParentDocumentFolderId" DataKeyNames="DocumentFolderId" AllowPaging="false" AllowMultiItemSelection="true" 
                            OnItemDataBound="rtlFolderView_ItemDataBound" AutoGenerateColumns="false" AllowSorting="true" ExpandCollapseMode="Server">
                            <ClientSettings>
                                <Selecting AllowItemSelection="true" />
                                <ClientEvents OnItemSelected="clientNodeChecked"  />
</ClientSettings>

//javascript.
function clientNodeChecked(sender, eventArgs) {
                var dataItem = eventArgs.get_item();
                var childNodes = dataItem.get_childItems();
                if (childNodes === null) {
return;
                }
                var isChecked = dataItem.get_selected();
                UpdateAllChildren(childNodes, isChecked);
            }

            function UpdateAllChildren(nodes, checked) {
                var i = 0;
var nodeCount = nodes.length;
                for (i = 0; i < nodeCount; i++) {
                    //console.log(nodes[i]._element.childNodes);
                    var found = false;
                    //$(nodes[i]._element.childNodes).each(function (index, elmnt) {
                        //console.log((elmnt));
                        //if (index > 0 &&  $(elmnt).attr('class').indexOf('aspNetDisabled') >= 0) {
                        //if (el.length > 0) {
                        //    found = true;
                        //    console.log(el);
                        //}
                    //});
                    //var chk = $(nodes[i]).find('input[type=checkbox]').first();
                    //var disabled = $(chk).attr('disabled');
if (!found) {
                            nodes[i].set_selected(checked);
                    }
                }
            }

 

Any help would be appreciated.

Rumen
Telerik team
 answered on 27 Jun 2019
1 answer
149 views

Hi,

I have the following code:

<script>
Sys.Application.add_load(FormLoad) 
 
 function FormLoad()
 
  {
 
    HideOpportunity(true);
  } 
   
 
    function HideOpportunity(sender, eventArgs) {
  var x = document.getElementById("OpportunitySetUp");
   if (x.style.display === "none") {
    x.style.display = "block";
  } else {
    x.style.display =  "none";
  }
       
    var ForecastingGrid = document.getElementById("ForecastingRevenue");
   
     ForecastingGrid.style.display = "none";
 
     
    var RevenueForecasting  = $sq("[id$='cboRevenueForecasting']").val();
     
     if (RevenueForecasting == "Manual Phasing") {
        ForecastingGrid.style.display = "block";
    } else {
        ForecastingGrid.style.display = "none";
    }
     
  }
  </script>

 

This seems to work perfectly up until the combobox value is selected. The code only seems to execture and show the "ForcastingRevenue" section when "autopostback = true" is added to the combobox properties but this is useless as it refreshes the page of the form, resetting the other .style.display element of "OpportunitySetUp".

Is there a way to have the form load without adding in the autopostback property? I'm using the Cora Sequence framework if that is any use. 

 

Thanks for any help!

Rumen
Telerik team
 answered on 27 Jun 2019
1 answer
149 views
Hi,

I have the following code:

<script>
Sys.Application.add_load(FormLoad)
  
 function FormLoad()
  
  {
  
    HideOpportunity(true);
  }
    
  
    function HideOpportunity(sender, eventArgs) {
  var x = document.getElementById("OpportunitySetUp");
   if (x.style.display === "none") {
    x.style.display = "block";
  } else {
    x.style.display =  "none";
  }
        
    var ForecastingGrid = document.getElementById("ForecastingRevenue");
    
     ForecastingGrid.style.display = "none";
  
      
    var RevenueForecasting  = $sq("[id$='cboRevenueForecasting']").val();
      
     if (RevenueForecasting == "Manual Phasing") {
        ForecastingGrid.style.display = "block";
    } else {
        ForecastingGrid.style.display = "none";
    }
      
  }
  </script>

 

When the form loads, the code works, everything is hidden. When i click on the "Opportunity Set Up" the first block shows.

Then within this "Opportunity Set Up" there's a comboBox, and if the value "Manual Phasing" is selected, the 2nd section "ForecastingGrid" shows.

This seems to work perfectly up until the combobox value is selected. The code only seems to execute and show the "ForcastingRevenue" section when "autopostback = true" is added to the combobox properties but this is useless as it refreshes the page of the form, resetting the other .style.display element of "OpportunitySetUp".

Is there a way to have the form load without adding in the autopostback property? I'm using the Cora Sequence framework if that is any use. 

Thanks for any help!

Rumen
Telerik team
 answered on 27 Jun 2019
10 answers
196 views

Hi Rumen,

I found one more issue in rad editor after taking latest version 2018.2.710.45 telerik dll.
While i trying to upload any image from rad editor tools and second time trying to edit the editor,Editor tools not coming.
 It was working fine in version 2013.2.717.45 but it is not working in 2018.2.710.45(which i upgrade) and also not working with latest version 2019.1.215.

Steps to reproduce
1.click on editor, it will be edited and rad tools will come on the top
2.try to add image from tools(insert/cancel from popup).
3.click outside the editor.
4.again click on editor it will be edited but toolbar  is not showing.

when i am using set_useClassicDialogs(true) then only it happens.

If i passed false then its working fine.

 

code given below.

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Metricaadmin.WebForm1" %>

<html>
<head>

    <script type="text/javascript" src="js/jquery-2.2.4.min.js"></script>

    <style>
        .annotation {
            border: 1px solid red;
            width: 600px;
            position: relative;
        }
    </style>
</head>

<body>


    <script type="text/javascript">
        var isEditing = false;
        var currentEditor;

        function setEditorVisible(toShow) {
            var editorWrapper = $get("editorWrapper");

            if (toShow) {
                editorWrapper.style.visibility = "visible";
                editorWrapper.style.position = "";
            }
            else {
                editorWrapper.style.visibility = "hidden";
                editorWrapper.style.position = "absolute";
            }
        }

        function editAnnotation(target, ev) {
            //Cancel the event - prevent it to reach body    
            //TODO: Add more stuff to cancel it in Mozilla    
            ev.cancelBubble = true;
            ev.returnValue = false;

            //Check if already editing    
            if (isEditing) return;

            var editorWrapper = $get("editorWrapper");
            var editor = $find("<%=RadEditor1.ClientID %>");

            //Position the editor next to the div, hide the div    
            var bounds = $telerik.getBounds(target);

            //Do not set the size explicitly anymore - witn new version when using abs positioning    
            editor.setSize(bounds.width, bounds.height);

            target.parentNode.insertBefore(editorWrapper, target);

            setEditorVisible(true);

            currentEditor = editor;


            target.style.display = "none";

            //set editor content    
            editor.set_html(target.innerHTML);

            //Prevent from moving the editor to another annotation while editing current one    
            isEditing = true;

            setTimeout("showEditor();", 1000);
        }

        function showEditor() {
            currentEditor.onParentNodeChanged();
        }


    </script>

    <form runat="server">

        <asp:ScriptManager ID="s1" runat="server"></asp:ScriptManager>
        <script type="text/javascript">
            var currentEditorObject = null;
            var focusEditor = null;

            function e1_ClientLoad(editor, eventArgs) {
                editor.set_useClassicDialogs(true);
                editor.removeShortCut("InsertTab");
                currentEditorObject = editor;
            }

            function hideEditor() {
                if (isEditing) {

                    var editorWrapper = $get("editorWrapper");

                    var parent = editorWrapper.parentElement;
                    while (parent.style.position != "absolute") {
                        parent = parent.parentElement;
                    }

                    var st = parent.scrollTop;
                    var sl = parent.scrollLeft;



                    var target = $($(editorWrapper).parent()).children().first();
                    var newVal = currentEditorObject.get_html(true);

                    $(target).next().val(newVal); //hidden input tag
                    $(target).html(newVal); //anchor tag
                    setEditorVisible(false);
                    $(target).show();
                    target.focus();

                    parent.scrollTop = st;
                    parent.scrollLeft = sl;
                }

                isEditing = false;
            }
            ////MET-8615
            //Radeditor edit error after telerik upgrade 
            //hot fix from  telerik website
            Telerik.Web.UI.Editor.Utils.isWindowDestroyed = function (window) {
                var doc;
                try {
                    doc = window.document;
                } catch (e) {
                    return true;
                }
                if (!doc) {
                    return true;
                }
                return !doc.defaultView && !doc.parentWindow;
            }
        </script>
        <div id="tempEditorWrapper" style="visibility: hidden; position: absolute; top: 0px; z-index: 10002" class="tempeditorWrapper">

        <div id="editorWrapper" style="visibility: hidden; position: absolute; top: 0px; z-index: 10002" onclick="hideEditor();" class="editorWrapper">

            <div class="editorBackground"></div>

            <div class="editorBorder">
            <telerik:RadEditor runat="server" ID="RadEditor1" OnClientLoad="e1_ClientLoad" ToolbarMode="ShowOnFocus" 
                Height="300px" EditModes="Design">
                <Tools>
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool Name="AjaxSpellCheck" />
                        <telerik:EditorTool Name="Cut" />
                        <telerik:EditorTool Name="Copy" />
                        <telerik:EditorTool Name="PasteStrip" />
                        <telerik:EditorTool Name="Bold" />
                        <telerik:EditorTool Name="Italic" />
                        <telerik:EditorTool Name="Underline" />
                        <telerik:EditorTool Name="Superscript" />
                        <telerik:EditorTool Name="Subscript" />
                        <telerik:EditorTool Name="FormatStripper" />
                        <telerik:EditorTool Name="JustifyLeft" />
                        <telerik:EditorTool Name="JustifyRight" />
                        <telerik:EditorTool Name="JustifyCenter" />
                        <telerik:EditorTool Name="JustifyFull" />

                        <telerik:EditorTool Name="InsertLink" />
                        <telerik:EditorTool Name="InsertSnippet" />
                        <telerik:EditorTool Name="ImageManager" />
                        <telerik:EditorTool Name="InsertTable" />
                        <telerik:EditorTool Name="ApplyClass" />
                        <telerik:EditorTool Name="InsertSymbol" />
                        <telerik:EditorTool Name="InsertParagraph" />
                        <telerik:EditorTool Name="InsertOrderedList" />
                        <telerik:EditorTool Name="InsertUnorderedList" />
                    </telerik:EditorToolGroup>
                </Tools>
                <Modules>
                    <telerik:EditorModule Name="RadEditorStatistics" />
                </Modules>
                <DocumentManager SearchPatterns="*.*" ViewPaths="~/" UploadPaths="~/" />
                <ImageManager ViewPaths="~/" UploadPaths="~/" />
                <CssFiles>
                    <telerik:EditorCssFile Value="~/styles/editor.css" />
                </CssFiles>
                <Content>   
       
       
                </Content>
            </telerik:RadEditor>
        </div>
            </div>
            </div>

        click to edit an annotation.<br />
        To Cancel editing - double-click outside any div, in the BODY<br />
        To save the changes to the edited DIV click on Save button     
        <br />
        <br />
        Annotation 1    
        <div class="annotation" onclick="editAnnotation(this, event)">
            This is sample content     
        </div>


    </form>

</body>
</html>

Rajiv
Top achievements
Rank 1
 answered on 27 Jun 2019
2 answers
151 views

I have a Hierarchy grid with a using a Master TableView and one DetailTable that looks like this

 

<telerik:RadGrid runat="server" ID="PrintRadGrid" OnDetailTableDataBind="PrintRadGrid_DetailTableDataBind"
                                AutoGenerateColumns="false" OnPageIndexChanged="PrintRadGrid_PageIndexChanged" OnPageSizeChanged="PrintRadGrid_PageSizeChanged"
                                GroupPanelPosition="Top" OnUpdateCommand="PrintRadGrid_UpdateCommand" OnInsertCommand="PrintRadGrid_InsertCommand"
                                AllowPaging="true"  OnNeedDataSource="PrintRadGrid_NeedDataSource">
                                <GroupingSettings CollapseAllTooltip="Collapse all groups" />
                                <PagerStyle Mode="NextPrevAndNumeric" />
                                <MasterTableView CommandItemDisplay="Top" DataKeyNames="CaseId_Fk,LatentsId" HierarchyDefaultExpanded="false" RetainExpandStateOnRebind="true">
                                    <Columns>
                                        <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="PrintsEditCommandColumn"></telerik:GridEditCommandColumn>
                                        <telerik:GridDateTimeColumn DataField="SubmittedDate" HeaderText="Submitted Date" SortExpression="SubmittedDate"
                                            PickerType="DatePicker" EnableTimeIndependentFiltering="true" DataFormatString="{0:MM/dd/yyyy}">
                                        </telerik:GridDateTimeColumn>
                                        <telerik:GridBoundColumn UniqueName="SubmittedBy" HeaderText="Submitted By" DataField="SubmittedBY"></telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn UniqueName="SubmittedByNoneOCSO" HeaderText="Submitted By None Employee" DataField="SubmittedByNoneOcso"></telerik:GridBoundColumn>
                                        <telerik:GridTemplateColumn AllowFiltering="false">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnDeleteParent" CssClass="btn btn-xs btn-danger" Text="Delete" runat="server" OnClick="btnDeletePrintParent_Click" OnClientClick="confirmAspButton(this); return false;"></asp:Button>
                                                    </ItemTemplate>
                                                </telerik:GridTemplateColumn>
                                    </Columns>
                                    <DetailTables>
                                        <telerik:GridTableView Name="PrintsLiftedGrid" Width="100%" DataKeyNames="LatentsId_FK"
                                             CommandItemDisplay="Top" EnableNoRecordsTemplate="true" HierarchyDefaultExpanded="false">
                                            <NoRecordsTemplate>
                                                <asp:Label ID="Label8" runat="server" CssClass="label" Text="No charges have been added." />
                                            </NoRecordsTemplate>
                                            <Columns>
                                                <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                                                 </telerik:GridEditCommandColumn>
                                                <telerik:GridDateTimeColumn DataField="LiftedDate" HeaderText="Lifted Date Date" SortExpression="LiftedDate"
                                                    PickerType="DatePicker" EnableTimeIndependentFiltering="true" DataFormatString="{0:MM/dd/yyyy}">
                                                </telerik:GridDateTimeColumn>
                                                <telerik:GridBoundColumn UniqueName="ExhibitNum" HeaderText="Exhibit Number" DataField="ExhibitNum"></telerik:GridBoundColumn>
                                                <telerik:GridBoundColumn UniqueName="LocationLifted" HeaderText="Location Lifted" DataField="LocationLifted"></telerik:GridBoundColumn>
                                                <telerik:GridTemplateColumn AllowFiltering="false">
                                                    <ItemTemplate>
                                                        <asp:Button ID="btnDeletePrintChild" CssClass="btn btn-xs btn-danger" Text="Delete" runat="server" OnClick="btnDeletePrintChild_Click" OnClientClick="confirmAspButton(this); return false;"></asp:Button>
                                                    </ItemTemplate>
                                                </telerik:GridTemplateColumn>
                                             </Columns>
                                            <CommandItemStyle BackColor="#AfAFa4" Font-Bold="true" Height="50px"
                                                VerticalAlign="Bottom" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" />
                                            <CommandItemTemplate>
                                                <div class="boldLabel"> Prints</div>
                                                <asp:Button runat="server" ID="lbAddPrint" Text="ADD NEW PRINT" CommandName="InitInsert"
                                                    CssClass="rgButtonText" CausesValidation="false" />
                                            </CommandItemTemplate>
                                            <ParentTableRelation>
                                                <telerik:GridRelationFields DetailKeyField="LatentsId_FK" MasterKeyField="LatentsId" />
                                            </ParentTableRelation>
                                        </telerik:GridTableView>

 

In the MasterTable View and the the DetailTable I want to use a web control for Inserting and Updating the records.  I have tried adding this code:

<EditFormSettings UserControlName="SubjectEdit.ascx" EditFormType="WebUserControl" PopUpSettings-Modal="false">
                                                <EditColumn UniqueName="EditCommandColumn1"></EditColumn>
                                            </EditFormSettings>

 

Put keep getting this  error :Telerik.Web.UI.GridTableViewCollection must have items of type 'Telerik.Web.UI.GridTableView'. 'EditFormSettings' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'.

What is the syntax to use the web control page and where within MasterTableView and DetailTableView do I put it?

Perry
Top achievements
Rank 1
 answered on 26 Jun 2019
5 answers
589 views
I have a dropdownlist located inside RadAjax Panel (Build Q4 2006 ) with AutoPostBack option enabled and SelectedIndexChanged event is handled. Whenever loading the page a javascript exception is through "Expected ')'".

The problem is related to the generated Javascript handler added to the dropdownlist "onchange" client event. I have tried to locate a solution for this issue through all threads but couldn't locate anything helpful for this issue.

Here is the aspx markup used by the page

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="radA" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <radA:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="200px" width="300px" ClientIDMode="AutoID" EnableOutsideScripts="True">
            <br />
            <asp:DropDownList ID="ddlItems" runat="server" AutoPostBack="True">
                <asp:ListItem>Item1</asp:ListItem>
                <asp:ListItem>Item2</asp:ListItem>
            </asp:DropDownList>
            <br />
            <br />
            <asp:Label ID="lblTest" runat="server"></asp:Label>
           
        </radA:RadAjaxPanel>
    </div>
    </form>
</body>
</html>



Rumen
Telerik team
 answered on 25 Jun 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?