Very good, thanks Henry! Chris Nixon Director of Communication Technology Services University Relations - University of Arkansas 800 Hotz Hall - Fayetteville, AR 72701 479-575-5629
From: [email protected] [mailto:[email protected]] On Behalf Of Henry Lu a.k.a. Javahand Sent: Tuesday, July 21, 2009 10:17 AM To: [email protected] Subject: Re: .Net declarations Chris-- How've you been? Haven't seen you since 07 or something. I myself find it most convenient and reliable to use Render Tags that wraps around the .net Directives in order to restrict their appearance. Something like the following can get the job done for you: <reddot:cms> <if> <query valuea="Context:CurrentRenderMode" valueb="Int:1" operator="!="> <htmltext> <%@ Page Language="C#"%> <%@ Import Namespace="System.Text"%> <%@ Import Namespace="System.Xml"%> </htmltext> </query> </if> </reddot:cms> Or to block them entirely inside CMS: <reddot:cms> <if> <query valuea="Context:CurrentRenderMode" valueb="Int:2" operator="=="> <htmltext> <%@ Page Language="C#"%> <%@ Import Namespace="System.Text"%> <%@ Import Namespace="System.Xml"%> </htmltext> </query> </if> </reddot:cms> Give it a try. Henry Lu 646-807-8683 On Tue, Jul 21, 2009 at 11:01 AM, Chris Nixon <[email protected]<mailto:[email protected]>> wrote: Hello, what is the best way to 'hide' .Net Declarations (<%@ Page Language="C#"%> <%@ Import Namespace="System.Text"%> <%@ Import Namespace="System.Xml"%>) from the preview mode in RD, such that it doesn't break the style sheet? Chris Nixon -- 646-807-8683 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/RedDot-CMS-Users?hl=en -~----------~----~----~----~------~----~------~--~---
