Close panel in jquery/css in Office UI Fabric JS - office-ui-fabric

How do I close a panel in Office UI Fabric JS when click on button?
In Bootrap I have the options via CSS by adding
data-dismiss="modal" to the button class
Also in bootstrap I have the option in jquery to hide a modal by
$('#myModal').modal('hide');
What is the jquery equivalent for Office UI Fabric to hide an already opened panel?

You could trigger the existing Panel close button via jQuery
$(".ms-Panel-closeButton").trigger("click");

Related

Auto Closing MessageBox controls

Is there a way to use VB.NET to close MessageBox controls created by JavaScript in VB.NET webbrowser?
I do not want to disable JavaScript in the webbrowser, just to close the MessageBox controls (like clicking their "X" button). I could not get help from search engines. Help appreciated.
Vb.net is serverside and rendered before javascript as the javascript is client side and rendered on browser. So there is not such way closing alert pop up via server side code.
Neither it is possible via jquery on client side

Thunderbird extension: add button in message reader toolbar

I'm trying to add a button in the message reader toolbar :
I successfully added a button in the mail toolbar, using the chrome.manifest and XUL files. I just don't know how to access this particular toolbar. I have tried finiding it using the DOM Inspector, to no avail.
My button doesn't appear in the "Customize" box either.
My question is therefore: how can I add a button to this particular toolbar?
After looking some more with the DOM Inspector I finally got it.
The toolbar and toolbox ids are header-view-toolbar and header-view toolbox and the classes are inline-toolbar and inline-toolbox. The CSS class for buttons is msgHeaderView-button. The XUL for adding a button there should look like this:
<toolbarpalette id="header-view-toolbar">
<toolbarbutton id="my-button"/>
</toolbarpalette>
<toolbarbutton id="my-button"
label="This is my button!"
tooltiptext="Click on it!"
oncommand="MyButton[1]()"
class="toolbarbutton-1 msgHeaderView-button my-button"
/>

SharePoint 2010 - How to open New List Item Form as a new page?

I am developing an application on SharePoint 2010 and I would like to open a New List Form as a new page, not a model dialog from a simple a tag from a Content Editor Web part on a page:
<a onclick='javascript:NewItem2(event, "/_layouts/listform.aspx?PageType=8&ListId={CC94D25C-2BE0-46AC-B8BE-F112D12F0907}&RootFolder=");javascript:return false;' href="/_layouts/listform.aspx?PageType=8&ListId={CC94D25C-2BE0-46AC-B8BE-F112D12F0907}&RootFolder=" target=_blank>Create new item</a>
However, clicking this link opens invariably a model dialog. I precise that I selected 'No' for the Dialogs setting in the Advanced settings for my list.
Does anybody have a clue of what I missed?
You do not need onclick event to implement this. Just remove onclick attribute completely and leave href only.

Create UI like Window 8 in vb.net using devexpress controls

I want to create UI for home page like a Window 8 for desktop application in vb.net using devexpress controls. How can I design the UI?
And I want to use TileLayoutControl for it. But I don't know how to use the tile controls of devexpress. How can I create my home page like Window8 Home page? I want to put various menus on home page as a Tile and when I click on 1 menu the form should be open.
I believe the desktop application is equals to WinForms/WPF application in the context of this question.
So, with DevExpress WinForms you can start from here: DocumentManager Windows UI View Overview.
Please also check the Windows UI View Examples.
With DevExpress WPF Controls you can start from here: Windows UI controls for WPF Overview.
Please also check the Windows UI controls for WPF Examples.
If you mean the Windows Store(WinRT) application please use the DevExpress Windows 8 XAML Controls. Check the Windows 8 XAML Controls Getting Started.
Updated
WinForms TileControl
WPF TileControl

Any control like context menu in DevExpress?

I'm using controls from DevExpress to develop desktop application in VB.NET. Now, I want to add context menu also from DevExpress. But I cannot find such control in toolbox. Is it missing only in my version or DevExpress has not developed such context menu yet?
Thank you in advance
The XtraBars Suite allows you to create multi-purpose popup menus.
These menus can be used as dropdown lists for toolbar or ribbon buttons
http://www.devexpress.com/Products/NET/Controls/WinForms/Bars/context_menu.xml
also
http://documentation.devexpress.com/#WPF/CustomDocument6587