or
Dim
HeaderCommitmentNumber
As
Label =
DirectCast
(e.Item.FindControl(
"lblCommitmentNumber"
), Label)
Dim
HeaderVendor
As
Label =
DirectCast
(e.Item.FindControl(
"lblVendor"
), Label)
HeaderCommitmentNumber.Text = MasterPage.GetTranslation(
"Number"
,
False
)
HeaderVendor.Text = MasterPage.GetTranslation(
"VendorDescription"
,
False
)
<
telerik:RadComboBox
ID
=
"CommitmentNumber"
runat
=
"server"
Width
=
"100px"
Height
=
"200"
DropDownWidth
=
"450"
EnableLoadOnDemand
=
"true"
ItemsPerRequest
=
"10"
DataTextField
=
"ReferenceDocumentNumber"
HighlightTemplatedItems
=
"true"
ExpandDelay
=
"0"
ExpandAnimation-Duration
=
"0"
CollapseAnimation-Duration
=
"0"
CollapseDelay
=
"0"
LoadingMessage='<%#MasterPage.GetTranslation("Loading", False)%>' >
<
HeaderTemplate
>
<
div
style
=
"width: 420px;"
>
<
div
style
=
"width: 75px; float: left; padding: 0 11px 0 11px; color: rgb(0, 21, 110) !important;"
>
<
asp:Label
ID
=
"lblCommitmentNumber"
runat
=
"server"
Text='<%#MasterPage.GetTranslation("Number", False)%>' Font-Bold="true" />
</
div
>
<
div
style
=
"width: 295px; float: left; padding: 0 11px 0 11px; color: rgb(0, 21, 110) !important;"
>
<
asp:Label
ID
=
"lblVendor"
runat
=
"server"
Text='<%#MasterPage.GetTranslation("VendorDescription", False)%>' Font-Bold="true" />
</
div
>
</
div
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
ul
>
<
li
>
<!-- Row -->
<
ul
>
<
li
id
=
"col1"
>
<
div
style
=
"width: 75px; float: left; padding: 0 11px 0 11px; color: rgb(0, 21, 110) !important;"
>
<
asp:Label
ID
=
"ReferenceDocumentNumber"
runat
=
"server"
Text='<%# DataBinder.Eval(Container.DataItem, "ReferenceDocumentNumber").ToString()%>'></
asp:Label
>
</
div
>
</
li
>
<
li
id
=
"col2"
>
<
div
style
=
"width: 295px; float: left; color: rgb(0, 21, 110) !important; margin-left: 5px;"
>
<
div
>
<
asp:Label
ID
=
"lblVendor"
runat
=
"server"
Text='<%# DataBinder.Eval(Container.DataItem, "Vendor").ToString()%>'></
asp:Label
>
</
div
>
<
div
>
<
asp:Label
ID
=
"lblVendorDesc"
runat
=
"server"
Text='<%# DataBinder.Eval(Container.DataItem, "Description").ToString()%>'></
asp:Label
>
</
div
>
</
div
>
</
li
>
</
ul
>
</
li
>
<!-- End of row -->
</
ul
>
</
ItemTemplate
>
</
telerik:RadComboBox
>