Completed
Last Updated: 21 Jan 2020 10:32 by ADMIN
Created by: ahmed
Comments: 3
Category: Drawer
Type: Feature Request
0

Hi, I am using PanelBare inside the Drawer, and I need to override the default behaviours of the drawer and not to close automatically after tab action, in order to be able to select and navigate inside the Drawer content (Panel Bar, or any other navigable widget).

close the Drawer, can be handled by the user separately from the events of the Drawer Content (Panel Bare Events in my case)

Approved
Last Updated: 13 Dec 2019 16:50 by ADMIN
It would allow the drawer to be used as a navigation toll and more responsive site if instead of having to build is item via a template to define items like the tabstrip widget and each item defined to support Loadcontentfrom.

Example:

@(Html.Kendo().Drawer()
              .Name("SideMenu")
              .Items(i =>
              {
                  i.Add().Text("Dimensions & Weights")
                      .Icon("Icon2")
                      .Selected(true)
                      .LoadContentFrom(Url.Content("~/Content/web/tabstrip/ajax/ajaxContent1.html"));

                  i.Add().Text("Engine")
                      .Icon("Icon2")
                      .LoadContentFrom(Url.Content("~/Content/web/tabstrip/ajax/ajaxContent2.html"));

                  i.Add().Text("Chassis")
                      .Icon("Icon3")
                      .LoadContentFrom(Url.Content("~/Content/web/tabstrip/ajax/ajaxContent3.html"));
              })
        )