.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

List web part

Posted By:      Posted Date: September 27, 2010    Points: 0   Category :SharePoint
On the business data list web part, I have a list of items. I want each item to link to another page. How can I do that? I think it is javascript, and that an href could be added, but am having trouble figuring out beyond that. Thanks.

View Complete Post

More Related Resource Links

Adding a list item that populates a particular part of a page

I am trying to create a list view in sharepoint designer that when you enter a list value it populates the right part of the page. Background - I am creating a list for a marketing newsletter that when you fill out the list form it will populate the marketing newsletter on page. its to save recreating it every month. the list has drop downs for addition and department and the data is inserted on the page. thanksSharepoint Customiser

Birthday list web part

Hello Do anybody know how to make a birthday list on sharepoint server 2010? I want the list on the homepage so when people go to the site they'll see the next 10 upcomming birthday's with date :) Thanks in advice...

How to hide the list ribbon in XSLT List View Web Part?

Hi, In SharePoint 2010, I have a custom list "Clients" on a site. On the home page of the site, I have added a Clients List Web Part. When I access the home page in a browser and click anywhere in that list, it displays the "List Tool" ribbon group which has "Items" and "List" ribbons. I do NOT want these ribbons at all when clicking on the list. How do I achieve this? Should I disable the click event on the list so these ribbons do NOT appear? How do I disable the click event on the list? Or What should I do to hide these ribbons when clicking on the list? Basically I want it to behave same as content query web part. In content query web part, if you click anywhere in it, it doesn't show up any extra ribbons. I want the same behavior with list web part. Thanks, Hitesh

Inserting List Item values from a Visual web part

Hi Geeks, I am struck here with one situation that is: 1) I created a enquiry list. 2) Then I created a visual web part it contains the same fields as enquiry list  as textboxes for entry. If any body enters the data and click submit. Those data must be reflected into the enquiry list. Please enlighten me how can I do this.   Thanking you.

XML Viewer web part and SharePoint list RSS feed doesn't work

Hello, When I want to use the XML Viewer web part and set the XML URL to an RSS feed from a SharePoint list I get this error: Cannot retrieve the URL specified in the XML Link property. For more assistance, contact your site administrator. The URL I'm trying looks like this: http://sp2010/_layouts/listfeed.aspx?List=%7B76FD9EEE%2D9354%2D444E%2DBE3C%2DA9AE2C4B2063%7D I've seen blogpost that discuss this and they say that this is because of a security issue and that I have to enable anonymous access in order to display the RSS feed. Is this the only option there is ? I don't want to enable anonymous access on my SharePoint site. Why can't SharePoint just request the RSS feed with the credentials of the logged in user ? Or am I missing something here?

Encapsulating custom list into a deployable web part.

Hello,I have created a custom list (using the internal create column method and not infopath) and then created new pages (EditForm.aspx, NewForm.aspx) using sharepoint designer so that I could format the pages as I needed. I need to somehow 'deploy' the entire custom list as a single web part whereby when another sharepoint instance could use the web part and utilize all the pages (new, edit etc) but always stay within the web part. - the only way i can see to do this is to create a new wep part using sp designer and using div's to hide / show different content. or, could i actually do a master page thing.Please help.If what I have said above is total gibberish then please say and I will try to explain it differently. Many thanks for any help I really am stuck in a hole.Kind regards,Jason.

can not change view of list view web part

hi, i created a list view web part and tried to change its view to custom view. in following code the view gets created but never comes as default. i have to go to list view web part and change it manually....                       web.AllowUnsafeUpdates = true;                     ListViewWebPart lvwp = new ListViewWebPart();                     lvwp.ListName = list.ID.ToString("B").ToUpper();                     SPView view = list.Views["customview"];                     view.Query = query;     view.Update();                     lvwp.ViewGuid = view.ID.ToString("B");                     lvwp.Visible = true;                     web.Update();                     web.AllowUnsafeUpdates = false;   I even tried with SPLimitedWebPartManager as shown in some example....                    &n

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

problem with displaying items in list view web part

I have a list view webpart at default display form. Default Display form display items (for example) from the contracts documents library. List view webpart also associated with the same documents library (contracts). In such case this webpart doesn't display any item. But if I add another list view web part associated with warrants document library it display item without any problems. Is it possible to bind list view webpart to another data source for contracts document library? Or maybe another solution? Thanks!

