or
<telerik:RadListBox runat="server" ID="RadActorListBoxSource" Height="400px" Width="300px" AllowTransfer="true" AllowTransferOnDoubleClick="true" ButtonSettings-ShowTransferAll="false" EnableDragAndDrop="true" TransferToID="RadActorListBoxDestination" SelectionMode="Multiple" DataSourceID="LinqDataSource4" CausesValidation="false" TransferMode="Move" DataValueField="ActorId"> <ItemTemplate> <div> <telerik:RadBinaryImage runat="server" ID="ActorImage" Width="50px" DataValue='<%# ((Binary) Eval("ActorImage")).ToArray() %>' AutoAdjustImageControlSize="False" /> <%# Eval("Name") %> </div> </ItemTemplate> </telerik:RadListBox> <telerik:RadListBox runat="server" ID="RadActorListBoxDestination" Height="400px" Width="300px" EnableDragAndDrop="true" TransferMode="Move" SelectionMode="Multiple" EmptyMessage="Please select at least one actor" CausesValidation="true" ValidationGroup="addSceneSubmit"> <ItemTemplate> <div> <telerik:RadBinaryImage runat="server" ID="ActorImage" Width="50px" DataValue='<%# ((Binary) Eval("ActorImage")).ToArray() %>' AutoAdjustImageControlSize="False" /> <%# Eval("Name") %> </div> </ItemTemplate> </telerik:RadListBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="RadActorListBoxDestination" ErrorMessage="Please select at least one actor" ValidationGroup="addSceneSubmit"> </asp:RequiredFieldValidator><asp:LinqDataSource ID="LinqDataSource4" runat="server" ContextTypeName="DataClassesDataContext" OrderBy="Name" Select="new (ActorId, Name, ActorImage)" TableName="Actors"> </asp:LinqDataSource><telerik:RadAsyncUpload runat="server" ID="RadAsyncUploadElementAttachments" MultipleFileSelection="Automatic"<BR> MaxFileInputsCount="5" MaxFileSize="31457280" InputSize="50" Width="100%" OnFileUploaded="RadAsyncUploadElementAttachments_FileUploaded"<BR> OnClientFilesUploaded="onClientFilesUploaded" OnClientFileUploading="onClientFileUploading" TemporaryFolder="" ></telerik:RadAsyncUpload><script type="text/javascript"> function onClientFileUploading() { getRadProgressManager().startProgressPolling(); } function onClientFilesUploaded() { //getRadProgressManager().hideProgressAreas(); } Telerik.Web.UI.RadAsyncUpload.Modules.Flash.isAvailable = function () { return false; } </script><telerik:RadProgressManager ID="Radprogressmanager1" runat="server" RegisterForSubmit="false" /> <telerik:RadProgressArea ID="progressArea1" runat="server" Culture="(Default)" Height="200px" Skin="Default" Width="400px" style="position: absolute !important; top: 300px !important; left: 280px !important; z-index:10100 !important;" />function TimeSlotContextMenu(sender, eventArgs) { var RadScheduler = $find("<%= RadScheduler.ClientID %>"); // RadScheduler.get_selectedSlots().length = 1 eventArgs.get_targetSlot().set_selected(true); // RadScheduler.get_selectedSlots().length still = 1}Protected Sub rgRiskAssessmentItems_ItemInserted(ByVal source As Object, ByVal e As Telerik.Web.UI.GridInsertedEventArgs) Handles rgRiskAssessmentItems.ItemInserted If Not e.Exception Is Nothing Then e.ExceptionHandled = True e.KeepInInsertMode = True SetMessage("Risk Assessment Item cannot be inserted. Reason: " + e.Exception.Message) Else SetMessage("New Risk Assessment Item has been added!") 'Make sure we get a submit button in the top grid after adding an item to the lower grid rgRiskAssessment.Rebind() 'rgRiskAssessmentItems.Rebind() End If End Sub<Item IsSeparator="True" /><telerik:RadProgressManager ID="Radprogressmanager1" runat="server" Skin="Office2007" /> <telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" OnClientValidationFailed="validationFailed" OnClientFileUploadRemoved="fileUploadRemoved" MultipleFileSelection="Automatic" EnableInlineProgress="false" CssClass="RadAsyncUpload"> <Localization Cancel="Annuleren" Remove="Verwijderen" Select="Selecteer" /> </telerik:RadAsyncUpload> <telerik:RadProgressArea ID="RadProgressArea1" runat="server" Culture="nl-NL" Skin="Office2007" Style="position: absolute; top: 1%; left: 1%; margin: 0 0 0 0px;"> <Localization Cancel="Annuleren" ElapsedTime="Verstreken tijd" EstimatedTime="Geschatte tijd" Total="Totaal voortgang" TotalFiles="Totaal" TransferSpeed="Snelheid" Uploaded="Geüpload" UploadedFiles="Voortgang" /> </telerik:RadProgressArea>