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.0creating custom tagscreating custom tags
Previous
 
Next
New Post
4/2/2006 4:09 AM
 
hey everybody,

how do i create a custom tag? i like to create a custom tag, lets call it "REGCUSTOMER" and use it in my skin like all other tags.
currently i have a working tag, but i'm not able to implement some inteligence behind it.

in my skin i have the deklaration

<%@ Register TagPrefix="dnn" TagName="REGCUSTOMER" Src="~/DesktopModules/GMC/regCustomer.ascx" %>

the code behind regCustomer.ascx works fine, except the calls to NavigateURL("RegisterCustomer"). The url which is created by dnn for this tag points to nirvana. how do i reference to my RegisterCustomer.ascx (not regCustomer.ascx) without to touch the core code? or is this a crazy idea ?

i hope my description is not as confusing.

kind regards, bernd

 
New Post
4/3/2006 10:56 AM
 

Well i think it is a bit confusing...

lets break this down.

You want to create a Skin Control that points to another page within your DNN setup? It appears you already have the skin control working.

Next you want to have a Custom Call to NavigateURL where you are giving it just the name and have it create a link to ?some other control within your site?

Off the top of my head I don't recall how to do just the Keyword call for NavigateURL.  But I think what you want can be done through the SiteUrls.config - which is in the root of your DNN installation.   Edit that file have RegisterCustomer.aspx point to the tab you want and your skin control can navigate to that URL.

Hopefully my help was less confusing than your question.


Jeff Martin
MCSD C#
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0creating custom tagscreating custom tags


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