Menu Items do not exist on GoDaddy in Page_Load

3 posts, 0 answers
  1. George
    George avatar
    105 posts
    Member since:
    Oct 2014

    Posted 29 Jun 2015 Link to this post

    I have nested RadMenuItems hard coded in an aspx file with 3 different but similar menus.  Under a certain condition I need to remove the second menu item in each menu which works fine in the Visual Studio 2013 test environment. When I deploy to GoDaddy, remove on the third menu does not work in Page_Load. 

    GoDaddy the items in the third menu in the aspx file are not fully instantiated in Page_Load. 

    I was forced to code to check if the hard coded menu items exist and abandon the remove to avoid run-time errors.

    if (JoinButtonMenu.Items.Count > 2 && JoinButtonMenu.Items.Count > 2)  {     

    <telerik:RadContextMenu ID="JoinButtonMenu" CssClass="RadContextMenu3" runat="server">
        <ExpandAnimation Type="None" Duration="0" />
        <CollapseAnimation Type="None" Duration="0" />
            <telerik:RadMenuItem Text="Edit"  NavigateUrl="javascript:MenuItemSelected('Edit');" PostBack="False" ></telerik:RadMenuItem>
            <telerik:RadMenuItem Text="Insert" PostBack="False" >
                    <telerik:RadMenuItem Text="Insert Display Text..."  NavigateUrl="javascript:MenuItemSelected('AddText');" PostBack="False" ></telerik:RadMenuItem>
                    <telerik:RadMenuItem Text="Insert Checkboxes..."  NavigateUrl="javascript:MenuItemSelected('AddChecks');" PostBack="False" ></telerik:RadMenuItem>


    The menu items missing in the Page_Load code all show up fine in the page including the one I need to get rid of.

    Any ideas how to work around this problem and why it is happening?

  2. Dimitar Terziev
    Dimitar Terziev avatar
    1268 posts

    Posted 02 Jul 2015 Link to this post

    Hi George,

    In order to troubleshoot the experienced problem, could you please open a support ticket and provide a sample page with the exact implementation that you are using.

    Dimitar Terziev
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. George
    George avatar
    105 posts
    Member since:
    Oct 2014

    Posted 02 Jul 2015 in reply to Dimitar Terziev Link to this post

    Support only seems to help if you supply a project, in this problem the project will work just fine since the problem is why it will not work on GoDaddy when it works just fine in development.  I was hoping some GoDaddy user might have an idea what the heck is going on. 

    I suppose I can try support.

Back to Top