XModPro

Multiple Templates with Add and Edit action

Paul Buckley Paul Buckley asked Jun 4, 2015
Active Dec 14 · Viewed 3349 times
<p>I'm using Mutliple templates in a module to allow me to design the layout better and reduce white space that occurs when using multiple modules.I have multiple templates each&nbsp;related to&nbsp;table data requiring add and edit functionality.</p><p>How do I create an add and edit link for each template inside a module when I have say 5 templates inside the module..</p><p>I used &lt;href&gt; with a parameter to create the add function but it must placed in the item template and limits me to add only when one already exists.How do i solve this.</p><p>I used the xmodpro:redirect but does not open the edit form on another page. How do i solve this.</p><p> &lt;td&gt;&lt;xmod:Redirect Display="ImageButton" Method="Get" ImageUrl="/portals/0/Images/edit.gif" ImageAlign="Left" OnClientClick="http://winston.com/CustomerManagement/Company/Customer/EditFarm/tabid/117/Default.aspx" Target="http://winston.com/CustomerManagement/Company/Customer/EditFarm/tabid/117/Default.aspx"&gt;</p><p>&lt;Field Name="FarmID" Value='[[FarmID]]' /&gt;</p><p> &lt;/xmod:Redirect&gt;&lt;/td&gt;</p>

1 Answer

Loading answers...