May be is a Easy Thing... but...

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.
4/18/2006 5:05:52 AM
Gravatar
Total Posts 146

May be is a Easy Thing... but...

Hello again Joe !.

Excuse me again for -may be- easy thing, but a need to call a web page, into mojoPortal, this web page contain a detail of other web page. And I don't know how I have to do this from a event button in the web page. I hope to be clear. (Sorry for my english)

Thanks in advance...
4/18/2006 5:12:11 AM
Gravatar
Total Posts 18439

Re: May be is a Easy Thing... but...

Hi Romulo,

To go to another page from a button click event you can use something like:

Response.Redirect(nextpageUrl);

This is nothing specific to mojoportal, this is just a general web development question if I understand correct.

Hope it helps,

Joe
4/18/2006 5:22:46 AM
Gravatar
Total Posts 146

Re: May be is a Easy Thing... but...

Yes. Already I did this, but it is that the detail page I added in the control of module of mojoPortal, and then the name of the resulting page to which to call is not the same one, therefore not what names to put in Response.Redirect("WhatNameIs.aspx").
4/18/2006 5:49:22 AM
Gravatar
Total Posts 18439

Re: May be is a Easy Thing... but...

Hi Romulo,

I don't understand what you are asking.

However, I think if you study the forums module you might find some ideas on what you are trying to do because it has several pages, ForumView.aspx, ForumThreadView.aspx ForumPostEdit.aspx etc

Hope it helps,

Joe
4/18/2006 6:01:20 AM
Gravatar
Total Posts 146

Re: May be is a Easy Thing... but...

Let us suppose that you make a page and place one grilla and a button only in her.  This page inherited of mojoPortal.Web.SiteModuleControl.  Soon in mojoPortal east module is added ("Feature Modules").  Soon this module is placed within a page ("Add/Edit Page").  Then, what names I place in Response.Redirect("???.aspx"), in a page from which I will call to this new one?

(Meanwhile I will return to review the pages ForumView.aspx, ForumThreadView.aspx....)
4/18/2006 10:39:06 AM
Gravatar
Total Posts 146

Re: May be is a Easy Thing... but...

When doing it with a new web page (inheriting from System.Web.UI.Page and to call it with Response.Redirect("MyPage.aspx") there is no problem.  But how I must do it if the content is inherited from mojoPortal.Web.SiteModuleControl.  That is to say, this content I turn it into module ("Feature Modules") in mojoportal, and soon I put in a page Web ("Add/Edit Page"), how I call to the resulting page, to invoke it from an event.  Because if I call that page from a menu is no problem, because it makes mojoportal, but if I want to call it directly, how I make?Por another side, if I must necessarily make it with a new web page (System.Web.UI.Page), how I inherit skin of the site, not to lose the superior panel and the panel of the mojoportal left?

Thanks in advance...
4/18/2006 11:11:49 AM
Gravatar
Total Posts 18439

Re: May be is a Easy Thing... but...

You can make pages that inherit from mojoBasePage and keep the skin

If you look at /Modules/ForumModule.ascx you see how it inherits from SiteModuleControl and it links to ForumView.aspx which inherits from mojoBasePage and keeps the skin

If you want to link from 1 module to another module it is difficult because you don't know what pageid the module is on. If they really are related maybe it should be in 1 module instead of 2 and show/hide panels when buttons are clicked or link to supporting pages like Forums does

You see none of the built in modules depend on other modules so they don't need to know how to link to them. If you are building modules that need to know about other modules and what page they are on the design is probably not right. modules should be self contained and maybe use supporting pages but not need to know the location of other modules

Hope it helps,

Joe
4/18/2006 11:34:13 AM
Gravatar
Total Posts 146

Re: May be is a Easy Thing... but...

Thanks for your patience and support.  The truth and after reviewing mojoportal in the pages that me indicastes (and that had watched before that also) had reached the conclusion to use modules in a same web page with panels that on/off depending of click events.  I believe that it is most advisable and easy to do.

Really, Thank you so much !!!
You must sign in to post in the forums. This thread is closed to new posts.