kentico_edwardh
-
7/26/2011 4:29:53 PM
RE:Adding custom webpart to an ASPX template site
Hello,
In general, you need only to register the appropriate web part (control) on your .aspx page and then you can use it. Using the Google maps web part as an example, you can register the Google maps web part on your .aspx page like this:
<%@ Register src="../../CMSWebParts/GoogleServices/GoogleMaps.ascx" tagname="GoogleMaps" tagprefix="uc2" %>
And then use like this: <uc2:GoogleMaps ID="GoogleMaps1" runat="server" />
Best Regards, Edward Hillard
|