How to change the default text "There are no items to show in this view" in the visual webpart

Hi,
I am using a visual webpart and in that if there are no items in the list it is showing the default text "There are no items to show in this view." I want to change this default text. 
I checked the forums here there are multiple ways are shown but no one is working for me.
Kindly help me to change this text.
Thanks in advanced.

It seems you're retrieving items inside a specific you.. why not having a <div> inside you're visual web part and check to see if the count of items retrieved is > 0 then insert that in the div, otherwise, insert your custom message and not rendering
the web part itself. What you're describing is the default message from SharePoint which comes from default views, and this can be changed from xslt in SP 2010 or in JSLink in SP 2013, here's a link how to do so in JSLink :
http://www.idubbs.com/blog/2015/jslink-csr-to-override-there-are-no-items-to-show-in-this-view/ .
But as said, since you're doing a visual web part, keep your stuff in the visual web part and check for the count of items before adding the rendered data to your div.  
Mohamed Derhalli
SharePoint Consultant
Blog: SharePoint Thoughts
   Twitter:
LinkedIn:
  

Similar Messages

  • All "Site Content and Structure" default views incorrectly showing "There are no items to show in this view"

    Hi All,
    On my SharePoint Online site (Office 365) all my “Site Content and Structure” default views are showing “There are no items to show in this view”. For example the “Checked out To Me” view shows “There are no items to show in this view” (shown in screenshot
    below). I know this is incorrect and should show at least ten items that have been checked out to me for over two months. I am also a member of the Site Collection Administration and Owner groups.
    What I am trying to do is view all the "Checked Out items" within a Site Collection including it's sub-sites.
    Is there a feature that needs to be activated to get the correct information from the “Site Content and Structure” default views?
    I hope you can help
    Colin

    Hi Colin,
    As I understand, all “Site Content and Structure” default views are showing “There are no items to show in this view” in your SharePoint online site.
    Check things below:
    1. Go to site content and structure logs in site setting to check if there is correct information.
    2. Create a new site collection to check if there are items in Site Content and Structure.
    3. Switch another computer to check if it can work.
    If the issue still exists, I recommend you to post it in the O365 forum.
    http://community.office365.com/en-us/f/default.aspx
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Best regards,
    Sara Fan
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I use Microsoft Outlook for email, and every day, dozens and dozens of times per day, a blank white Firefox window pops up and says "There are no items to show in this view."

    That’s all it says in the whole window that opens up. There doesn’t seem to be a specific thing I do that makes it happen and it doesn’t happen every single time I have it open, but pretty close. It seems to happen (most of the time) when I click on the “Today” or “Yesterday” (ect) tabs that organize the emails. But again, it doesn’t happen every time I do this – maybe 8 out of 10 times? It also does it when I just open my Outlook screen to look at it before I even do anything, and sometimes it just does it without even touching it. Also, pretty much every time I send an email it opens a couple pages up. It also doesn’t happen just once, it will open sometimes 5 – 10 of the same screen all at once. My IT person at work suggested deleting Firefox to see if it would stop and it didn't, it would just open up a window saying you have no Firefox so download it. I re-installed Firefox and it still does the same thing – mostly – except now it asks if I want to download the file instead of just opening that white Firefox screen. If I click yes it opens the same screen but it will still open sometimes 5 of those asking if I want to download it.

    Microsoft published some articles about this error last year. It might not be the only cause, but can you forward it to your IT for consideration?
    [http://support.microsoft.com/kb/2559926 "There are no items to show in this view." error message when you try to view a folder by using Outlook in an Exchange Server 2010 environment] (Group by)
    [http://support.microsoft.com/kb/2500648 "There are no items to show in this view." error message when you try to view a folder in Outlook in an Exchange Server 2010 environment] (Sort by Categories)
    Edit: As a short-term workaround, what happens if you make IE your default browser? You can still use Firefox as your primary browser, but of course links and shortcuts from other applications or the desktop will open in IE.

  • Abap wp table - there are no items to show in this view

    My apologies if I posted this in the wrong section.
    I started the system in SAPMMC Console and The ABAP WP Table don´t show any work process list and in Process List section the disp+work.EXE (Dispatcher) IS stopped.
    basically the abap WP table says there are no items to show in this view.
    as a result, i'm not able to start SAP or log in.

    I got the same problem, dispatcher status showing as stopper and remaining two are running in the process list
    here is the dev_w0 file. I got dev_w0.old also if you want i will also send. It has been more than a year i started the server. before it used to work.
    Thanks in advance
    trc file: "dev_w0", trc level: 1, release: "700"
    *  ACTIVE TRACE LEVEL           1
    *  ACTIVE TRACE COMPONENTS      all, MJ

    B Fri Jun 15 19:31:21 2012
    B  create_con (con_name=R/3)
    B  Loading DB library 'D:\usr\sap\EC6\DVEBMGS06\exe\dboraslib.dll' ...
    B  Library 'D:\usr\sap\EC6\DVEBMGS06\exe\dboraslib.dll' loaded
    B  Version of 'D:\usr\sap\EC6\DVEBMGS06\exe\dboraslib.dll' is "700.08", patchlevel (0.73)
    B  New connection 0 created
    M sysno      06
    M sid        EC6
    M systemid   560 (PC with Windows NT)
    M relno      7000
    M patchlevel 0
    M patchno    75
    M intno      20050900
    M make:      multithreaded, Unicode, optimized
    M pid        2468
    M
    M  kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)
    M  length of sys_adm_ext is 572 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 2468) [dpxxdisp.c   1299]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)            18304 (1408)
    M  DpShMCreate: sizeof(tm_adm)            3994272     (19872)
    M  DpShMCreate: sizeof(wp_ca_adm)         24000 (80)
    M  DpShMCreate: sizeof(appc_ca_adm) 8000  (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    M  DpShMCreate: sizeof(comm_adm)          528064      (1048)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)           0     (1440)
    M  DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    M  DpShMCreate: sizeof(gw_adm)      48
    M  DpShMCreate: SHM_DP_ADM_KEY            (addr: 06640040, size: 4653368)
    M  DpShMCreate: allocated sys_adm at 06640040
    M  DpShMCreate: allocated wp_adm at 06641E40
    M  DpShMCreate: allocated tm_adm_list at 066465C0
    M  DpShMCreate: allocated tm_adm at 066465F0
    M  DpShMCreate: allocated wp_ca_adm at 06A15890
    M  DpShMCreate: allocated appc_ca_adm at 06A1B650
    M  DpShMCreate: allocated comm_adm at 06A1D590
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 06A9E450
    M  DpShMCreate: allocated gw_adm at 06A9E490
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 06A9E4C0
    M  DpShMCreate: allocated wall_adm at 06A9E4C8

    X Fri Jun 15 19:31:22 2012
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation flat
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.

    M Fri Jun 15 19:31:23 2012
    M  ThInit: running on host visuinfoec6

    M Fri Jun 15 19:31:24 2012
    M  calling db_connect ...
    C  Prepending D:\usr\sap\EC6\DVEBMGS06\exe to Path.
    C  Oracle Client Version: '10.2.0.1.0'
    C  Client NLS settings: AMERICAN_AMERICA.UTF8
    C  Logon as OPS$-user to get SAPSR3's password
    C  Connecting as /@EC6 on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp ErrHp ErrHpBatch
    C    0 UTF8 1   06C68BC8   06C6E164 06C6D9EC
    C  Attaching to DB Server EC6 (con_hdl=0,svchp=06C6D938,svrhp=06C7F204)

    C Fri Jun 15 19:31:25 2012
    C  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
    [dboci.c 4172]
    C  *** ERROR => CONNECT failed with sql error '12541'
    [dbsloci.c 10933]
    C  Try to connect with default password
    C  Connecting as SAPSR3/<pwd>@EC6 on connection 0 (nls_hdl 0) ... (dbsl 700 110706)
    C  Nls CharacterSet                 NationalCharSet              C      EnvHp ErrHp ErrHpBatch
    C    0 UTF8 1   06C68BC8   06C6E164 06C6D9EC
    C  Detaching from DB Server (con_hdl=0,svchp=06C6D938,srvhp=06C7F204)
    C  Attaching to DB Server EC6 (con_hdl=0,svchp=06C6D938,svrhp=06C7F204)

    C Fri Jun 15 19:31:26 2012
    C  *** ERROR => OCI-call 'OCIServerAttach' failed: rc = 12541
    [dboci.c 4172]
    C  *** ERROR => CONNECT failed with sql error '12541'
    [dbsloci.c    10933]
    B  ***LOG BY2=> sql error 12541  performing CON [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY0=> ORA-12541: TNS:no listener [dbsh#2 @ 1204] [dbsh    1204 ]
    B  ***LOG BY2=> sql error 12541  performing CON [dblink#3 @ 431] [dblink  0431 ]
    B  ***LOG BY0=> ORA-12541: TNS:no listener [dblink#3 @ 431] [dblink  0431 ]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1411]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 10156]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    vm = V-1

    M *****************************************************************************
    M  *
    M  * LOCATION    SAP-Server visuinfoec6_EC6_06 on host visuinfoec6 (wp 0)
    M  *  ERROR ThInit: db_connect
    M  *
    M  * TIME        Fri Jun 15 19:31:26 2012
    M  * RELEASE     700
    M  * COMPONENT   Taskhandler
    M  * VERSION     1
    M  * RC          13
    M  * MODULE      thxxhead.c
    M  * LINE        10354
    M  * COUNTER     1
    M  *
    M *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 2468) [dpnttool.c   327]
    Thanks
    Vijaya

  • Exchange Groups showing "There are no items to show in this view."

    We're running a three server Exchange 2013 DAG that we moved to from Exchange 2007.
    Distribution groups don't appear to be displaying the membership since we migrated to Exchange 2013. In AD the members are there, and if you log in to ECP the members show when you manage the group, and even in Powershell if you do a Get-DistributionGroup
    -id "GroupName" | Get-DistributionGroupMembers the member show. But when you are in OWA, go to the All Group's address list, and click on a group it says "There are no items to show in this view".
    I made sure that the Set-DistributionGroup -id "Name" -forceupgrade was done (didn't need to, says it doesn't modify anything).
    Not sure why the members are not showing up?

    We're running a three server Exchange 2013 DAG that we moved to from Exchange 2007.
    Distribution groups don't appear to be displaying the membership since we migrated to Exchange 2013. In AD the members are there, and if you log in to ECP the members show when you manage the group, and even in Powershell if you do a Get-DistributionGroup
    -id "GroupName" | Get-DistributionGroupMembers the member show. But when you are in OWA, go to the All Group's address list, and click on a group it says "There are no items to show in this view".
    I made sure that the Set-DistributionGroup -id "Name" -forceupgrade was done (didn't need to, says it doesn't modify anything).
    Not sure why the members are not showing up?
    Hi,
    We can use the following command to check ExchangeVersion for all groups:
    Get-DistributionGroup | fl name,ExchangeVersion
    Additionally, we can also check an attribute called msExchVersion on ADUC: click View > Advanced Features and check group Properties > Attribute Editor > msExchVersion which the value should be:
    Exchange 2007  = “4535486012416″
    Exchange 2010\2013 = “44220983382016″
    Regards,
    Winnie Liang
    TechNet Community Support

  • 2010 - displays "There are no items to show in this view" when choosing Display by

    This just started happening. Display by date works, but not Subject, From, etc.
    I've tried all the advice online for this problem.
    The only other odd thing is that in Display by Date - after a few days in the past, the display is blank, last Sunday to be specific. 

    Hi,
    Please restart Outlook by running Outlook /cleanviews to restore default views to check whether the issue persists.
    If it doesn’t work, please start Outlook in safe mode to check whether the issue is caused by any third-party add-ins in Outlook.
    Regards,
    Winnie Liang
    TechNet Community Support

  • How do I delete photos on my ipad? The manual states there are more icons including a garbage can icon at the top of my screen but I do not have that icon. I only have edit, slideshow, and forward.

    How do I delete photos off my ipad. The manual says there is a garbage can icon that is not on my new ipad. I only have three icons when viewing photos- edit, slideshow, and forward. Thanks,

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • There are no shape tools showing up when I apply the fast blur effect.

    How do I fix this or work around?

    Hi amhodrick,
    Do you mean the oval and square shape tools when you select the clip and view the Effects panel?
    When did you last update your copy of Premiere Pro? I think those two shape tools are new to the June 2014 release of Premiere Pro. The Pen tool shown in my screen shot is new to the October 2014 release. (Remember that updating your CC software does not overwrite your installed version. Check your Applications folder and you'll probably see the newer installation next to the older one, and your task bar shortcut icons may still be pointing to the older versions.)
    HTH,
    Stefan

  • Since the recent update there are no options to reply to my emails, Since the recent update there are no options to reply to my emails

    The option to reply and forward emails has disappeared from my mail application

    This can happen from time to time. You will need to back up your phone, then restore your device. I would set it up as new first and see if the same thing is happening. If not, restore the backup to your phone.

  • How to change the default text title of Detached table/treetable

    Hi,
    Is anybody know How to change the default text title of Detached table/treetable.
    I have already read the post on "http://vtkrishn.com/2010/07/28/how-to-change-the-default-text-title-of-detached-tabletreetable/"
    as per this post It will change the title throughout the application.
    I wanted to change only for one particular table.
    Thanks,
    Charu
    Edited by: Charu on Sep 13, 2012 4:14 AM

    Hi,
    please don't double post and instead continue with your original threat. In the previous post you got the correct answer to use skinning. You did not like the solution as it doesn't allow per-instance titles. I agree with this and a logical consequence is to file an enhancement request instead of re-posting the question. I'll file the ER, so no need to follow up for you anymore
    Frank

  • Why does the default text tone play instead of the personalized text tone I have selected for a given contact?

    The selected text tone plays when I check it out on the contact page, but when I receive a text message from this contact the default text tone plays.

    Not me. iPhone or not, it always plays the default sound instead of the custom one

  • There are no active responsibilities available for this user

    Hi Guys...
    I am not technical person... but wanted to if anybody has experienced the following problem:-
    When logging into any account i get the following message:- There are no active responsibilities available for this user
    No i have looked the threads posted and most advise to run the WF_SYNCHRONIZE_LOCAL_TABLES concurrent request.. if i run this through toad or UNIX as i can’t get into forms i always seem to get the following message which could be playing a part in my initial problem.....ORA-00600: internal error code, arguments: [ktsircinfo_num1], [9], [33], [52844], [], [], [], []
    When i also query the following table Fnd_User_Resp_Groups i also get the following message: ORA-00600: internal error code, arguments: [ktsircinfo_num1], [9], [33], [52844], [], [], [], []
    any help would be most welcome......
    Bal

    Is the system in maintenance mode, by any chance ? You put the app in maintenance mode when applying patches. If you connect as the apps database user, what does this sql statement return ?
    select fnd_profile.value('APPS_MAINTENANCE_MODE') from dual;
    MOS Doc 400151.1 - After Login Receive Error: 'There are no active responsibilities available for this user'
    If the system is not in maintenance mode, you only option would be to open an SR
    HTH
    Srini

  • How can I change the default text color (black to blue) in Mail on Mountain Lion

    How can I change the default text color (black to blue) in Mail on out going email with Mountain Lion

    There really aren't default outgoing font settings. They are only there for viewing. A workaround I have seen mentioned is to start you signature with the font style you want to use. When you start your message, click in that first part of your signature.
    Something like
    defaults
    Signature

  • HT3529 New 7.0 version update changes the way text messages are presented.  In the new version, I cannot figure out how to delete individual texts.  I can delete entire strings of messages, but I want to delete old texts, but keep the recent texts

    The new version of the software for my iPhone 4 changed the way text messages are managed. 
    I can no longer delete individual texts from a text "conversation."  I also have not figured out how to forward texts, which I was able to do in the prior version.
    Anyone know a way to edit out individual messages without losing the entire string?
    Anyone know if there is a way to forward messages?

    When you have the conversation open, if you tap & hold on a message bubble, you should get a new menu pop-up.  It should have 2 options "Copy" and "More..."  If you select the "More..." option it will then let you select one or more message bubbles and delete the selected ones by hitting the trach can icon in the lower left corner.  As for forwarding, you probably just select the "Copy" option, then paste the contents into a new message...

  • How can i change the default text "Query by Example"

    Studio Edition Version 11.1.1.3.0
    how can i change the default text *"Query by Example"* in a Panel Collection
    Thx

    Hi thieto,
    The label you are looking for is af_panelCollection.LABEL_MENUITEM_QBE*
    I'm currently writing a blogpost on this issue. In short, you will have to create a skin resource bundle.
    In the skin definition, refer to this bundle class.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <skins xmlns="http://myfaces.apache.org/trinidad/skin">
      <skin>
        <id>mySkin.desktop</id>
        <family>MySkin</family>
        <extends>blafplus-rich.desktop</extends>
        <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
        <style-sheet-name>skins/MySkin.css</style-sheet-name>
        <bundle-name>com.blogspot.lucbors.view.bundles.MySkinBundle </bundle-name>
      </skin>
    </skins>In this class, adjust the label text to your needs.
    package com.blogspot.lucbors.view.bundles;
    import java.util.ListResourceBundle;
    public class MySkinBundle extends ListResourceBundle {
      public MySkinBundle() {
        super();
    @Override
      public Object[][] getContents() {
        return _CONTENTS;
    static private final Object[][] _CONTENTS = {
         {"af_panelCollection.LABEL_MENUITEM_QBE","the text that you want"}
    }More in the blogpost
    Good luck
    Luc Bors
    Edited by: lucbors on Jul 26, 2010 11:39 AM (blogpost finished - URL added)

Maybe you are looking for

  • Dynamic Text to be displayed as Image in Adobe Forms

    Hi , I have a requirment to display dynamic text in the image format in the Adobe Form. I have tried using the Image field instead of text field.But could not solve the problem. kindly help me. Thanks.

  • Genuin Ipad or a fake one

    Hello , My name is  Dan Stan from Prague Czech Republic. I own an white colour  mini Ipad 16 gb,wifi only,that was sold in apple store  from Taiwan.It is an MD531TA\A, A1432 model,serial number F4*******196. The Ipad is still in warranty till august

  • Wireless Trackpad/Keyboard Issue Bootcamp Windows 7

    Hi so i'm pretty much all the way to the part in windows where it tells you "Create User Name/Password" 1 Problem. My Wireless trackpad and keyboard worked all the way until this point. Now i get nothing. not even a twitch from my mouse Keyboar is ou

  • Can not make call to Canada no!!!

    I'm having a subscription for calling unlimited to Canada. But while I call once of my friend in Canada. skype usually said that the number is uncorrected or unavailable. However, I able to connect to him sometime. So what wrong with my account?

  • Toggle button bar without borders?

    I cannot specify in css to either turn off the border around the buttons in a ToggleButtonBar, or even to have a simple solid color border (so I can match it to the background and have it appear to not be there). It always has a gradation, even if I