Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Connection parameter losing on post back in connected web parts

  Asked By: Siji    Date: Mar 29    Category: Sharepoint    Views: 3141

Hi ,
Stuck with an issue with SharePoint connectable Web parts, since I’m a fresher in Web part development your help would be great for me ….

Created a master - details webparts, the consumer we part is losing the connection parameter on post back. The connection is through ‘connection Interface’ and ‘Consumer’ web part is creating controls dynamically up on receiving connection parameter from the ‘Provider’ web part.

First time the consumer web part receives the parameter and everything working fine and in the ‘Consumer’ web part doing some updation by clicking button, but on button click post back the connection parameter is losing and consumer web part become without any controls ( since all are creating dynamically) . All the controls are created in ‘OnPrerender’ event.

Environment : Window SharePoint Service 3.0, Visual Studio 2005 Extensions version 1.1
My queries are like :

1) Is it possible to post back ‘Consumer web part’ alone so that I can preserve the Connection parameter ?

2) Is there any way to solve this issue ?

Thanks in advance….

Thanks & Regards




No Answers Found. Be the First, To Post Answer.