Problem with usercontrols rendering -- any ideas? Options
climberchad
Posted: Thursday, October 25, 2007 5:40:51 AM
Rank: Devotee

Joined: 1/4/2007
Posts: 30
When I add the ascx without a form tag inside the ascx, it will display in the text editor, however, it will error on the aspx page. However, if I add a form tag in the ascx, it will not display in the text editor but it will operate correctly.

I tried adding the form tag in my template and that didn't help either...

Thoughts?

Thanks,
Chad
neehouse
Posted: Thursday, October 25, 2007 8:01:56 AM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
In your template, add the <?ASPNET_FORM></?ASPNET_FORM> tags around your content that contains the macro. This is umbracos way of includine the ASP.NET server side form tags that are normally in your aspx files.

Hope this helps..
Case

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
climberchad
Posted: Thursday, October 25, 2007 4:23:24 PM
Rank: Devotee

Joined: 1/4/2007
Posts: 30
PERFECT - THANKS!

BTW, is there a document anywhere that has a glossary of Umbraco reserved names and XSL node names??

Thanks again, that was exactly what I needed.

-Chad
neehouse
Posted: Thursday, October 25, 2007 4:35:45 PM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
http://neehouse.com/umbraco_cms/resources.aspx

The above link has some information that you are looking for.

Also, be sure to check out the umbraco books. There is a XSLT primer there that covers the basics. ;)

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.