Parse Property in Custom Control

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi all,
I am looking at our vendor's code as follow(an aspx page). I noticed that
ui:Field is a custom control derived from webcontrols.panel. Also a new
property DataTargets is created. I don't understand this part of the code on
this page:
DataTargets="Text:[[caption]]"
or
DataTargets="Text:<<ParseRichText(text)>>

I am wondering how the code
1)get the "text" for function call ParseRichText(text) on this page
2)where I can find the code to parse the pattern(regex) for DataTargets

thanks
2)

<%@ Page Language="C#" MasterPageFile="~/GS/Core.master"
AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="GS_Default"
Title="Home Page" %>

<asp:Content ID="Content2" ContentPlaceHolderID="cphMain" Runat="Server" >

<div class="RightColumn">

<ui:MessageView ID="msgView" runat="server" />

<ui:ContentProvider ID="ContentProvider1" runat="server"
ContentAreaID="57">

<ui:ContentTemplate ID="ContentTemplate2" runat="server"
ContentType="Text">

<h2 class="Heading"><ui:Field ID="Field1" runat="server"
DataTargets="Text:[[caption]]" /></h2>

<p><ui:Field ID="Field2" runat="server"
DataTargets="Text:[[text]]" /></p>

</ui:ContentTemplate>

<ui:ContentTemplate ID="ContentTemplate33" runat="server"
ContentType="Rich Text">

<h2 class="Heading"><ui:Field ID="Field3" runat="server"
DataTargets="Text:[[caption]]" /></h2>

<p><ui:Field ID="Field4" runat="server"
DataTargets="Text:<<ParseRichText(text)>>" /></p>

</ui:ContentTemplate>

</ui:ContentProvider>

</div>

</asp:Content>
--
Betty
.