Refresh controls in the ribbon tab for sharepoint 2010 - sharepoint-2010

Can any one tell me the code to refresh the ribbon controls in the sharepoint 2010 ribbon bar, using javascript.

RefreshCommandUI();
Link from MSDN blog site: http://blogs.msdn.com/b/sharepointdev/archive/2011/02/17/using-refreshcommandui-with-the-server-ribbon.aspx

Related

Create a custom button with icon in a custom group for Outlook using C# VSTO

I am fairly new to C# as well as the Outlook Library.
I have created a custom group in Meeting Tab of Outlook, which has a button in it.
I also added an image in properties of Button(as displayed in the screenshot).
The image would represent the logo of my add-in. But I'm not able to change the size of that image.
I want my button to look similar to that of other buttons of Outlook just like 'Skype Meeting' or 'Meeting Notes' with the larger icon.
Can anyone please suggest me the way to design the Button with large icon.
I have created the Ribbon (Visual Designer) in Visual Studio 2015 for Outlook 2016 Add-In using VSTO. What would be the best way to do this using C#?
There are two sizes for "button" ribbon control:
size="large"
size="normal"
If you add into your button control XML large size, you'll get the button look you are referring to. For more information on how to customize Office Fluent Ribbon please refer to the following great resources:
Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)
I got the solution for this problem.
We can set the property 'ControlSize' of Button to 'RibbonControlSizeLarge'.

Webbrowser on Excel Ribbon?

I'm using Visual Studio 2008. It is possible to add a Webbrowser item to a Form item, but is it possible to add a Webbrowser item to a Ribbon item ?
Or is there another way of showing a Web Page on the Ribbon ?
There is something called Ribbon-XML, may that do the job ?
Or is it possible to bind a Form (inheriting a Webbrowser) to the Ribbon ?
No, there is no way to place any third party controls on the ribbon except the ones defined by the Ribbon scheme.
Instead, you may consider placing a web browser control on a custom task pane. See Custom Task Panes for more information in MSDN.
Read more about the Fluent UI (aka Ribbon UI) in the following series of articles in MSND:
Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)

Backstage view in outlook 2007

I am developing an outlook 2007 add-in which is based on an existing outlook 2010 plugin. I managed to get most of the features working, because most of them were backwards compatible. However there are some I could not, because 2007 simply did not have certain features. \
Backstage view
Main ribbon
My question is - what would you suggest for an equivalent interface? Where would you put in outlook 2007 something that was in backstage view in 2010?
After much deliberation I decided to use a custom menu. All features available through the backstage view in 2010 will be converted to menu items in the custom menu in Outlook 2007.
Also buttons from the main ribbon will become items in the same custom menu.
This solution, while not as elegant as Fluent UI will work, I think, because all of my plugin's functionality will be available from one spot.

Show contents in Modal Popup

In SharePoint 2010 i've seen many people are using Modal Popup window to show list contents. How to achieve this in sharepoint 2010.
You want to look for information on the Dialog Framework.
This training module should help you get started: Module 10: Creating Dialogs and Ribbon Controls for SharePoint 2010
I think you are looking for the Shapoint 2010 ECMA Script Modal Dialog:
http://www.chakkaradeep.com/post/Using-the-SharePoint-2010-Modal-Dialog.aspx

How do you embed a form in SharePoint 2010

I would like to have a feedback form embedded on the homepage of my sharepoint 2010 site. I've created said form using InfoPath and have published the form to the site. However when I add the form as a webpart on the page it appears as link like it's another document, and you can only complete the form when you click the link.
How can I embed the form on the actual web page?
Thanks in advance!
Have you embedded the infopath form in the SharePoint Infopath webPart ?
http://www.bizsupportonline.net/infopath2010/embed-infopath-form-sharepoint-2010-web-part.htm