Sharepoint connected web parts question
Posted
by philj
on Stack Overflow
See other posts from Stack Overflow
or by philj
Published on 2010-06-08T01:35:49Z
Indexed on
2010/06/08
1:42 UTC
Read the original article
Hit count: 225
I have one web part (the provider) which displays insurance claims in a gridview. When user clicks on one this value(case number) is passed via IWebPartField interface to another web part(consumer) which displays detailed info about the claim. So far so good. I can select different claims in the provider and the details show up in the consumer just fine. The moment I add a TextBox to the consumer, the consumer no longer recognizes the case number passed. I need the user to be able to enter a value in the textbox and click a button to update that claim info. I can debug and attach to process and it looks like it is getting the case in the callback function, etc, but when it is setting parameters for the stored proc in CreateChildControls, it is null. Comment out the TextBox and it works fine.
Any clues as to what is going on? Brand new to Sharepoint web parts...any help appreciated!
thanks, PhilJ
© Stack Overflow or respective owner