Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
87 views
Hello,

Is there a way to know for which column a data cell is related to. Because I have to save a row, then put the next row in edit mode and give the focus to the cell which is in the same column than it was in the last selection. From now I almost made it but I can't find anyway to find the column index of the current selected cell.

Thanks 
Pierre
 
Princy
Top achievements
Rank 2
 answered on 04 Jun 2013
1 answer
96 views
Hi guys,

I have 5 Comboboxes, 1 main comboBox (Account) 3 additional ComboBoxes and 1 comboBox with a treeview that gets populated depending on the selected Value from the Main ComboBox. .

What is supposed to be happening is when i change select a new value from the Main comboBox all the other ones should be re populated with new data or cleared.

here is an example of how i am clearing the comboBoxes that depend on the Main one.

protected void cboAccount_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
        {
            RadComboBox cboSite = (RadComboBox)fvIncidentEdit.FindControl("cboSite");
            RadTreeView trvSite = ((RadTreeView)cboSite.Controls[2].FindControl("trvSite"));
            trvSite.DataSource = Models.Site.LoadActiveSites(Convert.ToInt32(e.Value));
            trvSite.DataBind();
            trvSite.UnselectAllNodes();
 
            cboSite.Text = string.Empty;
            cboSite.SelectedIndex = -1;
 
            PopulateSiteDependants();
        }
 
protected void PopulateSiteDependants()
        {
            RadTreeView trvSite = new RadTreeView();
            RadComboBox cboSite = (RadComboBox)fvIncidentEdit.FindControl("cboSite");
            if (cboSite.Controls[2].FindControl("trvSite") != null)
            {
                trvSite = ((RadTreeView)cboSite.Controls[2].FindControl("trvSite"));
             
                RadTreeView trvLocation = new RadTreeView();
                RadComboBox cboLocation = (RadComboBox)fvIncidentEdit.FindControl("cboLocation");
                if (cboLocation.Controls[2].FindControl("trvLocation") != null)
                {
                    if (trvSite.SelectedNode != null)
                    {
                        trvLocation = ((RadTreeView)cboLocation.Controls[2].FindControl("trvLocation"));
                        trvLocation.DataSource = Models.Location.LoadActiveLocations(Convert.ToInt32(trvSite.SelectedNode.Value));
                        trvLocation.DataBind();
                        trvLocation.UnselectAllNodes();
                    }
                    else
                    {
                        trvLocation.DataSource = null;
                    }
 
                    cboLocation.Text = string.Empty;
                    cboLocation.SelectedIndex = -1;
                }
 
                RadTreeView trvDepartment = new RadTreeView();
                RadComboBox cboDepartment = (RadComboBox)fvIncidentEdit.FindControl("cboDepartment");
                if (cboDepartment.Controls[2].FindControl("trvDepartment") != null)
                {
                    if (trvSite.SelectedNode != null)
                    {
                        trvDepartment = ((RadTreeView)cboDepartment.Controls[2].FindControl("trvDepartment"));
                        trvDepartment.DataSource = Models.Department.LoadActiveDepartments(Convert.ToInt32(trvSite.SelectedNode.Value));
                        trvDepartment.DataBind();
                        trvDepartment.UnselectAllNodes();
                    }
                    else
                    {
                        trvDepartment.DataSource = null;
                    }
 
                    cboDepartment.Text = string.Empty;
                    cboDepartment.SelectedIndex = -1;
                }
            }
            LoadCategories();
            
        }
 
        protected void LoadCategories()
        {
            RadTreeView trvDepartment = new RadTreeView();
            RadComboBox cboDepartment = (RadComboBox)fvIncidentEdit.FindControl("cboDepartment");
            if (cboDepartment.Controls[2].FindControl("trvDepartment") != null)
            {
                trvDepartment = ((RadTreeView)cboDepartment.Controls[2].FindControl("trvDepartment"));
 
                RadComboBox cboCategory = (RadComboBox)fvIncidentEdit.FindControl("cboCategory");
                RadTreeView trvCategory = (RadTreeView)cboCategory.Controls[2].FindControl("trvCategory");
                if (trvDepartment.SelectedNode != null)
                {
                    trvCategory.DataSource = Models.QuestionCategoryNode.LoadActiveQuestionCategoryNodes(Convert.ToInt32(trvDepartment.SelectedNode.Value));
                }
                else
                {
                    trvCategory.DataSource =Models.QuestionCategoryNode.LoadActiveQuestionCategoryNodes();
                }
                trvCategory.DataBind();
                trvCategory.UnselectAllNodes();
 
                cboCategory.Text = string.Empty;
                cboCategory.SelectedIndex = -1;
            }
        }


