Søk i hjelpesidene:
Printer friendly version

Reading dataobject values in ESiteControl

This guide shows how to read values for objects in typical E-Site User Controls used for displaying items on websites.

1. Insert markup using the Data property

Read values with the GetString, GetDate, GetBool, etc. methods and incorporate them in the HTML with the standard Asp.Net markup, example: <%#Data("Fieldname")%>

1. Insert markup using the Data property

2. Call databind method

2. Call databind method

3. What are the field names for the object?

Use the view values function to show field names and values for any object. See picture.

3. What are the field names for the object?

A overview of the objects field names and values are shown

See screen shot

A overview of the objects field names and values are shown