Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Connect List view web part as provider and Visual web part as consumer in SharePoint 2013

Connect List view web part as provider and Visual web part as consumer in SharePoint 2013

Scheduled Pinned Locked Moved SharePoint
sharepointtutorial
2 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 11949245
    wrote on last edited by
    #1

    Hi, I have a page where i have added a list view. Now As per the selection of list item from list view i have to show values in my visual web part, So my list view will be the provider and visual web part will be consumer. So please show me how to connect both of them.

    Thanks in Advance.

    D 1 Reply Last reply
    0
    • U User 11949245

      Hi, I have a page where i have added a list view. Now As per the selection of list item from list view i have to show values in my visual web part, So my list view will be the provider and visual web part will be consumer. So please show me how to connect both of them.

      Thanks in Advance.

      D Offline
      D Offline
      DanielBrownAU
      wrote on last edited by
      #2

      Connected Web Parts can be a very tricky thing to get right and should be seriously considered before being used. The code project article "Connecting Custom Web Parts in SharePoint" by Nioosha Kashani at Connecting Custom Web Parts in SharePoint[^] is pretty good place to start, likewise with the MSDN documentation at https://msdn.microsoft.com/en-us/library/office/ms469765(v=office.14).aspx[^] An alternative option could be to use jQuery, where you assign a click event which then updates a html web part which the desired data, going via REST or SPSServives.js for data retrieval. It may involve a learning curve of jQuery, SPServices, REST, JSON but they are great skills to have when it comes to SharePoint anyway. -DB

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups