Hi Guys
Does anyone know how to pass a value into a controls property within a Transformation?
I have a CMSWebParts/Maps/Static/StaticGoogleMaps.ascx within a transformation and want to pass data values into some of its properties ...
<%# Eval("OfficeLat",true) %>
<%# Eval("OfficeLon",true) %>
I have tried the following, escaping the double quotes with single quotes but it doesn't like it.
It does have access to these values, as I rendered them via the repeater to verify it.
Latitude='<%# Eval("OfficeLat",true) %>'
Longitude='<%# Eval("OfficeLon",true) %>'
I have a different solution in place but it does a full page postback which is not ideal, I want to try make the control get its data via the transformation now instead, then I can just show/hide it as needed.
Any help or guidance would be much appreciated
Regards