The only ComboBox that is giving me issues is the Category ComboBox, Please could someone explain the best way to clear / re populate a comboBox if the Main ComboBoxes value is changed.

Let me explain this properly.

The selection From ComboBox 1 Will populate comboBox 2.
When a selection from comboBox 2 is made, that will clear ComboBox 3 and 4 and will then populate ComboBox 3 and 4 with new data.
When a selection from comboBox 3 is made, that will clear ComboBox 5 and will then populate ComboBox 5 with new data.

The Above works but changing the Selected Value in the first comboBox  (account) will only Reset the 2nd ComboBox and not the rest.

So By selecting a new value From the 1st ComboBox that should reset comboBoxes 2-5 to an empty value.
Nencho
Telerik team
 answered on 04 Jun 2013
3 answers
108 views
Hello,
I am new to RadGrid, i want to achive bellow mentioned functinality in RAD grid.
1. Bind a datatable to RadGrid and populate it on button click,
2.  Afer grid is get populated if user dubble click on specific row then that row should be editable and as soon as user clicks on any other row or any other control on the screen then the data modified in current selected row should get updated (it should update the dattable which is assosiated to Rad Grid).

this functinality is currently done using some different third party Grid i want to replace that grid with Rad Grid, please let me know whether is it possible in Rad Grid and how to do it.

Princy
Top achievements
Rank 2
 answered on 04 Jun 2013
3 answers
66 views
I was enabling a drag and drop in treeview but I want restrict nodes from having more than 2 children.
Rakesh
Top achievements
Rank 1
 answered on 04 Jun 2013
1 answer
114 views
Is there a way that I can change the message 'No child records to display" application wide, perhaps in the web.config?
Jayesh Goyani
Top achievements
Rank 2
 answered on 04 Jun 2013
1 answer
430 views
Hello... I'm migrating over from a Winforms JanusGrid to an ASP RadGrid.... so I'm struggling a bit with syntax and methodology. 

I've got a large collection of base classes instantiated by an ASP page... all of my radgrids are 'server side'.

Basically, the user does what they are going to do with the radgrids (selects rows, etc), then hits a submit button.

The entire RadGrid is passed by reference into the corresponding base class so that the functions can iterate through the entire RadGrid, pull out the necessary data from the cells in selected rows (or the entire grid), and then perform whatever logic is necessary.

I see posted examples on how to intercept specific rows as part of the ItemBound method... but I don't see anything that just takes an entire ByRef RadGrid... iterates through the entire items collection (or selecteditems collection), reads in data from specific cells, and then continues.  

Ive got something like this:

 For Each Row As DataGridItem In lstEmployees.SelectedItems
    ClockInEmployee(Row("_ID").text)
 Next

But the syntax isn't correct... 

Can someone point me in the right direction?


Jay
Jay
Top achievements
Rank 1
 answered on 04 Jun 2013
2 answers
106 views
I currently have a 3 level hierarchical grid that for the most part works fine. However, when I try to add a second GridRelationField between my 2nd and 3rd levels, I get the following error:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Syntax error in the expression.

The front-side code (starting from the 2nd level) is below. I've bolded the GridRelationField that's giving the error. If I take that out and just have the MasterLogID as a GridRelationField, that works fine. The grid itself is bound to a dataset that has three datatables, one for each level of the hierarchy. Is there something that I'm missing in the Telerik code or the dataset that's causing this?

<telerik:GridTableView DataKeyNames="MasterLogID" DataMember="LogMaster" Width="100%" AutoGenerateColumns="false" runat="server" PagerStyle-Visible="false">
<ParentTableRelation>
<telerik:GridRelationFields MasterKeyField="MasterLogID" DetailKeyField="MasterLogID" />
</ParentTableRelation>
<DetailTables>
<telerik:GridTableView DataKeyNames="MasterLogID" DataMember="LogDetails" Width="100%" AutoGenerateColumns="false" runat="server" PagerStyle-Visible="false">
<ParentTableRelation>
<telerik:GridRelationFields MasterKeyField="MasterLogID" DetailKeyField="MasterLogID" />
<telerik:GridRelationFields MasterKeyField="ProcessType" DetailKeyField="ProcessType" />
</ParentTableRelation>
<Columns>
<telerik:GridBoundColumn Visible="false" DataField="MasterLogID" UniqueName="LDMasterLogID"></telerik:GridBoundColumn>
<telerik:GridBoundColumn Visible="true" DataField="ProcessType" UniqueName="LDProcessType"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Source" DataField="ProcessSource" UniqueName="LDProcessSource" SortExpression="ProcessSource"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Success" DataField="IsProcessSuccess" UniqueName="LDIsProcessSuccess" SortExpression="IsProcessSuccess"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Reference" DataField="ProcessReference" UniqueName="LDProcessReference" SortExpression="ProcessReference"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Description" DataField="ProcessDesc" UniqueName="LDProcessDesc" SortExpression="ProcessDesc"></telerik:GridBoundColumn>
</Columns>
</telerik:GridTableView>
</DetailTables>
<Columns>
<telerik:GridBoundColumn Visible="false" DataField="MasterLogID" UniqueName="LMMasterLogID"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Type" DataField="ProcessType" UniqueName="LMProcessType" SortExpression="ProcessType"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Process" DataField="ProcessName" UniqueName="LMProcessName" SortExpression="ProcessName"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Date" DataField="ProcessDate" UniqueName="LMProcessDate" SortExpression="ProcessDate" DataFormatString="{0:G}"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Status" DataField="ProcessStatus" UniqueName="LMProcessStatus" SortExpression="ProcessStatus"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Reference" DataField="ProcessReference" UniqueName="LMProcessReference" SortExpression="ProcessReference"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Description" DataField="ProcessDesc" UniqueName="LMProcessDesc" SortExpression="ProcessDesc"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Records" DataField="ProcessRecords" UniqueName="LMProcessRecords" SortExpression="ProcessRecords"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Success" DataField="ProcessSuccess" UniqueName="LMProcessSuccess" SortExpression="ProcessSuccess"></telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Failed" DataField="ProcessFailed" UniqueName="LMProcessFailed" SortExpression="ProcessFailed"></telerik:GridBoundColumn>
</Columns>
</telerik:GridTableView>
Ben
Top achievements
Rank 1
 answered on 03 Jun 2013
1 answer
105 views
Help! I can successfully open, close and rebind the Grid after the RadWindow is opened and closed but the group by expressions do not appear until I refresh the page.

How do I get the rebind to include the grid group by fields? The online demos don't mention it and I can't find any solutions...

Thanks.

JavaScript...
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function ShowInsertForm() {
            window.radopen("newrp.aspx", "RW_RP");
            return false;
        }
 
        function refreshGrid(arg) {
            if (!arg) {
                $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");
            }
 
            else {
                $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("RebindAndNavigate");
            }
        }
 
        function RowDblClick(sender, eventArgs) {
            window.radopen("newrp.aspx?nbid=" + eventArgs.getDataKeyValue("nbid") + "&cocc=" + eventArgs.getDataKeyValue("cocc") + "&tm=" + eventArgs.getDataKeyValue("teammate") + "&dot7=" + eventArgs.getDataKeyValue("dot7"), "RW_RP");
        }
    </script>
</telerik:RadCodeBlock>

ASPX...
<telerik:RadGrid ID="RG_RP" runat="server" CellSpacing="0" GridLines="None" style="margin:10px">
    <MasterTableView AutoGenerateColumns="False" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" AlternatingItemStyle-HorizontalAlign="Center" CommandItemDisplay="Top" ClientDataKeyNames="nbid, cocc, teammate, dot7">
        <GroupByExpressions>
            <telerik:GridGroupByExpression>
                <SelectFields>
                    <telerik:GridGroupByField FieldName="Teammate" FieldAlias="Teammate" HeaderValueSeparator=": " />
                </SelectFields>
                <GroupByFields>
                    <telerik:GridGroupByField FieldName="Teammate" FieldAlias="Teammate" SortOrder="Ascending" />
                </GroupByFields>
            </telerik:GridGroupByExpression>
        </GroupByExpressions>
        <Columns>
... SOME COLUMNS ...
        </Columns>
        <EditFormSettings>
            <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
        </EditFormSettings>
        <CommandItemSettings ExportToPdfText="Export to PDF" AddNewRecordText="Add new preferences"></CommandItemSettings>
        <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </RowIndicatorColumn>
        <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </ExpandCollapseColumn>
        <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
        <CommandItemTemplate>
            <div style="padding:5px 0px 5px 10px">Double click a row to add a preference for that Teammate</div>
        </CommandItemTemplate>
    </MasterTableView>
    <ClientSettings>
        <ClientEvents OnRowDblClick="RowDblClick" />
    </ClientSettings>
    <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
    <FilterMenu EnableImageSprites="False"></FilterMenu>
</telerik:RadGrid>



Matt
Top achievements
Rank 1
 answered on 03 Jun 2013
4 answers
362 views
I am having difficulty getting the group by Footer Text to have say Subtotal for the groups and then an actual total for everything
I have tried implementing suggestions listed in other forums but none of them seem to work. Any help would be greatly appreciated. 
Example what I am trying for is 

Type: Type 1 - Water Quality
        Data $5
Data $6
Data $4
--Footer Type 1 - Water Quality total sites: 3     $15
Type: Type 2 - Research
        Data $10
Data $20
Data $20
--Footer Type 2 - Research total Sites sites: 3     $50
Total sites: 6  $65





FRONT END
<
telerik:RadGrid ID="rgSite" runat="server" AllowSorting="True"  Skin="Silk" OnNeedDataSource="rgSite_NeedDataSource" EnableLinqExpressions="false" OnPreRender="rgSite_PreRender"
                    AutoGenerateColumns="False" AlternatingItemStyle-BackColor="White"  Width="1298px" OnUpdateCommand="rgSite_UpdateCommand" OnInsertCommand="rgSite_InsertCommand">
    <MasterTableView CommandItemDisplay="Top" ShowFooter="true" ShowGroupFooter="true"
                        DataKeyNames="details_site_id">
    <EditFormSettings PopUpSettings-Modal="false" UserControlName="controls/FundedSites.ascx"
                        EditFormType="WebUserControl"/>
    <CommandItemSettings ShowRefreshButton="false" ShowAddNewRecordButton="false"  addnewrecordtext="Add a Site"/>
        <Columns>
            <telerik:GridEditCommandColumn ButtonType="ImageButton" Visible="false" UniqueName="Edit"/>
            <telerik:GridBoundColumn DataField="site_no" SortExpression="site_no" AllowSorting="true"
                                        UniqueName="site_no" visible="false"/>
            <telerik:GridTemplateColumn DataField="site_no_nm" SortExpression="site_no_nm"
                                        UniqueName="site_no_nm" HeaderText="Site Number"
                                        ItemStyle-BorderStyle="Solid" ItemStyle-Bordercolor="Silver" ItemStyle-BorderWidth="0.25"
                                        Aggregate="CountDistinct" FooterText="Total Funded Sites: ">
                <ItemTemplate>
                    <asp:HyperLink ID="HyperLink1" runat="server"
                        NavigateUrl='<%# string.Format("site.aspx?org_cd={0}&cust_id={1}&agmt_id={2}&site_no={3}",org_cd,cust_id,agmt_id,ProcessMyDataItem(Eval("site_no")))  %>'
                        Text='<%# ProcessMyDataItem(Eval("site_no_nm")) %>'/>
                    <asp:HiddenField runat="server" ID="hfCollectionUnits" Visible="false" Value='<%# ProcessMyDataItem(Eval("data_collection")) %>'/>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn DataField="collection_cd" SortExpression="collection_cd"
                UniqueName="collection_cd" HeaderText="Code"
                ItemStyle-BorderStyle="Solid" ItemStyle-Bordercolor="Silver" ItemStyle-BorderWidth="0.25">
                <ItemTemplate>
                    <a title='<%# ProcessMyDataItem(Eval("collection_desc")) %>' style="color:Black;text-decoration:none;">
                        <%# ProcessMyDataItem(Eval("collection_cd"))%>
                    </a>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
            <telerik:GridBoundColumn DataField="collection_units" SortExpression="collection_units" AllowSorting="true"
                UniqueName="collection_units" HeaderText="Units"
                ItemStyle-BorderStyle="Solid" ItemStyle-Bordercolor="Silver" ItemStyle-BorderWidth="0.25"
                ColumnEditorID="ceUnit"/>
            <telerik:GridBoundColumn DataField="diff_factor" SortExpression="diff_factor" AllowSorting="true"
                UniqueName="diff_factor" HeaderText="Diff. Factor"
                ItemStyle-BorderStyle="Solid" ItemStyle-Bordercolor="Silver" ItemStyle-BorderWidth="0.25"
                ColumnEditorID="ceUnit"/>
            <%--<telerik:GridBoundColumn DataField="data_collection" SortExpression="data_collection"
                UniqueName="data_collection" HeaderText="Data Collection" Visible="false"
                ItemStyle-BorderStyle="Solid" ItemStyle-Bordercolor="Silver" ItemStyle-BorderWidth="0.25" />--%>
            <telerik:GridNumericColumn DataField="funding_usgs_cwp" SortExpression="funding_usgs_cwp" AllowSorting="true"
                UniqueName="funding_usgs_cwp" HeaderText="USGS CWP" DataFormatString="{0:c0}" DataType="System.Decimal"
                ItemStyle-BorderStyle="Solid" ItemStyle-Bordercolor="Silver" ItemStyle-BorderWidth="0.25"
                Aggregate="Sum" FooterAggregateFormatString="{0:c0}"
                ColumnEditorID="ceFunds"/>
            <telerik:GridNumericColumn DataField="funding_customer" SortExpression="funding_customer" AllowSorting="true"
                UniqueName="funding_customer" HeaderText="Customer" DataFormatString="{0:c0}" DataType="System.Decimal"
                ItemStyle-BorderStyle="Solid" ItemStyle-Bordercolor="Silver" ItemStyle-BorderWidth="0.25"
                Aggregate="Sum" FooterAggregateFormatString="{0:c0}"
                ColumnEditorID="ceFunds"/>
            <telerik:GridBoundColumn DataField="funding_total" SortExpression="funding_total" AllowSorting="true"
                UniqueName="total" HeaderText="Total" DataFormatString="{0:c0}" DataType="System.Decimal"
                ItemStyle-BorderStyle="Solid" ItemStyle-Bordercolor="Silver" ItemStyle-BorderWidth="0.25"
                Aggregate="Sum" FooterAggregateFormatString="{0:c0}" ReadOnly="true"/>
 
            <telerik:GridBoundColumn DataField="remarks" SortExpression="remarks" AllowSorting="true"
                UniqueName="remarks" HeaderText="Remarks"
                ItemStyle-BorderStyle="Solid" ItemStyle-Bordercolor="Silver" ItemStyle-BorderWidth="0.25" />
            <telerik:GridButtonColumn ConfirmText="Delete this record?" ConfirmDialogType="RadWindow"
                confirmtitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete"
                uniquename="Delete" Visible="false"/>
        </Columns>
        <GroupByExpressions>
            <telerik:GridGroupByExpression>
                <SelectFields>
                    <telerik:GridGroupByField FieldName="data_collection" FieldAlias="Task"/>
                </SelectFields>
                <GroupByFields>
                    <telerik:GridGroupByField FieldName="data_collection" />
                </GroupByFields>
            </telerik:GridGroupByExpression>
        </GroupByExpressions>
        <ExpandCollapseColumn>

        <HeaderStyle Width="20px"></HeaderStyle>
        </ExpandCollapseColumn>
    </MasterTableView>
</telerik:RadGrid>

CODE BEHIND
protected void rgSite_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
    var fundingdb = new fundingdbDataContext();
    rgSite.DataSource = fundingdb.SP_Funding_Agreement_Sites_Details(Convert.ToInt32(agmt_id),Convert.ToInt32(cust_id)).ToList();
}
//Removes Repeating values
protected void rgSite_PreRender(object sender, EventArgs e)
{
    //The Row Index is the Row above the bottom row, walk up the Grid
    for (int rowIndex = rgSite.Items.Count - 2; rowIndex >= 0; rowIndex += -1)
    {
        //The Current Row is the row index
        GridDataItem row = rgSite.Items[rowIndex];
        //The Previous Row is one below it
        GridDataItem previousRow = rgSite.Items[rowIndex + 1];
        //Grab the ItemTemplate Text values from the Hyperlink of the current and previous row and compare them.
        if ((row["site_no"].FindControl("HyperLink1") as HyperLink).Text == (previousRow["site_no"].FindControl("HyperLink1") as HyperLink).Text && (row["site_no"].FindControl("hfCollectionUnits") as HiddenField).Value == (previousRow["site_no"].FindControl("hfCollectionUnits") as HiddenField).Value)
        {
            //If they are the same set the previous rows Text to blank
            previousRow["site_no_nm"].Text = "";
        }
    }
}

Justin
Top achievements
Rank 1
 answered on 03 Jun 2013
1 answer
181 views
In a ASP.NET web application, I've got a page that opens a new window when a user clicks certain hyperlinks.  A normal window.open, not a RadWindow or the like.  The page that's opened doesn't have a master page, but consists of a RadTabStrip and a RadMultiPage control.

     The individual PageViews in the MultiPage control display some RadPanelBars and user controls that contain a variety of inputs, mostly text boxes and comboboxes.  When the page loads, I get the following errors and the combo boxes do not function

  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
    1. Error$invalidOperationScriptResource.axd:372
    2. Type$registerEnumScriptResource.axd:2315
    3. (anonymous function)ScriptResource.axd:743
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.TouchScrollExtender has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
    1. Error$invalidOperationScriptResource.axd:372
    2. Type$registerClassScriptResource.axd:1717
    3. (anonymous function)ScriptResource.axd:168
    4. (anonymous function)ScriptResource.axd:169
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.NavigationControlODataSettings has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
    1. Error$invalidOperationScriptResource.axd:372
    2. Type$registerClassScriptResource.axd:1717
    3. (anonymous function)ScriptResource.axd:15
    4. (anonymous function)ScriptResource.axd:78
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.AttributeCollection has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
    1. Error$invalidOperationScriptResource.axd:372
    2. Type$registerClassScriptResource.axd:1717
    3. (anonymous function)ScriptResource.axd:21
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.RadComboBoxItem has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
    1. Error$invalidOperationScriptResource.axd:372
    2. Type$registerClassScriptResource.axd:1717
    3. (anonymous function)ScriptResource.axd:220
    4. (anonymous function)




There is an ASP ScriptManager on the page.  If I change this to a RadScriptManager, my error becomes:

  1. Uncaught TypeError: Object [object Object] has no method '_setChildrenHeight' Telerik.Web.UI.WebResource.axd:4015
    1. Telerik.Web.UI.RadPanelItem._windowLoadHandlerTelerik.Web.UI.WebResource.axd:4015
    2. Telerik.Web.UI.RadPanelItem._windowLoadHandlerSavingStateTelerik.Web.UI.WebResource.axd:4011
    3. Sys._Application.raiseLoadTelerik.Web.UI.WebResource.axd:6
    4. Sys._Application._doInitializeTelerik.Web.UI.WebResource.axd:6



I've re-created the page from scratch, taking out as much complexity as I can, but still run into these issues.  I must be missing something that I cannot find. 


  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.TouchScrollExtender has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.NavigationControlODataSettings has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.AttributeCollection has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update. ScriptResource.axd:222
  1. Uncaught Sys.InvalidOperationException: Sys.InvalidOperationException: Type Telerik.Web.UI.RadComboBoxItem has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.


EDIT:  I'm running version 2012.1.215.35
msigman
Top achievements
Rank 2
 answered on 03 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?