Products » Support Forums 

Support Forums

HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl Masterurl masterurl master
Previous
 
Next
New Post
3/24/2010 2:45 PM
 

Hi bruce,

Thanks for the reply. We have already created a module "Search doctor" in which we have created a definition called "Find a doctor" in which we have created a control key value as "viewdoctorforregistered"  - which is already selelcted as a "view type". I presume this is what you meant when you suggested that

"the default control for a module is the one marked as 'view' in the module type" . Do let us know if you meant anything else, as what we have done does not seem to make any difference.

As far as the second point is considered as of now for redirecting from first page to the second page, in the first page we are using the following method :

Response.Redirect(

Globals.NavigateURL(PortalSettings.ActiveTab.TabID, "viewdoctorForRegistered", "mid=" + ModuleId.ToString(), "doc_id=" + grdContents.SelectedDataKey.Value.ToString()));

and we are calling the same in the second page by :

docid = Request.QueryString[

"doc_id"].ToString();

So in such a scenario how do we find out the odd and even numbered parameters.

Thanks again.

Regards,

Ashish

 

 
New Post
3/27/2010 12:46 AM
 

You're correct in that the way to build the friendly urls is by using the NavigateUrl call.

I've covered this OK in my previous posts, there's not much more I can add there - I suggest you do a bit of experimentation with the Request.Querystring object with different querystrings and observe how it behaves.

I can write the code for you if you would like me to take it on as a consulting project, if that's the case, just let me know.

 
Previous
 
Next
HomeHomeDotNetNuke Modu...DotNetNuke Modu...Url MasterUrl Masterurl masterurl master


Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

Please note : If you are posting a new thread for the Url Master module, please include the following information where applicable:

- Url Master version

- DotNetNuke version

- Example Url where possible

- If there is an error, please post the full error text and/or stack trace (from the DotNetNuke event log).