الإجابة Add New Item link on XSLTListViewWebPart

  • 2012年8月3日 20:18
     
     
    How do I add the standard add new item link that pops up a dialog into the XSLTListViewWebPart?

全部回复

  • 2012年8月4日 11:43
     
     

    Hi SP Dev101.

    Just set the Toolbar to Full Toolbar this can be done by

    1. Edit the page 
    2. Open the webpart Edit panel
    3. Choose Toolbar type to be Full Toolbar


    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • 2012年8月4日 13:41
     
     
    Yeah but I need to do this in Code
  • 2012年8月4日 14:32
     
     已答复 包含代码

    Hello,

    here is another post about creating xsllistview with toolbar. At the end is full code for doing this.

    http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/a4b27730-dd81-4ff6-8003-a002a2fdec88/
    

    Hope it helps


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.