New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Definition

Constructors

C#
public ResponsivePanel(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
Parameters:viewContextViewContextinitializerIJavaScriptInitializerurlGeneratorIUrlGenerator

Properties

If set to false the widget will not close when the page content is touched, after it was opened on a mobile device. You will need to call the close method when the panel needs to close.

C#
public bool? AutoClose { get; set; }

Specifies the page width at which the widget will be hidden and its toggle button will become visible.

C#
public double? Breakpoint { get; set; }

Specifies the nonce attribute that will be set to the inline style injected in the <head> tag containing the dynamic media query styles.

C#
public string Nonce { get; set; }

Specifies the direction from which the hidden element will open up, once the toggle button has been activated

C#
public ResponsivePanelOrientation? Orientation { get; set; }
C#
public HtmlTemplate Template { get; }

Specifies the selector for the toggle button that will show and hide the responsive panel.

C#
public string ToggleButton { get; set; }

Methods

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

Overrides: WidgetBase.Serialize()

Writes the HTML.

C#
protected override void WriteHtml(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter

Overrides: WidgetBase.WriteHtml(HtmlTextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The writer.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)