.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

WPF: Flexible Content Display With Flow Documents

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

Markus Egger discusses all the flexibility and power of flow documents in Windows Presentation Foundation

Markus Egger

MSDN Magazine August 2007

View Complete Post

More Related Resource Links

Dynamic WPF: Create Flexible UIs With Flow Documents And Data Binding


Flow documents offer enormous flexibility in arranging text layout and pagination, but they don't support data binding, so you can't dynamically change content. Here we build a component to solve that problem.

Vincent Van Den Berghe

MSDN Magazine April 2009

SharePoint and Open XML: Generating Documents from SharePoint Using Open XML Content Controls


This article describes how to generate documents that contain data stored in SharePoint lists. The example demonstrates how OpenXML content controls can be defined to capture list data in a Word document and how LINQ to XML can be used to query the lists. The documents are generated from a SharePoint Web Part.

Eric White

MSDN Magazine October 2009

MOSS Content Database has more documents than what's seen on browser

I am not sure how sharepoint internally handles stuff, but this is what I see. I am a SQLDBA and one of my company sharepoint group re-organized a site, by moving some files from a document library to another document library. I think she used the content deployment.

When she see the number of documents in the document library it showed 700 documents. She moved only 50 of them. I went into the database and queried the Docs and DocStreams View and I get the list of all the those documents. I see both the ones that we see on the site as well as something that we do not see on the site.


ad.DirName, ad.LeafName, TimeCreated, ads.size/1024 as [Size(KB)], SetupPath

FROM Docs ad, DocStr

Assembling Documents on SharePoint 2010 Sites by Merging Content from Excel, PowerPoint, and Word

This article describes a rich document assembly solution that takes Word 2010 documents, Excel 2010 documents, and PowerPoint 2010 documents and merges them together to form a final report in Word. It does all of this from a SharePoint 2010 Web Part.

Record Center and content type of the incoming documents


Hello all

I have same content types in both collboration site and record center sites.

When I used Send To command to send a document from collaboration area to record center, all the properties and metadata are promoted to columns in the Record center library. But the Content type of the document in record center is set to "Document" even though the incoming document's metadata has Content type value. Will all the records end up as Document content type if we are using default router?



Kiran Bellala

How to find the content height of the Flow document?

Hi Dudes, I have a RichTextBox control in my application. When the user types the content inside the RichTextBox and clicks ok i need to validate such that the content that the user entered should not overflow the controls Height. So i need to find the height of the FlowDocument property of the RichTextBox Control. I dont have an option to find the height found one way from surfing around        double GetDocumentHeight()         {             Rect rectStart = Document.ContentStart.GetCharacterRect(LogicalDirection.Forward);             Rect rectEnd = Document.ContentEnd.GetCharacterRect(LogicalDirection.Forward);             if (!Double.IsInfinity(rectEnd.Bottom) && !Double.IsInfinity(rectStart.Top))             {                 return rectEnd.Bottom - rectStart.Top;             }             else             {        

Display the content of a Word document in a web part?

Hello all,We are planning to display the content of the word document pulling document from document library in a web page in sharepoint as a web part.So, based on above requirement , I have to display word document in a container/control which allows word document to edit, read and save it back to document library.I know that if you have Office 2007 installed we can convert the word document to web page and display it in the page viewer web part but we have office 2003 suite. So we are looking for web part which can display the content of the word document inline with the web page.Thanks in advacne,Chakri

Creating a 3D cube and display content on each side

Dear all, I would like to show different content in each of a cube face that I can manipulated in space. My customer has see this in a desktop 3 D application somewhere on the net and would like to have this integrated in my applciation I am really interresting to integrate this has it is a good customer but have never done it Does any one have a done this already or sample for doing it ? regards SergeYour knowledge is enhanced by that of others.

SharePoint Programming: Replace content in documents of Document Library

HI, I have 100+ word documents in one of the document libraries on our SharePoint portal. Most of these documents contain HYPERLINKS which refer to a totally different SharePoint server. My task is to update all these HYPERLINKS to point to our server instead of external server. Any pointers on how to accomplish this would be highly appreciated. Thanks in advance Mahesh B

How to display the thumbnail view of the documents in Sharepoint Document Library

Is there a way that we can have the thumbnail view of the documents that are uploaded in SharePoint Document Library. We have thumbnail feature in Picture Library but can we have the same in Document Library too. Documents includes Words,Excel,PDF. Any Suggestions Please 

Form opening in infopath client despite Content Type settings "Display as a Web Page"

Hi all,   I have a strange behavior with my forms. The infopath template is defined as Content Type for my Form library, in the advanced settings I have checked "Display as a Web page" for the "Opening browser-enabled documents" setting. Despite that when the client is availble on the computer which is browsing the Form Library, I'm asked to "Open", "Save" or "Cancel" instead of opening the form in the browser.   Any idea why this is happening ?

Using a List View web part to display documents from multiple document libraries from different site

Hi there, I am trying to have one web part display documents (or list items) from different document libraries (or different lists) from different site collections. I have achieved this under a single site collection using Data View Web Part (using SPD). I have also achieved displaying a single document library (or a list) from a different site collection by using List View Web Part. but I am not sure how to get my head around displaying documents or list items from different document libraries or lists across site collections. I have thought of using SPSiteDataQuery or ListViewByQuery, but they all seem to focus one site collection at a time. If any of you have done this before, please share your best practice on this one with me. Much appreciated. Clark

How do I dynamically change and display the group of controls/content in wpf

The requirement for me is, based on some condition I need to show different group of controls on the screen. Gow do I achive this?

RSS - Is there a way to display all new content across several subsites on a top level home page ?


I have an Intranet site that contains several departmental intranet sites.

Is it possible to have a web part on the homepage of the top level intranet that displays all recently added content to the various sub sites ?



Display My Documents as a Webpart


Hi I want to display My Documents as a webpart, so who ever logs in to the site there my documents should be displayed as a webpart.

Is there any way to do this  

Display Customize list having All Site Content Layout



I am having Sharepoint 2010 RTM Trial on Windows server 2008 SP2. Also I am having Team Site.

I have noticed that All Site Content Page and a List Page (click on "Lists" link in Navigation Panel) are the same but Lists Page have some Query string attached to the Actual Page Link and therefore, only lists appears on Lists Page.

Can I display my custom Lists (List of my custom Lists) on a Custom Page through Webpart ? Or there is any alternate or workaround for that ? 


how to display sharepoint 'document library' contents (i.e number of documents) into datagridvie



i have some docus in documents library of sharepoint server 2007, i need to display these documents into datagridview of windows form application.

please provide related code...



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