Dynamicweb 8 Documentation
Detail Class
Members  Example 

Represents product details objects
Syntax
'Declaration
 
<SerializableAttribute()> 
Public Class Detail 
[SerializableAttribute()] 
public class Detail 
Example
class MyPage : System.Web.UI.Page
{
   public void RenderDetails(DetailCollection Details, Dynamicweb.Rendering.Template ParentTemplate, string LoopName)
   {
       if (ParentTemplate.LoopExists(LoopName))
       {
           Dynamicweb.Rendering.Template DetailTemplate = ParentTemplate.GetLoop(LoopName);

           foreach (Detail dtl in Details)
           {
               RenderDetail(dtl, DetailTemplate);
               DetailTemplate.CommitLoop();
           }
       }
   }

   private void RenderDetail(Detail dtl, Dynamicweb.Rendering.Template template)
   {
       //TODO: insert your code here
   }
}
Inheritance Hierarchy

System.Object
   Dynamicweb.eCommerce.Products.Detail

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Detail Members
Dynamicweb.eCommerce.Products Namespace

Send Feedback