Boris, my friend, solution here http://simplyreddot.blogspot.ca/2014/05/rendertag-to-escape-double-quote-and.html?m=1
Sent from my iPhone > On May 13, 2014, at 2:22 PM, Boris Crismancich <[email protected]> > wrote: > > Hi Jian, > > unfortunately that's not what I intend to do. Very unfortunately the customer > has PreExecute in VBScript and I need to get a whole Image tag into an asp > variable. > The quotes are the problem. And I thought I'd be an extra wise guy doing > this... > > myimage = "<%!! > Context:Pages.GetPage(Guid:<%inf_guid%>).Elements.GetElement(Str:img_image).GetHtml().Replace(Str:",Str:"") > !!%>" > > Bit this does not work. > > I know <%!! String:Hello !!%> works. So I'm looking for a way to bring > something like this to life... > > <%!! String:<img src="file.jpg"/>.Replace(Str:",Str:"") !!%> or in other > words <%!! String:<%img_image%>.Replace(Str:",Str:"") !!%> > > Of course this is pseudo code, but this has to work somehow. > > Cheers, > Boris > > > -- > You received this message because you are subscribed to the Google Groups > "RedDot CMS Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/reddot-cms-users. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/reddot-cms-users. For more options, visit https://groups.google.com/d/optout.
