View Full Version : [CLOSED] Store conversion is failing

Sep 27, 2013, 10:46 AM
The following code never renders Addr.breakout.

Sep 27, 2013, 2:53 PM
Hi @michaeld,

I added the control to the page this way.

<%@ Register Src="~/TestUC.ascx" TagPrefix="uc" TagName="TestUC" %>

<uc:TestUC runat="server" />

Then I got the JavaScript error and got rid of:

<ext:Parameter Name="q" Value="#{Address}.getValue()" Mode="Raw" />
because it was the reason of that error.

Looking at the Page Sources I see:

<script type="text/javascript">
var Addr = {
breakout: function (value, rec) {
rec.street = value.street;
rec.city = value.city;
rec.state = value.state;

So, it renders.

Please clarify how do you add the user control to the page?

Sep 28, 2013, 1:03 AM
Darn it. I sent you the wrong sample. That was an earlier transformation when I was still simplifying it to the bare minimums. Darn me for trying to post you something quick before bed. Sleep dep, sorry.

I don't need to post the correct one because you're right, once I fixed the issue from the other thread, I was able to correct the issue with rendering the htmlbin in my test.

You can close this item and the other. Thanks for taking the moment.