.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

why all buttons under documents disabled when we add custom webpart to a share point site?

Posted By:      Posted Date: October 28, 2010    Points: 0   Category :SharePoint

I am adding buttons under shared documents.i am using vs2010 for that.now i am add custom webpart to the pite all buttons under the ribbon are disabled.

why all buttons under  documents  disabled when we add custom webpart to a share point site?

View Complete Post

More Related Resource Links

whenever add custom(page viewer) webpart to the site why custom buttons disabled?


My custom buttons are disabled when ever i am try to add page viwer webpart to the site.

please send the reply...


Multilingual Interface (Hindi) custom, webpart issue disappearance in share point 2007

Hi This is regarding the disappearance of custom  web parts in the multilingual site developed using MOSS 2007. The multilingual feature has been implemented using variations. All the custom web parts disappear when viewed after some time.  When the custom web parts are deployed to the site, it appears and they disappear when viewed after some time.  I have done local deployment as well as GAC deployment of the web parts dll. Both have the same effect. I have added the respective resource files for the web parts in the user control folder.    Thanks In Advance uttam  

Share Point integrated SSRS reports rendering when access from external site


Our client has a SharePoint (moss2007) site on Windows 2008, SQL2008 R2 Enterprise, and Reporting service is integrated with SharePoint

The authentication on the share point integration is set to windows, else the authentication for the SSAS datasource gives and error

The extranet zone ( forms) and intranet (Customer Forms) and default (Windows) zones are all access from inside the firewall and the reports render in each with no issues, as the datasources are configured to pass a sql username and password.

However, report rendering is a problem from the internet (external site), the following error is displayed:

An unexpected error occurred while connecting to the report server. Verify that the report server is avai

Cannot enable Ribbon Edit Tab buttons and "connect" them to a list item in my custom webpart

I have one list with some custom fields and I want to develop a custom page. So, I created an ASPX page and added my custom webpart. This webpart has just a RichTextField, in edit mode, "linked" to one item of the list, like below: SPSite _SPSite = SPContext.Current.Site; SPWeb _SPWebProjects = _SPSite.OpenWeb("/Projects"); SPList _SPListProject = _SPWebProjects.GetList("/Projects/Lists/Project"); int _ID = Convert.ToInt32(this.Page.Request.QueryString["ID"]); RichTextField _RTF = new RichTextField(); _RTF.ID = "RTF"; _RTF.ControlMode = SPControlMode.Edit; _RTF.FieldName = "History"; _RTF.ItemContext = SPContext.GetContext(HttpContext.Current, _ID, _SPListProject.ID, _SPListProject.ParentWeb); _RTF.RenderContext = SPContext.GetContext(HttpContext.Current, _ID, _SPListProject.ID, _SPListProject.ParentWeb); this.Controls.Add(_RTF);   Then, I "turned on" the edit tab on the ribbon by doing the follow: protected override void OnPreRender(EventArgs e) { SPRibbon _CurrentRibbon = SPRibbon.GetCurrent(this.Page); _CurrentRibbon.TrimById("Ribbon.WebPartPage"); _CurrentRibbon.MakeTabAvailable("Ribbon.ListForm.Edit", string.Empty); _CurrentRibbon.MakeContextualGroupInitiallyVisible("Ribbon.ListForm.Edit", string.Empty); _CurrentRibbon.Minimized = false; _CurrentRi

How to find newly added item in the share point site?

How to find the recently added item in the share point page If the any user added the items in the custom list, library, list,Announcement, Picture library,etc......... i need to show all item that added last 2 days. Is that any object model available to find all item in the share point site???Instead of searching every list.

How to make Quicklaunch of share Point site movable?


How to make Quicklaunch of share Point site movable?(so is its not needed , it should be moved to leftmost direction)

                                                                                     Thanks and Regards,

creating custom table in share point database in sqlserver is fine ?


we are creating custom table in share point database in sqlserver.

is it fine to create custom table?

are we violating any rule  because of the creation of custom table ?

does share point recommended to create custom table  ?

how to Selec site Tempalte Picker using Code in Share point 2007


Hi Guys,

My Requirement is: I have an page it's coming from _Layouts,that page contains one Template Picker Control(share point control).so it showing all site templates like Team site,Wiki site etc.

But My Issue is i have site template id like "STS#1" Now i need to show  this site template in  Template Picker Control using c# or Object model code.how to do that right know it selected  Default site template.

Thanks In Advance.

Murali krishna.T


Share point database and site collection size, and restrictions and workflow


Sharepoint site collections


More Detail



We had a 3rd party into to develop the share-point service, This is really a very difficult situation not the solution but the documents that are stored and the way it was retrieved.


The real thing is that we receive an item it is booked into SAP and then we send an automated xml to set up a local site this site will then have details from the SAP system fed by ABAP. After the site is created, and then we add documents files and .jpg. These documents must show a detailed audit trail so that if challenged in a court of law can show who had access and who updated documents. 


SO the problem is 


1 Site Collection that is 170gig and the design means that we have 1600 sites and these contain images that are stored in the single site collection. How do we remove the full documents and images and replace with links rather than the doc, img. 


2. We have around 8 business units the problem is that they can share information acros

Unable to provide a Custom WindowsTokenRoleProvider in Share Point Foundation 2010


Hi All,

I have created my web application in Share Point Foundation 2010 with Classic Mode.

Thereafter, I need to use a Custom Windows TokenRoleProvider.

While this worked well in WSS 3.0, the  Roles.CreateRole(roleName) fails to create a role in SPF 2010.

I have the web.config entries as given below

<membership defaultProvider="CustWindowsMembershipProvider">

        <clear />

<add name="CustSqlMembershipProvider" ..... 


 <roleManager enabled="true" defaultProvider="CustWindowsTokenRoleProvider">
        <clear />

<add name="CustWindowsTokenRoleProvider" ....



Are any other configurations  for custom membership and role providers in SPF 2010?

Kindly provide your suggestions.

Thanks and regards,



how to add buttons to ribbon in share point 2010 using object model?


how to add buttons to ribbon in share point 2010  using object model?

And how to add our custom ribbon in sp2010?

The custom buttons r disables when add webpart?


adding our custom tab under shared documents and add our own buttons in custom tab.

why the buttons are disabled when we r try to add page viwer webpart ?

we r using vs-2010 and share point 2010?

how to get current user permission,all permissions in share point site using object model



how we will get current user permission using object model to a site/subsite

how can show all permission under a subsite in share point.




How to ger share point sub site Ownr Name & Email using Object moel



i am sending request to the subsite owner so that time Current user like Requestor don't have permissions,but i need to send some information to owner.

Thanks & Regards


Content Type for Share Point Site



I am new to Share Point so just have 2-3 doubt need to clarify

1. How we enhance our Share point Out Box search using Content Type ?

2. The above operation is Possible in MOSS 2007 ?



Share point 2010 migrated site from Moss2007 is very slow



Share point 2010 migrated site is hanging while adding web part from browser.

Did any one get this kind of issue.



learn basic about share point.

This learn basic about share point.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend