How to call a webpart from another webpart and pass values

edited June 2004 in Science & Tech
Hi all,

I'am working on Sharepoint portal server 2003 iam new to this technology i was asked to develop webparts. Currently iam facing a problem if u guys can help me it will be great...

I have to call a web part from another web part and pass values to the called web part i could not able to call the web part and obviously could not pass the values(through code). i used querystring like traditional asp but in vain. I u can send me sample code it will be helpful pls help me in this regard.

>>>>>1) Call a webpart from another webpart
>>>>>2) and pass values to the called webpart

Regards
Bala

Comments

  • kryystkryyst Ontario, Canada
    edited May 2004
    I'm not going to profess to know anything about what you are working on. But the general programmin concepts work like this

    Open up the second webpart pass the values to it through local varriables then close the other webpart.

    Or store the values from the first webpart in varriables (possibley an array) but they have to be common varriables that are still active when the original webpart is closed. Then open up the new webpart and suck in the value from the varriables to populate the fields they go in.

    These are just common practice, for VB6, PHP and Access programming.
  • edited June 2004
    Did you ever get it to work?
Sign In or Register to comment.