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

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

Where is Format Document icon to add to toolbar in VS2010

Posted By:      Posted Date: August 25, 2010    Points: 0   Category :ASP.Net

For years now, I always added the "Format Document" icon to my HTML Editing toolbar.  It always was difficult to find this in VS2008 and VS2005.  It seem it has been completely eliminated in VS2010.

Does anyone have any idea where is might be in the Customize toolbar myriad of commands?

I realize it is available under the Edit drop down menu as well as keyboard command Ctrl K, Ctrl D.  But is is just so much more helpful to put it on the toolbar.

Thanks in advance for your help!

View Complete Post

More Related Resource Links

New Toolbar for sharepoint document Library

Hello, how can i add new toolbar which contains all my fucntionts and actions to effect the document Library in the same page? Note: i don't want to customize in the existing toolbar in the page i need new one. Thanks in Advance

removing new document and new folder from toolbar

hi, is there a way to remove new document and new folder from toolbar using jquery or javascript

Dataview Webpart - display document type icon with status

Hello, I recently came across an excellent post by Marc Anderson on how to surface the document icon within a DVWP. http://sympmarc.com/2008/09/10/displaying-the-document-type-icon-in-a-dvwp-in-sharepoint/ What I wanted to know is has anyone any knowledge of how to extend this so that the icon will reflect if a document is checked out? Thank you for your comments and thoughts. Sincerely, Tim

Changing Date format in Filter toolbar


i have added a toolbar to a Data View Web Part and enabled the Filter option. When i click on the filter, the Due Date field displays choices as Saturday, September 11, 2010. Within the DWVP I have the format set to mm/dd/yyyy, the differening formats seem to prevent the filter from working. How I can change the format in the filter dropdown ?

Thanks in advance

Dean MCTS-SQL 2005 Business Intelligence

Document icon and title link in document library don't navigate on click for one user using IE8


On a pretty vanilla SharePoint document library, a particular user browsing with IE8 can click on the document icon or the title link for a Word document but nothing happens.  Other document types were not tested, so I can't say if it was specific to Word documents. The user can however pull up the menu at the right of the title and select "Open in Microsoft Office Word" which will open the document in Word and is then able to modify and save the document.  The behavior has not been observed from other users using IE8.  I've reviewed the users Internet Options settings and didn't see anything out of the ordinary and tried disabling pop-up blocker and other potentially interfering features without changing the observed behavior.  The user is from a different location and his configuration may or may not represent the stock configuration at that site, so I can't dismiss it without determining whether it would affect all users at his site.  Word 2007 is installed on the user's machine.

Does this sound familiar?  Any suggestions for troubleshooting?

Clicking Type Icon does not Open Document

  1. Create a document library
  2. Ensure the Type column is displayed in the view
  3. Add a document of a known file type (i.e. Word or InfoPath)
  4. Click on the Type icon for that document. All it does is highlight that row, check the box for that row (if shown), and change the ribbon perspective, but it does not open the document.

Anyone else experience something different, and does anyone know if this is a bug, if there's a fix, or a workaround?  I have submitted it as a bug on MS Connect.


SharePoint Architect || My Blog

Custom toolbar created in VS2010, C# works in IE8 but not in IE7 or IE6


Hi All,

I have created a custom IE toolbar by extended bandobjects. I used VS 2010 and C# and took help from the following article  (http://www.codeproject.com/csharp/dotnetbandobjects.asp , the bandobject lib etc )

Now when i build the project in a system having IE8, the toolbar shows up fine in my IE after selecting View->Toolbars->MyToolbar.

But in a machine having IE7, though i have an entry of my toolbar in View->Toolbar, i am not able to select it and thus it does not display/work for IE7.

Can any one please help me with what is going wrong with the toolbar.

Thanks and Regards,

Amit Bansal. 

Conditionally Change Folder Icon in document library view (SP 2007)


Hi All,

How can I change the folder icon in the default document library view?  The catch is, I don't need to do this across the board, instead, I need a custom folder icon based upon the individual folder's properties.

I'm aware of the file ..\Web Server Extensions\12\TEMPLATE\XML\DOCICON.XML, but that's not what I need.

My initial thought, was to find the page that sharepoint uses as the template, find the <img> src attribute, and chnage it from


to something like


my GetIcon.aspx page would then look up the folder's properties, and return the expected .gif file.  However, I don't know which file is used.


Open word document from asp.net - toolbar not visible.



We have a scenario where the data on the web page needs to be opened in MS Word document.

For this we are using

HttpContext.Current.Response.ContentType = "application/msword"

But when we select "Open" in the popup box and the msword opens up, tool bars for msword is not displayed (Font/ font size etc.). But if we choose to save and open the saved document at that time the standard tool bar is visible.

Is there any way to display word doc with standard tool bars.


How to change the folder icon dynamically based on the name of folder in shared document library


I have created visual webpart ,through this webpart i am creating the folders dynamically in shared document library.

here my thing is if i create folder with specific name,want to set custom icon instead of default icon

please any one help me on this.


Advanced thanks


Document Icons replaced with blank.gif- generic doc icon


I am set up as site collection admin on an instance of MOSS 2007, and when I link an uploaded file on a page and click "show icon" it displays the proper icon.

However, when a user with standard permissions attempts the same action, even with the same document; the document icon shows up as generic doc icon (dog eared paper). 

Is there a permission issue that I need to look into server side? Or is there another solution?

Forgive me if this is a repeat, but I didn't see anything that dealt with one permission level displaying icons differently than another.

Working with SharePoint document libraries

Document libraries are collections of files that you can share with team members on a Web based on Microsoft Windows SharePoint Services. For example, you can create a library of common documents for a project, and team members can use their Web browsers to find the files, read them, and make comments. Users with Microsoft Office 2003 can check out and edit the files as if they resided on a local or network drive.

By default, your team Web site comes with a built-in document library named Shared Documents, which is listed on the Quick Launch bar as well as on the Documents and Lists page.

jQuery $(document).ready() and ASP.NET Ajax asynchronous postback

Many call it the ASP.NET jQuery postback problem, but using the technique below should make it no problem anymore. $(document).ready() isn't called after an asynchronous postback. What this means? You lose the functionality that should be executed within $(document).ready() after an UpdatePanel rendered its contents after an asynchronous postback.

How To Set a Date Format In GridView Using ASP.NET 2.0

A very common desire is to set a column of a gridview to display just the month, day and year of a DateTime type. The problem is the by default, the HtmlEncode property of the boundfield attribute (
The problem is that if this field is enabled, you can not pass format information to the boundfield control. That is, if you try the following code, you will not get the desired result.

How to format and update GridView and DataGrid rows using JQuery

The behavior described in this question is as expected. When you set text of a cell in grid, it directly affects HTML that is going to be rendered. When you set text value of a cell, it means that you are setting innerText of the cell. The column that GridView creates for command fields (Edit, Delete and Select) are a (anchor) or button elements. So you can see what will happen if you set text value in that cell. It will wipe out those link or button controls and replace them with simple text string.

SharePoint Document Workspaces for Developers

Office 2003 is being released this month, and a cast of supporting applications is already available. One of these is Windows SharePoint Services 2.0, the free team add-on for Windows Server 2003. If you're not familiar with SharePoint Services basics, take a look at What Developers Need to Know About Windows SharePoint Services. In this article, I'm going to drill into one key place where SharePoint and Office 2003 overlap: document workspaces

How to format datetime & date with century?

Execute the following Microsoft SQL Server T-SQL datetime, date and time formatting scripts in Management Studio Query Editor to demonstrate the usage of the multitude of temporal data formats available and the application of date / datetime functions.

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