Transferring data between modules

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/8/2009 12:49:41 AM
Gravatar
Total Posts 12

Transferring data between modules

Hi joe....i have a user control developed and plugged in as a module called members. In that page there exists a set of hyperlinks displaying member names and a link to a page which i ant to be a module again. so i have also developed one more page called memberdetails.ascx where i want to pass the data from the first module called members. when the hyperlink is clicked on the first module i want to transfer data to this module that is the user id so that i receive the userid from query string and display that particular user details.... can you please give any link which might help me also if such example is implemented in mojoportal i require those module names....

 

summary of my question

2 modules

     a)members.ascx b)memberdetails.ascx

both are added as modules onto pages and when a hyperlink in the member page is clicked i want to transfer data to  memberdetails page which also is a module.

 

Thanks and Regards,

Ashwin Kumar H

  

 

6/8/2009 7:47:52 AM
Gravatar
Total Posts 18439

Re: Transferring data between modules

You should not try to talk across modules, if you need a master detail view you should do it all inside a single module. Its a matter of separation of concerns, a module is an entry point to a feature and features should be self contained. Features do not and should not have any knowledge or dependencies of other feature instances that maybe on the same page.

If you want to link to supporting page(s) in your custom feature you can pass the pageid and moduleid in the url to the supporting page. Study the blog or forums feature, they have supporting pages. 

Hope it helps,

Joe

6/8/2009 11:20:54 PM
Gravatar
Total Posts 12

Re: Transferring data between modules

Thanks joe....

You must sign in to post in the forums. This thread is closed to new posts.