Hi,
I was wondering if it's possible to have multiple ResourceHeaderTemplates in a Scheduler and let the correct one be chosen based on the Resource's Resource Type? I'd like to do it in markup if that is possible.
Something like (this is not valid markup):
I was wondering if it's possible to have multiple ResourceHeaderTemplates in a Scheduler and let the correct one be chosen based on the Resource's Resource Type? I'd like to do it in markup if that is possible.
Something like (this is not valid markup):
<
ResourceHeaderTemplates
>
<
ResourceHeaderTemplate
ResourceType
=
"1"
>
<
div
class
=
"rsMainHeader"
style
=
"text-align: left;"
>
<
a
href
=
"<%# Eval("
Url") %>" ><%# Eval("Text") %></
a
>
<
br
/>
<
label
id
=
"projectLeaderLabel"
runat
=
"server"
></
label
>
<
label
id
=
"participantsLabel"
runat
=
"server"
></
label
>
</
div
>
</
ResourceHeaderTemplate
>
<
ResourceHeaderTemplate
ResourceType
=
"2"
>
<
div
class
=
"rsMainHeader"
style
=
"text-align: left;"
>
<%# Eval("Text") %>
</
div
>
</
ResourceHeaderTemplate
>
</
ResourceHeaderTemplates
>