Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How do I navigate to modules using TabId programaticallyHow do I navigate to modules using TabId programatically
Previous
 
Next
New Post
10/30/2008 4:57 AM
 

  Hi,

It will be a big big favor if anyone can. I have stuck lot.

We have two different portal hosted on IIS. One is Creditor Portal another one is Debtor Portal. These two portals are existed with two separate DNN folders (C:/CreditorPortal/DNN, C:/DebtorPortal/DNN) and contain two different login pages call mainsite.aspx. This startup page contain login button and It has assign (Hardcoded) the postbackurl property. Once user click on the Login button, Its redirected to the following TabId's which is existed on Postbackurl property of the login button.

<asp:Button ID="uxLoginBtn" CssClass="main_search_button" runat="server" Text="Logg p&aring;"

PostBackUrl="~/Login/tabid/39/Default.aspx" TabIndex="3" />

What I need to do is to create a common login module in a separate website. This website is brand new website which separate from the above 2 portals. After validating the user I redirect to relevant TabId of the customized Loginmodule (This login module is a customized module that has develop to validate portal users. 'Login/tabid/39/..') of the Creditor Portal or a Debtor Portal.

I tried as follows.

if(user.validated() == true){

 Respponce.Redirect("http://minsaserve.com/creditorportal/Login/tabid/39/Default.aspx");}

else {

Respponce.Redirect("http://minsaserve.com/debtorportal/Login/tabid/39/Default.aspx");}   

But this is not working.This redirects to its MainSite.aspx page. Not to particular tab. Therefore I tried to set loginButton.PostBackUrl property dynamically. That also did not work. Please tell me a solution to solve this problem. I have too much stuck in this project. 



Thank you.
Pubudu

 

 
New Post
10/30/2008 5:29 PM
 

use navigateUrl - see http://adefwebserver.com/DotNetNukeHELP/NavigateURL/Default.htm or else you can redirect to ctl=login

Cathal


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
11/24/2008 4:44 AM
 
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How do I navigate to modules using TabId programaticallyHow do I navigate to modules using TabId programatically


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out