or
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>DataTable dt = new DataTable();for (int i = 0; i < 10; i++){ dt.ImportRow(ds.Tables[0].Rows[i]); dt.AcceptChanges();}rgPreview.DataSource = dt;<telerik:RadAsyncUpload runat="server" ID="RadAsyncUploadImageForNavNode" AllowedFileExtensions="jpg,jpeg,png,gif" CssClass="i1nvisible p1ixelWidthHeight" MaxFileSize="5242880" MultipleFileSelection="Disabled" OnFileUploaded="RadAsyncUploadImageForNavNode_FileUploaded" EnableInlineProgress="false" MaxFileInputsCount="1" OnClientFileUploaded="RadAsyncUploadImageForNavNode_OnClientFileUploaded" Localization-Select="<%$ Resources:PGC, ProjectContentElement_UploadImage %>"> </telerik:RadAsyncUpload>.createContentPageAdditionalOptions .RadUpload input.ruFakeInput { display: none; } .createContentPageAdditionalOptions .RadUpload input.ruBrowse { width: 115px; } .createContentPageAdditionalOptions .RadUpload span.ruFileWrap input.ruButtonHover { background-position: 100% -46px; } .createContentPageAdditionalOptions .RadUpload input.ruButton { background-position: 0 -46px; }