ModuleId in ISettingControl

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.
7/27/2009 7:50:20 PM
Gravatar
Total Posts 6

ModuleId in ISettingControl

Hi,

I have a custom settings control implementing ISettingControl. But I'm using it to manage records in a Categories table. How can I get the ModuleId within that control so I can associate my categories to module instances?

7/28/2009 6:05:30 AM
Gravatar
Total Posts 18439

Re: ModuleId in ISettingControl

ISettingControl is just a simple interface that can be implemented by a control. It allows user controls to be used in ModuleSettings.aspx page. On that page the module id is always passed in the query string as  mid=x so if you need to use module id intenrally then your control will have to parse it from the query string.

Hope it helps,

Joe

7/28/2009 5:40:54 PM
Gravatar
Total Posts 6

Re: ModuleId in ISettingControl

Perfect thanks! I feel dumb for not looking at the browser address bar before posting

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