Showing all News items in webpart

HI,
I am trying to create a webpart which shows all the news items with the News title and date followed by a paging.
Currently, I have the below in publishing site:
1) Subsite for storing news
2) Page layout which has a category as "News", On Adding page layout, I am providing a Title, description followed by CEWP.
The users create the News pages by selecting the above way.
I would like to show all the News so far created in a webpart with paging added to it.
How to show all the News items in a webpart with pager functionality?
Thanks

Hi Venkatzeus,
If you want to custom list view web part, and show the paging like 1 2 3…Last, I would suggest you to customize the XSLT of the view web part, the following sample contains steps to do this:
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/ec69f84c-c7de-4322-8395-dcbeb8b89958/customize-paging-for-an-xslt-listview-web-part?forum=sharepointgeneralprevious
If you want to use programming that customize a web part, it is similar with .NET project, just first retrieve the list items, then generate it in your expected control, like gridview, then adding paging method to it, more information,
Paging data retrieved from SharePoint list using PagedDataSource object:
http://waelmohamed.wordpress.com/2010/04/06/paging-data-retrieved-from-sharepoint-list-using-pageddatasource-object/
How to implement paging and sorting in asp.net GridView control:
http://www.dotnetgallery.com/kb/resource12-How-to-implement-paging-and-sorting-in-aspnet-Gridview-control.aspx.aspx
Thanks,
Qiao Wei
TechNet Community Support

