Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > SiteMap > RadSiteMap breadcrumb clientside

Not answered RadSiteMap breadcrumb clientside

Feed from this thread
  • Mac P Intermediate avatar

    Posted on Dec 3, 2011 (permalink)

    Hello

    I am trying to build a bread crumb on client side usign RadSiteMap. I dont see any client side object model for RadSiteMap that i can call to build breadcrumb.
    Here is what is want to do.

    Have multiple divs on one page. Make first one display = "block" rest display="none". On next button click make second div as display ="block" and add breadcrumb text at the top. So for breadcrumb i am planning to use radsitemap. It is more like wizard style with bread crumb on the top.

    The page is very fat with lots of controls so i want to build the entire solution on client side.

    Any help is appreciated.

    Reply

  • Peter Peter admin's avatar

    Posted on Dec 7, 2011 (permalink)

    Hello Mac,

    Indeed, RadSiteMap does not have a client object and does not expose a client API with which to implement your requirement client-side.


    Kind Regards, Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

  • Aaron T. Jessen avatar

    Posted on Jan 24, 2012 (permalink)

    This is a major problem that I feel needs to be addressed by Telerik ASAP. I have already run into two instances where it would have been truly beneficial to be able to capture the mouse events for the items underneath.

    Is this something that is currently in the works/at least a formal request, or do you never plan to do this?

    Reply

  • Peter Peter admin's avatar

    Posted on Jan 27, 2012 (permalink)

    Hello Aaron,

    We don't have plans to implement a client side API for RadSiteMap, since it will be redundant and add unnecessary overhead. You can use jQuery to attach any handlers you need. Here is a simple example:
    <script type="text/javascript">
         functionpageLoad() {
             var$ = $telerik.$;
      
             $(".rsmLink").each(function() {
                 varMyUrl = $(this).attr("href");
                 varfunctionString = "return GetUrl('"+ MyUrl + "');"
                 $(this).attr("onclick", functionString);
             });
         }
         functionGetUrl(url) {
             alert(url)
         }
     </script>


    Regards,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > SiteMap > RadSiteMap breadcrumb clientside