locked
Dynamic link to child entity on Dynamic Website RRS feed

  • Question

  • Hi,

    I am trying to build a DynamicWebsite, everything works great, now I am trying to change the flow a little bit

    I managed to chage the Details.aspx page from an entity, lets say Parent1 so it shows all child elements in the same form.

    What I want now is to change the dynamic generated link to the child insert page so it sends the parent ID.

    My parent table has almost 400 lines, I don´t want the user searching again from the dropdown list to find the right parent.

    I managed to do it static with

    <asp:DynamicHyperLink ID="InsertFluxoHyperLink" runat="server" parentID="1"
                    TableName="child" Action="Insert" Text="Add child">Add child</asp:DynamicHyperLink>

    notice that the parentID is fixed, I want it to be dynamic with the parent I chose.

    On the same subject I think is the same problem, I want the insert link on the child page to return to the parent Details not to the default list of all child elements.

    I can]t figure it out

    Some Help would be much appreciated

    Friday, November 9, 2012 11:48 AM