Similar Messages

  • How to make "show all menu items" permanent?

    Does anyone know a preference setting in CS4 to make "show all menu items" enabled all the time?  I use certain menu items regularly which require the extra step of chosing "show all menu items" before they will appear in the menu.  I would love to change this irriating setting.  I have searched preferences over and over and I know there must be one that addresses it, but I cannot spot it.

    The essentials workspace should show all the menu items:
    Window>Workspace>Essentials.
    If you want a different layout or to add panels to the workspace, rearrange/add
    to the workspace (panels) and then save a new workspace under a different name.
    Window>Workspace>Save Workspace.
    MTSTUNER

  • Rid of "Show All Menu Items" option

    How to get rid of "Show All Menu Items" option from Application menu and keep always open all menu items?

    You should be able to reset Your menus under Edit > Menus by choosing Set: Basic.

  • Show All Menu Items - On all the time - PSCS4

    I must be missing something because I'm sure Adobe would make a way to keep this feature on all the time. But I've been through the preferences and can't find it. Maybe someone can help me.
    How can I make Photoshop CS4 Show All Menu Items - All the time?
    It slows me down and frustrates me having to keep clicking on this each time I need the full menu, which is pretty much all the time.

    > Workspaces contain more than just the menus to display. If you just want to control just the menu items, go to Window> Workspace> Keyboard Shortcuts and Menus... Here you can choose 'Photoshop Defaults' from the Set: pull down on the Menus tab.
    > 'Essentials' is used Suite wide and may make more sense in some of the other products. Unfortunately, Ps was burdened with 'Essentials' and 'Basic' (effectively antonyms) in the process.
    Thank you Steve.

  • Show all Menu Items

    How can the default drop down menus be changed to show all menu items, all the time?
    t h a n k s

    Edit>menus. Choose the default set and don't allow menu customization when you save workspaces.
    Bob

  • Show All Menu Items  -designed by idiots for idiots?

    [rant]
    Which idiot or idiots thought of that in CS4?
    Same annoyance in my old XP office but at least you could set it to always show full menus. I had to move to CS4 after CS3 didn't like Win7 (no problem with that as it's beta) but I was shocked to find my opened images now seem to go left to right rather than right to left. Not sure of the technical description but the close 'x' has moved. And WTF is a 'floating document window' and why has it completely changed my user experience with Photoshop? It's horrible and totally different to CS3.
    "Show All Menu Items" is the worst thing of all. It's not done by the same numpties who did this forum is it? I notice tight/click paste doesn't work here either. I have to CTRL/V. And where's 'preview message'?
    I think the designers have run out of ideas and have to find something to do or are they all the people Microsoft dumped after the Vista Wow?
    Other than those complaints I still love Photoshop but -please- get rid of the "Show All Menu Items". Just show me the bloody options that have always been there.
    [/rant]

    Big thank you to Zeno Bokor -that solved it in 1 second
    I think I've had PS for almost 7 years and it's a wonderful program. I don't mind technical changes or improvements but they really need to test things a bit more. Messing about with something as simple as a menu (which is after all just a menu) is the height of stupidity. They should learn from Windows 7. A fantastic OS compared to the horrible Vista. Why did they get it right this time? They listened to their customers. Windows 7 opens CS4 (and CS3 -it does work just a bit of hassle) like a Notepad file. It's very quick, has never crashed and works very very well. I have noticed some other changes (apart from the annoyances) but I'm not a particulaly heavy user and everything else I went for in the GUI was there 9or was easily found).
    Adobe need to concentrate on getting the program to work and work well and stop messing around with the interface. And why is there no real working official fix for CS3 and CS4 with Windows7? W7 is not a beta like some strange little fan ap for Linux -it is your next paymaster. Yes, technically, it may be in beta but I've been using it for months (it's still free to use and download until March 2010) and it's a very very popular application. Many people who use W7 also use Photoshop. Instead of Adobe's development team thinking of ways to annoy paying customers maybe they should fix CS3/4 so it works fully in W7? You think that would be a good idea?
    Anyway, I'm glad Show All Menu Items™ is fixed but I still have multiple images being opened/loaded to the left instead of the right. So when I go to close or edit I keep going to the wrong side (maybe I installed the Arabic version? ). This sort of thing is not easy to Google or search for a fix because I and I assume 1000s of others have no idea why it would have changed in the first place.
    Photoshop is a great application but cut the crap ideas and fancy menus. And, get your finger out and fix CS3/4 fully for W7.
    Thanks again

  • Summary Page (webpart) with all New Items

    Hello,
    I have a sharepoint site with lots of library's and pages.
    Is it possible to list all the "New items" in all the different library's, in a webpart on the welcome page?
    Aisietie

    Hi,
    We had the same issue last year.
    We didn't find out of the box feature.
    We took the decision to develop a custom webpart.
    To optimize your query (not request each list one by one), you have to use SPSiteDataQuery.
    You have to specify your query one time and to select all the list you want.
    Take look on this code which come from the below URL
    SPWeb web = SPContext.Current.Web;
    SPSiteDataQuery query = new SPSiteDataQuery();
    //Ask for all lists created from the contacts template.
    query.Lists = "<Lists ServerTemplate=\"105\" />";
    // Get the Title (Last Name) and FirstName fields.
    query.ViewFields = "<FieldRef Name=\"Title\" />" +
    "<FieldRef Name=\"FirstName\" Nullable=\"TRUE\" Type=\"Text\"/>";
    // Note that setting the Nullable attribute to TRUE
    // causes an empty value to be returned for lists that
    // do not include the FirstName column. The default is
    // to skip a list that does not include the column.
    // Set the sort order.
    query.Query = "<OrderBy>" +
    "<FieldRef Name=\"Title\" />" +
    "</OrderBy>";
    // Query all Web sites in this site collection.
    query.Webs = "<Webs Scope=\"SiteCollection\" />";
    DataTable dt = web.GetSiteData(query);
    http://msdn.microsoft.com/fr-fr/library/microsoft.sharepoint.spsitedataquery.aspx
    Best Regards,
    Frederic
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.

  • Cache does not show all config items

    SXI_CACHE is not showing all my config items. 
    When looking at SXI_CACHE, I noticed that only the config items pertaining to actual SAP services (Business Systems) seem to show up??  Is this normal?  I've refreshed the cache (both delta, and full). 
    Also, when I double-click on Services, all the services show up, but the ones that are not actual SAP systems have an 'X' in the 'Flag' column ("Event has occurred")  What does that mean?
    Background:
    We are in the prototype stage; I am the only one in the box. I created a simple File-BAPI scenario just to demonstrate that things worked.  For the last couple months, the comm channel was set to Inactive.  Attempted to reActivate the comm channel to get back in to it, and it's not working.  I've double-checked everything I can think of, from the obvious (is there a file to be pulled), to the not-so-obvious (was the scenario changed by someone else in my absence).
    Also, there are not sender agreements listed in SXI_CACHE?
    Thanks in advance,
    Brian

    Actually, I wasn't using Business Service, I was using Business Systems from the SLD as Services without Party.
    However, I just created a Business Service, filled in the Inbound and Outbound Interfaces, created Comm Channels, RD, ID, SA, RA, and activated all - still no luck.  This time, some of the pieces DO show up in the cache.  The ID, RA, and the Receiver CC show up in the cache, the RD, SA, and the Sender CC do not.
    This has got to be a cache problem.  We are using a VERY old and slow machine to run XI on.  Each time I activate something in the DR or CD, I have to go to SXI_CACHE and Start Delta Refresh.  I'm thinking there may be a timeout setting or something.  What's frustrating is that it used to work just fine.
    Any other cache related ideas?
    ***EDIT - just rechecked - getting messages from newly created Business Service, but they are failing in mapping....I guess I need to delete and recreate everything and try again.  Maybe that will clear up the cache issue....
    Message was edited by: Brian Vanderwiel

  • Word Templates: Show all ordered Items

    Hi,
    I created a webservice in CRM 7.0 which would give back all ordered items.
    Now I want to make a list of these and create a Word Document out of it. I use the "Create from template" button in the attachment component.
    The order number etc is shown but I dont know how I can make a list of all items ordered.
    Can somebody tell me how I can achieve this?
    Thanks.

    All catch is to insert table in the correct level of xml schema.
    1. So you first need to insert elements to the template until you reach the element that you want to use in the table. For example if you want to display items of orders, this level would be Transactionhistoryofheader - Btdocflowall - Item
    2. After that you would insert table with 2 rows and as many columns as you need.
    3. The first row of the table is used for column headers. You can type in freely any text you want to display in column headers.
    4. The second row of the table is for the entries themselves. In the second row you have to add elements from the xml schema that are in the lower part of the element under which you inserted table. For example, under Transactionhistoryofheader - Btdocflowall - Item are then next nodes Btorder - Administrationheaderoneorder - Description. So in this case in first column will be displayed descriptions of all entries.
    5. At runtime rows are added dynamicly depending on actual number of entries.
    Regards.

  • "Recent Items" doesn't show all recent items

    I have a file type I use commonly that never shows up on the Recent Items list. Why?
    Actually, none of my InDesign files show up. Is this just Mac acting like Microsoft and only showing recently used MICROSOFT files instead of all files?
    I thought that Mac people were better than that! After using Mac's since 1985, I am SERIOUSLY frustrated with the lack of Mac I'm getting with Leopard. It's been terribly MICROSOFTED.
    This *****!
    Not to mention wasting hours of my time finding absolutely NO DATA about this in the help, or the knowledge base (talk about copying windows).

    I just tried it and my InDesign files show up in the Apple menu's Recent folder after I open them using the Finder - they do not appear after being saved or opened using Adobe's interface to do. Adobe must be bypassing the standard Open and Save file dialogs used by the operating system and in doing so these file operations are not cataloged by the Finder for the recent items menu.
    Do you have the sidebar turned on in your Finder folders? There is a section for custom search results or smart folders or whatever they are being called today - where you can store a search for all InDesign Files created in the past week or month or whatever criteria - could even use a tag in the file name by project to have separate folders for each - and you could even go into your Library folder (under your user name) and take that saved search and make it a shortcut on your doc or using an App such as FruitMenu from Unsanity.com you could even make this a custom item on the Apple menu.
    Two pieces of advice for you.
    1. Don't get upset with Apple when the issue is with Adobe's code.
    2. Take any opportunity where the system or an app does not work as you would like it to find a creative solution that works better for you than the built in options.
    Also I feel your pain I have been there - and in the process discovered some truly amazing third party apps that suit my needs wonderfully - some of which have even been purchased by Apple and incorporated into the base operating system.

  • Tabs set to open on launch. Now showing all 'New Tabs'

    Launched Firefox, all tabs now just have the title 'New Tab', and show a plank page with nothing in the address bar.
    They aren't showing in closed tab history, there is no page to go back to on the tab, they are just blank, as if I had just opened one, only without the tile screen.
    Anyone have an idea as to how to get them back?

    Yep, that's the setting
    Tried safe mode, still nothing. Seems that the data of the tabs open has been changed to be just blank tabs somehow.

  • Syncing iPhone for the first time- all new items deleted & replaced w/ old.

    Somebody, please help me. I've been looking through these threads for the last hour now and can't find any answers to my question.
    I recently had my iPhone stolen and had to buy a new one. I bought the iPhone 4 and tried to sync it to my computer and recover old contacts. When I was prompted to sync to old phone or set up as a new phone, I chose to sync to my old phone, hoping to get some of the old pictures/contacts/etc back.
    Unfortunately, I had NOOO idea it would delete all of my new pictures/contacts/etc. I thought it would be adding to, not replacing. My pictures are the most important to me, because I just had my 21st birthday and took over 200. Is there ANY way to get them back?
    I never synced my new iPhone, so I don't think there is a back-up for it, as this was the first time I tried to set it up on the computer. (I got the phone two days ago.)
    Please tell me there is a way. I don't want to lose all of those memories.

    Hey:
    IMHO, There MIGHT be a chance ....
    There are a numer of "data recovery" tools out there that might help.
    This article is a nice summary:
    http://forums.cnet.com/7726-7588_102-3223036.html
    Since the iPhone is treated as an external drive by a Window computer this might work ... If it wasy my 21st birthday I'd sure give it a go...
    I have personall used the recovery tools used by DiskInternals with good results, but never on an iPhone. Disk internals has good e-mail tech. support, send them an e-mail describing your problem and to NOT take any new pictures until you either recover what you can or give up!

  • I comment on controversial news articles, firefox no longer shows relevant news articles, when compared to the News section of IE it shows all news.

    Open yahoo and click the News tab in IE, and do the same for Firefox. IE displays real news but Fire fox is now displaying a watered down news and absolutely nothing of a controversial nature.

    hello dadjamey, firefox is just a browser and displays the site as it is received from a webserver (yahoo in your case) - if you have questions about the content served to you, you'd have to approach yahoo's support since only they control what news stories show up on their site.
    things might be different between browsers when you are signed in to the site with an account on one of them but not the other...

  • Apple mail inbox not showing all new gmail

    When checking gmail through apple mail some mail is showing in archive, some in important, some in other folders, but NOT in the actual inbox itself.
    Running Yosemite and all up to date.
    Any clues as to why?

    Try rebuilding the mailbox. This can take awhile if you have a lot of mail.
    Rebuild mailbox

  • Recycle bin to show all deleted items on the site collection for specific user group

    hi there, is there any way where a certain sharepoint group (i.e. site collection members) to view and restore deleted items on theentire collection, without giving them site collection rights orgive them more rights than necessary? we wanted to create
    aSP group that has the permission to restore deleted items and give them to selected users so that our users won't have to contact us when they want to restore a deleted item

    I don't believe you can. If an item get's deleted it should go to the first recycle bin @ /_layouts/15/RecycleBin.aspx
    The Recycle Bin gives a site collection administrator
    greater control when users delete files, versions of files, list items, libraries, lists, and folders from a SharePoint site by providing a second stage safety net before an item is permanently deleted from a site. When a user deletes an item from the Recycle
    Bin, the item is sent to a second stage Recycle Bin (also known as the Site Collection Recycle Bin) that the site collection administrator manages. This article focuses on how a site collection administrator can manage the Recycle Bin for a site collection.
    https://support.office.com/en-US/Article/Manage-the-Recycle-Bin-of-a-SharePoint-site-collection-5fa924ee-16d7-487b-9a0a-021b9062d14b
    Ibrahim Sukari, Technical Consultant | SharePoint | Dynamics CRM |
    LinkedIn Profile

Maybe you are looking for

  • ALV cell translation when exporting to excel

    Hi, I am displaying an ALV with first column as traffic signal. When I export the ALV data to excel, nothing is displayed under traffic signal column. My question is: When we are exporting ALV to Excel, can we substitute text for either red or yellow

  • Outgoing Payment Issue

    Hi all, I need to make Outgoing payment with cheque for the following entry. Remuniration A/C -                Dr    50000   To TDS Payable Cr        ---                         2000   To S/H Cess      Cr       ---                          1000   To

  • How do I get rid of MY Start by Incredibar

    When I open new window I get a My Start page and junk advertising. I have tried to delete through remove program and deleted a strange "user" file. Search search.does not find an other files with search. I did search with "ib" as suggested on some fo

  • Adhoc query for Training & Event mgmt

    Hi, Can anybody guide me for design the adhoc query for training & event management. I needto extract data upto attende level from a particular infoset. Thanks Dadarao.

  • Playhead limited info and auto scroll

    Anyone else having issues with the skimmer info? Creating a music video and it does not seem to show you how far in the song you are etc when you scrub along. Also, when playing clips in my timline, the playhead does not auto-move with the playing of