HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Get TabId from URLGet TabId from URL
Previous
 
Next
New Post
12/6/2006 7:48 AM
 
Is there a function within the DNN framework that will return the TabId from a URL or do I need to write my own?  I looked in the DotNetNuke.Common.Utilities, but those classes that I saw did not appear to do what I am looking for.  Did I just miss it?  :)

These are my personal opinions and don't necessarily represent the views and opinions of DotNetNuke Corporation.
Will Strohl
Media Module Team Lead, User Groups Team Lead
Sales Engineer, DotNetNuke Corporation

DotNetNuke Blog | Find a DNN User Group | Media Module
Twitter: @WillStrohl LinkedIn: Will Strohl on LinkedIn

 
New Post
12/6/2006 8:12 AM
 

 

PortalSettings.ActiveTab.TabID


DotNetNuke Modules from Snapsis.com
 
New Post
12/6/2006 8:16 AM
 
Sorry...  I was not as specific as I should have been.  I mean a function that I can pass a URL to that is not the current page.

These are my personal opinions and don't necessarily represent the views and opinions of DotNetNuke Corporation.
Will Strohl
Media Module Team Lead, User Groups Team Lead
Sales Engineer, DotNetNuke Corporation

DotNetNuke Blog | Find a DNN User Group | Media Module
Twitter: @WillStrohl LinkedIn: Will Strohl on LinkedIn

 
New Post
12/6/2006 8:26 AM
 

You want to pass a Url to a function and have it tell you what tabId that Url is pointing to?

No, I don't know of a function for that, but I'm interested to why you would need it.

You could just parse it from the Url that you have.  Is the Url you have a Friendly Url or a normal Url with Querystring variables?

NavigateUrl() does not do this, but it can make a Friendly Url out of a TabId.  Maybe that is what you need?


DotNetNuke Modules from Snapsis.com
 
New Post
12/6/2006 8:43 AM
 
I am attempting to write a Search Provider for a Google Appliance.  The search results obviously are returned in a different format, so I need to parse those and populate the SearchInfo object and in turn the SearchInfoCollection object.  One of the required properties is "TabId", which I can only get from the URL. 

I was hoping for an easy way to just return the TabId from the URL.  I normally write code the hard way first and rewrite it the way it should have been later.  :)
I want the provider to be portable, so I want to be able to parse friendly and non-friendly URLs.  It looks like I am going to have to write this function.  Thanks. 

These are my personal opinions and don't necessarily represent the views and opinions of DotNetNuke Corporation.
Will Strohl
Media Module Team Lead, User Groups Team Lead
Sales Engineer, DotNetNuke Corporation

DotNetNuke Blog | Find a DNN User Group | Media Module
Twitter: @WillStrohl LinkedIn: Will Strohl on LinkedIn

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Get TabId from URLGet TabId from URL


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates Snowcovered.com where users purchase third party apps for the platform.