We have a SharePoint page which contains one visual webpart(vw1) which is displaying few values(id,name,address) on it. Now i need to add one more custom webpart(vw2) and which should get the value "name" from the vw1 webpart - so it can be displayed on vw2. How can this be achieved?
2 Answers
Its called Connecting Web Parts...
Have a look at:
ConnectWeb Parts in SharePoint 2010
And
SharePoint 2010 : Sharing data between Visual Web Parts
Another alternative since you are on Sharepoint Enterprise is to use a filter to pass data from VW1 to VW2.
http://office.microsoft.com/en-us/sharepoint-server-help/work-with-filter-web-parts-HA010033786.aspx