Adding URL to Title Control

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.
10/18/2011 3:57:52 AM
Gravatar
Total Posts 13

Adding URL to Title Control

Hi,

I want to add pageGuid to the URL to store it in the "mp_FriendlyUrls" table for creating Friendly Url

When I write this statement.

TitleControl.EditUrl = SiteRoot + "/Edit.aspx" + "?pageGuid=" + this.currentPage.PageGuid;

I get this result,

Edit.aspx?pageGuid=53048371-c9f7-4d08-9ca8-5c0b88c8475b?mid=44&pageid=5

My Colleage faced this problem as well...


Many thanks

10/18/2011 7:56:35 AM
Gravatar
Total Posts 18439

Re: Adding URL to Title Control

ModuleTitleControl does this by design, it is supposed to pass in the moduleid and pageid in the query string so you only need to specify /YourEditPage.aspx and it will append the needed query string params automatically.

If that isn't what you want then use something else besides ModuleTitleControl, ie implement your own title control

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