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


Top 5 Contributors of the Month
Sharon Maxwell
Post New Web Links

Filtering the Table of Contents Web Part

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :SharePoint
 
Hi there, I'm trying to filter the Table of Contents web part so that it only shows a list of sites; excluding the documents, lists, discussions, etc... This is on our projects site, and will be used to show a list of projects. I've scoured the net for quite some time and found some people trying to do the same kind of thing, but couldn't seem to get their custom xsl template to do the trick. I'm by no means an xslt expert, but I believe the answer lies in adding a custom style template that will filter the resultset in the LevelStyle.xsl file? Please help!!!


View Complete Post


More Related Resource Links

filtering table contents shown in datalist

  

i am using this code to fill my datalist:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim myConnection As SqlConnection
        Dim myCommand As SqlDataAdapter
     
        myConnection = New SqlConnection("mydb")
      
        myCommand = New SqlDataAdapter("SELECT * FROM Posts", myConnection)
      
        Dim ds As DataSet = New DataSet()
        myCommand.Fill(ds)
     
        DataList1.DataSource = ds
        DataList1.DataBind()

    End Sub

it works and fills the datalist with the whole table..

when this page opens the address bar is like "www.example.com/threads.aspx?thread ID=123"

i would like the datalist to show all contents in the table with this specific thread ID.. thank you in advance :)


Quick Launch navigation and Table Of Contents Web Part multi language issues

  

I noticed that my multi language site have some issues in translations. The translations in breadcrumb, list and libraries are all ok, except the list names in the Quick Launch navigation and the Table Of Contents Web Part, it does not translate the names of lists and libraries......

Can anybody give me some advise? Or is this a bug?


webjc

why is dbo part of the qualified database table name?

  
what is the [dbo] for in the database table name? In sql mgmt studio, I have to run:   select * from bookstore.dbo.bookmaster or   use bookstore   select * from bookmaster This does not work:   select * from bookstore.bookmaster thanks,  

Filtering pivot table by KPI value

  
Hi, All ! I've been faced with following problem. I have a kpi that shows whether the dealer has send report in time. This KPI may return two values 1 - in time, -1 -  not in time. I built a simple pivot table in rows of which are dealer name, in column - KPI and in filter - month name. I'd like  to filter dealers by their status, to see only dealers, who haven't send report in time. I tried to filter in the pivot table by value, but without result. How I can doo it ? I thought may be worth  add a some attribute to dealer dimension that contain a KPI value and filter by this attribute ? Thanks in advance !

pushing 2columns of one table to another table after filtering(eliminating nulls & inserting only ip

  
hi thankz in advance,i have 2 tables t1 and t2in t1 i have 4 columns from that i want to insert only 2 columns to another table t2 i only want to send data which is in the form of ip adress like(123.123.123.123)after eliminating nulls and other data.plz suggest me is it possible to write a query or i need to do it programetically.thankz a lot..

inserting one table data to another after filtering nulls and duplicates

  
hi i have tbl_ip i want to filter nulls and duplicate to my tbl_ipfilter can u suggest me a stored procedure for this. data of tbl_ip is like below . ip 27.24.83.105 NULL NULL NULL 92.20.83.203 92.20.83.203 67.21.83.315

How to display the contents of a table while debugging a stored procedure

  

I see that after a call to my stored procedure I am jumping into a trigger while trying to insert rows. How do I see what SELECT * FROM INSERTED is or what is in other tables while I am debugging my stored procedure. (I know I can put SELECT * FROM INSERTED into my trigger, etc. but I am looking to be able to debug my stored procedure without changing anything except things in my debug environment.


Building my new blog with Orchard - part 2: importing old contents

  
In the previous post , I installed Orchard onto my hosted IIS7 instance and created the "about" page. This time, I'm going to show how I imported existing contents into Orchard. For my new blog, I didn't want to start with a completely empty site and a lame "first post" entry. I did already have quite a few posts here and on Facebook that fit the spirit I wanted for the new blog so I decided to use that to seed it. The science and opinion posts on Tales of the Evil Empire always seemed a little out of place (which some of my readers told me quite plainly), and the Facebook posts were blocked behind Facebook's silo walls even though they were public. You still need a Facebook account to read those posts and search engine can't go there as far...(read more)

Exporting to Word with table of contents

  

I was looking for functionality in SSRS 2008 that allows the creation of a table of contents when exporting to Microsoft Word.

I have not been able to find any examples and thought maybe I would have to use a 3rd party component.  Has anyone had experience doing this in SSRS and if so could you provide an example.

Thank you,

  


How do I get a HelpProvider to start on the table of contents when it is run from the F1 key?

  

I have a .NET 3.5 application that runs a form's HelpProvider when the F1 key is pressed or when Help | View Help is selected from the menu bar.  When the form in initialized, the lines

            HelpProvider.HelpNamespace = HelpFileName;
            HelpProvider.SetHelpNavigator(this, HelpNavigator.TableOfContents);

In the form's properties, I have:

HelpButton                    true

HelpHavigator on Help   TableOfContents

are executed.  When Help | View Help is selected, the help file displays and opens to the table of contents tab.  When the F1 key is pressed, the help file displays, but it is not open to the table of contents tab.

 

What do I need to do to get the table of contents to be displayed when the F1 key is pressed?

 


How do I get a HelpProvider to start on the table of contents when it is run from the F1 key?

  

I have a .NET 3.5 application that runs a form's HelpProvider when the F1 key is pressed or when Help | View Help is selected from the menu bar.  When the form in initialized, the lines

            HelpProvider.HelpNamespace = HelpFileName;
            HelpProvider.SetHelpNavigator(this, HelpNavigator.TableOfContents);

In the form's properties, I have:

HelpButton                    true

HelpHavigator on Help   TableOfContents

are executed.  When Help | View Help is selected, the help file displays and opens to the table of contents tab.  When the F1 key is pressed, the help file displays, but it is not open to the table of contents tab.

 

What do I need to do to get the table of contents to be displayed when the F1 key is pressed?

 


Filtering Page contents by User's City

  
I have set a profile column for WorkCity and would like to display news and weather specific to that user's home location no matter where he or she logs in.  I am doing this in SharePoint 2010 Standard and do not have Profile synchronization set up.  Is there any way to do this?

is there any way to create table of contents in rdlc ?

  

I am using rdlc in asp.net 2.0 .Is there any way to Create table of content in rdlc ?



Content Editor web part -cannot select "Use Predefined Table Format" check box

  

Can anybody tell me how to create table with their outline?After i create table, the outline doesn't appear.

If i want to add table, i can't select "Use Predefined Table Format" check box.

 

Thnx in advance

 

 


Content Query Web Part - Filter Contents of Document Library

  

Hi,

I would like to display selective content of document library using content query web part. My document library has multiple folders. I would like to have the content query web part display the contents of one particular folder. And also another content query should display the contents based on a column in the document library. I don't see these options when customizing the query for the content query web part. If this is not possible by default, what is the potentail alternative solution ?

 

Thanks

Srikanth Reddy


Copying contents of table from one SQL CE database to another

  

Hello,

I'm trying to copy an entire table's content from one SQL CE database to another. I would use sequential INSERT statements (read from the original table, then insert the results into the destination table) except for the fact that I don't know if they indexes from the primary keys would match, and I need them to match.

I'm programming this in C#, in case this helps.


Changing font size on table of contents webpart

  
Does anyone know how to change the font size, style of the Level 1 style. Right now I have that style set to vertical with descriptions and need assistance on how/where to do this.
Categories: 
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