I am using two Telerik RadListBoxes as follows:
<td align="center">
<telerik:RadListBox ID="lstDataList" runat="server" Width="266px"
SelectionMode="Multiple" EmptyMessage="No data to display"
TransferToID="lstcommited" Height="320" Skin="WebBlue" AllowTransfer="true"
Style="text-align: left;">
<ButtonSettings ShowTransferAll="false" VerticalAlign="Middle"
HorizontalAlign="Center" TransferButtons="TransferFrom" />
</telerik:RadListBox>
</td>
<td align="center">
<telerik:RadListBox ID="lstcommited" runat="server" Width="240px"
EmptyMessage="No data to display" SelectionMode="Multiple"
TransferToID="lstDataList" Height="320" Skin="WebBlue"
Style="text-align: left;">
</telerik:RadListBox>
</td>
My Question is that How can I display the empty message in the middle center of the list box as like what is in the picture below.
Note:
Both the list boxes are in a <telerik:RadWindow>
Use this CSS for your requirement. Also, You need to place this CSS in ContentTemplate of your RadWindow as your RadListBoxes are part of RadWindow. Check the Markup below: