This is a migrated thread and some comments may be shown as answers.

object does not support this property or method

11 Answers 89 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Tayonee
Top achievements
Rank 1
Tayonee asked on 29 Jul 2011, 04:45 PM
I have a VERY simple RibbonBar on an othewise blank test page that is throwing a JavaScript error: "object does not support this property or method" in the dynamically generated Telerik WebResource file. Here is the source code of the page. The only code behind is the button click handler which has no code in it. What am I calling out on the Ribbon that is not supported?? See the attached screenshot for the debugger capture.

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="foo.aspx.vb" Inherits="testing_foo" %>
 
<%@ Register Src="../HR/controls/Credentials.ascx" TagName="Credentials" TagPrefix="uc1" %>
<%@ Register src="../protected/payroll/controls/AuthorizationsEdit.ascx" tagname="AuthorizationsEdit" tagprefix="uc2" %>
<%@ Register src="../controls/Authorizations.ascx" tagname="Authorizations" tagprefix="uc3" %>
<%@ Register src="../controls/CaseNotes.ascx" tagname="CaseNotes" tagprefix="uc4" %>
<%@ Register src="../controls/searchers/CustomerSearcher.ascx" tagname="CustomerSearcher" tagprefix="uc5" %>
<%@ Register src="../controls/pickers/Customer_Picker.ascx" tagname="Customer_Picker" tagprefix="uc6" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
 
</head>
<body>
    <form id="form1" runat="server">
   
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
   
    <telerik:RadRibbonBar ID="radMainRibbon" runat="server" SelectedTabIndex="0">
        <telerik:RibbonBarTab Text="Home">
            <telerik:RibbonBarGroup Text="General">
                <Items>
                    <telerik:RibbonBarButton ID="btnHomeHome" runat="server" Size="Large" Text="&nbsp;Home&nbsp;" Value="~/Default.aspx" ImageUrlLarge="~/images/home-m.gif" />
                </Items>
            </telerik:RibbonBarGroup>
        </telerik:RibbonBarTab>
    </telerik:RadRibbonBar>
    <asp:Button ID="Button1" runat="server" Text="Button" />
    </form>
</body>
</html>

11 Answers, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 03 Aug 2011, 09:32 AM
Hello Tayonee,

I am not able to reproduce the problem you experience.

I have tried using Chrome, IE9 and IE8, but nothing reproduced it.

Could you, please, share in what browser does that reproduce, or if there might be some other circumstances that might be related?


Regards,
Nikolay Tsenkov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Tayonee
Top achievements
Rank 1
answered on 08 Aug 2011, 06:07 PM
I suspect there is a dll mismatch somewhere here. I checked the dll that is loaded in the bin folder, and it is the right version. However I thought I would try and run the configuration and upgrade wizards from Visual Studio this morning and I am getting an exception that seems to be in line with what I just said - though I can't seem to find the cause.

The error is "Error executing custom action Telerik.Web.UI.VSX.Actions..UpdateReferencesAction: The given assembly name or codebase was invalid".

Do I need to uninstall and reinstall the Telerik suite at this point?
0
Tayonee
Top achievements
Rank 1
answered on 08 Aug 2011, 07:15 PM
FYI - a complete uninstall and reinstall of RadControls AJAX suite didn't help - same error.
0
Tayonee
Top achievements
Rank 1
answered on 08 Aug 2011, 07:58 PM
FYI - even a complete uninstall and reinstall of the Visual Studio extensions did not have an effect...
0
Nikolay Tsenkov
Telerik team
answered on 09 Aug 2011, 04:40 PM
Hello Tayonee,

 We just have fixed a similar issue with RadRibbonBar.
I think should cause the problem in your case, too. Please, get next Latest Internal Build (should be out by next Wednesday) and let me know if the issue is resolved in the new version.

Regards,
Nikolay Tsenkov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Tayonee
Top achievements
Rank 1
answered on 10 Aug 2011, 05:30 PM
How do I get my hands on the internal build?
0
Kate
Telerik team
answered on 12 Aug 2011, 02:41 PM
Hi Tayonee,

When you log in into your Telerik account you can find the latest internal build on your home page. Please refer to the image attached for further clarifications.

Regards,
Kate
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Tayonee
Top achievements
Rank 1
answered on 12 Aug 2011, 05:24 PM
This is the first time I have dealt with the internal builds - do we just extract the files and wholesale copy them over the files in our installation directory?
0
Nikolay Tsenkov
Telerik team
answered on 15 Aug 2011, 03:32 PM
Hello Tayonee,

 The build containing the change in question is not yet live for download. It will be available next week You probably can download the one released last week. 

The Latest Internal Build is not too much different from release build. In this case you only need to remove the references from the previous version to our assemblies and add new references to the new assemblies.

Regards,
Nikolay Tsenkov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Tayonee
Top achievements
Rank 1
answered on 22 Aug 2011, 10:08 PM
Is the current internal build available on our dashboards the one that solves this problem? Is it just a matter of copying the extracted files over the current ones to perform the upgrade?
0
Kate
Telerik team
answered on 24 Aug 2011, 10:46 AM
Hello Tayonee,

The latest internal build is already uploaded and it is available for you to download it. To upgrade you can simply replace the old dll files (located in Bin40 or Bin35 depending on the version of the framework that you are using) with the newly downloaded ones. Please give it a try and let us know if you still encounter the issue.

All the best,
Kate
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
RibbonBar
Asked by
Tayonee
Top achievements
Rank 1
Answers by
Nikolay Tsenkov
Telerik team
Tayonee
Top achievements
Rank 1
Kate
Telerik team
Share this question
or