?
Solved

How to add a Costum button to Ribbon in SHarepoint 2010 Using C# ?

Posted on 2011-10-21
4
Medium Priority
?
977 Views
Last Modified: 2012-05-12
Hi every body ,in my webpart  i  want to add a button in Ribbon , i want that button is added only when webpart load so i have to create my button on runtime using C# and not with XML file , how can i do this ? , thanks
0
Comment
Question by:pgirardier
  • 2
  • 2
4 Comments
 
LVL 6

Expert Comment

by:regevha
ID: 37007695
The information you are looking for is described in detail on MSDN Customizing and Extending the SharePoint 2010 Server Ribbon

If you would like further assistance, please let me know
0
 

Author Comment

by:pgirardier
ID: 37019481
Hi , thanks for your  assistance , i followed this link (http://msdn.microsoft.com/en-us/library/ff407578.aspx)  to create a simple Ribbon with button ( i should not use XML future ) ,its perfect but how can i make this ribbon always displayed beacuse its displayed only  when i selected  the webart ?

thanks
0
 
LVL 6

Accepted Solution

by:
regevha earned 2000 total points
ID: 37027781
0
 

Author Comment

by:pgirardier
ID: 37037712
Hi , Thanks for your assiastance but Can i add command using " RegisterDataExtension" ?

Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question