We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

namespace name 'RadialBadge' and RadialMenuSlider

Thread ID:

Created:

Updated:

Platform:

Replies:

132694 Sep 15,2017 04:05 PM UTC Sep 20,2017 09:51 AM UTC ASP.NET Core 3
loading
Tags: RadialMenu
haryzad
Asked On September 15, 2017 04:05 PM UTC

Hi Syncfusion Team

I'm try to implement the code for radial menu, but getting this error; can you help me ; full code that i using as attach


  • The type or namespace name 'RadialBadge' could not be found (are you missing a using directive or an assembly reference?)

    1. Syncfusion.JavaScript.Models.RadialBadge val = new RadialBadge();
  • The type or namespace name 'RadialMenuSlider' could not be found (are you missing a using directive or an assembly reference?)

    1. Syncfusion.JavaScript.Models.RadialMenuSlider stroke = new RadialMenuSlider();

  • Attachment: radialmenufeature_fd051d8.rar

    Selvamani Sankarappan [Syncfusion]
    Replied On September 18, 2017 10:22 AM UTC

    Hi Haryzad, 
     
    Thanks for contacting Syncfusion support. 
     
    We have checked your reported error and we were able to reproduce it. You need to import the namespace as like below code: 
     
    @{ 
            Syncfusion.JavaScript.Models.RadialBadge val = new Syncfusion.JavaScript.Models.RadialBadge(); 
            val.Enabled = true; 
            val.Value = 2; 
            Syncfusion.JavaScript.Models.RadialMenuSlider stroke = new Syncfusion.JavaScript.Models.RadialMenuSlider(); 
            stroke.StrokeWidth = 1; 
            stroke.Ticks = new List<double> { 0, 2, 4, 6, 8, 10, 12, 14 }; 
        } 
     
    Note:  ASP .Net core support for radial menu is provided from 15.3.0.26 version only. 
     
    Refer to the following sample: 
     
    Please let us know if you need any further assistance. 
     
    Regards, 
     
    Selvamani S. 


    haryzad
    Replied On September 20, 2017 01:12 AM UTC

    Hi Selvamani S. 

    Thanks for your support, it's resolve my issues by updating the reference.

    But, need your advise and assistant on this matters, based on the radial menu; i try to navigate to another view (controller/action); can it be done if i want to

    1. Using div to trigger the radial menu, cause some of my view using the div element

    2. how to navigate to another controller / action using  :

         a. e-radial-menu-item

         b. e-radial-menu-child-item

    refer attachment if it can help to understand my issues



    Attachment: syncfusion_support_1a054ba8.rar

    Selvamani Sankarappan [Syncfusion]
    Replied On September 20, 2017 09:51 AM UTC

    Hi Haryzad, 
     
    Thanks for the update. 
     
    You can navigate to the controller while clicking the radial menu icon using AJAX post at corresponding icon click event. Please refer to the following code example: 
     
    [cshtml] 
    <ej-radial-menu id="nestedradialmenu" image-class="imageclass" auto-open="false"> 
            <e-radial-menu-items> 
                <e-radial-menu-item image-url="http://mvc.syncfusion.com/demos/web/Images/RadialMenu/copy.png" text="Copy" click="copy" enabled="true"> 
                </e-radial-menu-item> 
     
    [script] 
    function copy(e) { 
                $.ajax({ 
                    url: "Home/Filter", 
                    type: 'POST', 
                    dataType: "json", 
                    success: function (result) { 
     
                    } 
                }); 
                rteObj.executeCommand("copy"); 
            } 
     
    [cs] 
    [HttpPost] 
            public IActionResult Filter() 
            { 
                return View(); 
            } 
     
    Refer to the following sample: 
     
    Please let us know if you need any further assistance. 
     
    Regards, 
     
    Selvamani S. 


    CONFIRMATION

    This post will be permanently deleted. Are you sure you want to continue?

    Sorry, An error occured while processing your request. Please try again later.

    Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

    ;