Excel 2007 Cubeset function needs to pull list based on part of field value (ie contains, wildcardin


I have a Cube with a field called 'Item Code'.  This field is six characters in length.  The first two characters differentiate what kind of product it is.  I am building my reports with cube functions.  I do not want to use a pivot table to retrieve the list by using the 'contains' or 'begins with' label filters.  Is there a way to use the cubeset function with left, mid, right functions?  I realize that it can be set up in the cube as a separate field, but I am not able to update the cube.  Below are my examples - 'All Products' and 'Product R3189S' work fine, but I need to retrieve 'Products starting with R3'.

=CUBESET("Financials Sales Cube", "[Product Dimension].[Item Code].[All Product Dimension].children", "All Products")

=CUBESET("Financials Sales Cube", "[Product Dimension].[Item Code].[All Product Dimension].[R3189S]", "Product R3189S")

= CUBESET("Financials Sales Cube", "[Product Dimension].[Item Code].[All Product Dimension].[R3****]", "Products Starting with R3")

Thank you in advance.


Add web part to list in sharepoint



i am working on SP 2010 and looking to add web part to list in sharepoint 2010 programticaly.

So that i could be able to add my custom web part to LIST.

Sachin K


SharePoint Web Part to View List in Different SharePoint Site

I am working on SharePoint 2010 instance. I want to be able to view list content in the SharePoint site that this list doesn't belong to. My site does not even share the same site collection as the one containing the list. Is this possible without the custom SharePoint solution coding? Thanks. 

List Web Part Issues in Site Template

I have about 10 list web parts each list with a custom content type and custom columns and a default view set. I am displaying these web parts on the site's default page. Everything looks great. WHEN I save the site as a template and create a NEW site from the template, the list web parts do not automatically grab the default views from the libraries, instead they just pull in the default Title column and thats it. I have to manually modify each web part to grab the default view. Is there a way around this? I don't understand why it cannot grab the default view automatically.



Provision Shared Documents List View Web Part in Site Template


I'm trying to add the Shared Documents "web part" that is part of the default Team Site template to a custom site template.  However, from what I've found this is not really a web part for Shared Documents, but a generic List View web part with Shared as the data source.  Also, I don't see where this is listed in the onet.xml file of the Team Site template (which I believe is the "sts" template, correct?).  Also, you cannot export/download the xml for this webpart from the page and when it is viewed via SP Designer, the way it is defined is not supported in an onet.xml file. 

So how do you add this webpart to a site template?

How to filter a sub list which is part of another list



I want to filter the list which is already part of another list.


Class MainClass


          String Name

          String MainAddress

          List<SubClass> ExtraInfo

Class SubClass


          String Address

          String City

          String PhoneNo

Now i have 10 items in my List<MainClass> and each item in List<MainClass> has 2 ExtraInfo items this is List<SubClass> items.

Now i want to filter List<SubClass> items with Condition City == "New York".

So, all 10 items in the main list (List<MainClass>) should have the ExtraInfo (List<SubClass>) items based on the filter condition.

I mean i just want to filter the Sub list not the main list.

Thanks in Advance! 


Editing the list and view of a content query web part


I have added a content query to my site which is querying a master contact list.

Once I have added the web part I then want to customised how it is displayed, i.e. first name, company name etc.

I am not getting a list menu in the ribbon when I check the box next to my content query web part heading.

Can anyone help.

Data View Web Part, update to Data Source / adding new list to existing data source


Hi all,

I have four Lists with identical columns :

List 1
List 2
List 3
List 4

I had to merge them, hence i created a data source ( Linked Source ) and merged these lists in SPD. I have used a data view webpart to display some columns from the merged lists data source and everything was working fine.

But now i have a new List : List 5 which also has the same columns like the other four lists and i need to update the data soure such that it is merged list of 5 lists not 4.

i updated the datasource property of the linked source to merge this new list as well. However the contents of List 5 dont appear in the data view webpart. 

Am i missing something here ? 

I dont want recreate the data view web part from scratch eachtime , because in future there might be List 6 , List 7 as well ... 

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