Ravi!
Solution:
<
%!!
Escape:Text(<%att_med_pdf_filename%>
.Substring(Escape:Text(<%att_med_pdf_filename%>
).LastIndexOf(.))
!!%>
On Monday, August 6, 2012 5:10:27 PM UTC-7, Ravi Garg wrote:
Currently I'm using PreExecute code with ASP function to get the file extension from an Attribute(Media) placeholder. Pls see the code below
<%=GetFileExtension("<%att_med_pdf_filename%>")%>
I would like to get the same result using render tag, Is that possible with something like the code below?
Context:CurrentPage.Elements.GetElement(att_med_pdf_filename).Value
Thanks,
Ravi