or
<telerik:RadAsyncUpload ID="AsyncUpload1" ClientIDMode="Static" MultipleFileSelection="Disabled" ManualUpload="true" UploadedFilesRendering="BelowFileInput" InputSize="50" OnClientFileSelected="AsyncUpload1_OnClientFileSelected" UseApplicationPoolImpersonation="true" runat="server"> <Localization Select="Select File" /> </telerik:RadAsyncUpload>function OnClientLoad(editor, args) {var element = document.all ? editor.get_document().body : editor.get_document();$telerik.addExternalHandler(element, "paste", function (e) {editor.fire("PastePlainText");if (e.preventDefault) e.preventDefault();if (e.stopPropagation) e.stopPropagation();return false;});}
<telerik:RadGrid ID="ReleaseableItemsRadGrid" runat="server" AllowPaging="true" AllowSorting="false"
OnNeedDataSource="ReleaseableItemsRadGrid_NeedDataSource" EnableLinqExpressions="false"
Width="2100px" AutoGenerateColumns="false" Skin="WebBlue" AllowFilteringByColumn="false" AllowMultiRowSelection="true"
OnItemDataBound="ReleaseableItemsRadGrid_ItemDataBound" AllowCustomPaging="false" OnItemCreated="ReleaseableItemsRadGrid_Created"
PageSize="15">
<Columns>
<telerik:GridTemplateColumn AllowFiltering="false" HeaderStyle-Width="20px" UniqueName="SelectionCheckBoxCell"
ItemStyle-HorizontalAlign="Left" ItemStyle-Width="20px" ItemStyle-Wrap="false"
ItemStyle-VerticalAlign="Middle">
<ItemTemplate>
<asp:CheckBox ID="RowSelectionCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="CheckBoxRowSelection" />
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn AllowFiltering="false" HeaderStyle-Width="40px" UniqueName="QtyInColumn"
ItemStyle-HorizontalAlign="Left" ItemStyle-Width="40px" HeaderText="Qty Rel">
<ItemTemplate>
<telerik:RadTextBox ID="QuantityInGridTextBox" runat="server" Width="30px" CssClass="textbox"
Skin="WebBlue" AutoPostBack="true" OnTextChanged="Ck_Qty" />
</ItemTemplate>
</telerik:GridTemplateColumn>
</
Columns>
protected void ReleaseableItemsRadGrid_Created(object sender, GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
e.Item.PreRender +=
new EventHandler(ReleaseableItemsRadGrid_ItemPreRender);
}
}
private void ReleaseableItemsRadGrid_ItemPreRender(object sender, EventArgs e)
{
((sender
as GridDataItem)["SelectionCheckBoxCell"].FindControl("RowSelectionCheckBox") as CheckBox).Checked = (sender as GridDataItem).Selected;
}
I had enabled checkbox feature in radlistbox,
i had checked selected item in Source Listbox, but the transfer button still disable.
i need to click either row in SourceListbox, and then the transfer button will be enable.
how can i simply checked the checkbox and then click transfer button ? thanks
<table> <tr><td>Unselect<br /><telerik:RadListBox runat="server" ID="RadListBox_unselect" Height="200px" Width="230px" AllowTransfer="True" TransferToID="RadListBox_select" AutoPostBack="True" CheckBoxes="True" style="top: 0px; left: 0px" DataSourceID="ODS_Unselect" DataTextField="employee_display_name" DataValueField="employee_id" OnClientTransferring="clientTransfering"></telerik:RadListBox> <asp:ObjectDataSource ID="ODS_Unselect" runat="server" SelectMethod="GetEmployeeArrayByListByCourseID" TypeName="LRDB"> <SelectParameters> <asp:SessionParameter DefaultValue="0" Name="id" SessionField="EmpList" Type="String" /> <asp:QueryStringParameter Name="CID" QueryStringField="CourseID" Type="String" /> </SelectParameters> </asp:ObjectDataSource> </td><td></td><td>Selected<br /> <telerik:RadListBox runat="server" ID="RadListBox_select" Height="200px" Width="200px" TransferToID="RadListBox_unselect" AutoPostBack="True" CheckBoxes="True" style="top: 0px; left: 0px"> </telerik:RadListBox> </td></tr></table>

Protected Sub uxRGMembersCleanup_NeedDataSource(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles uxRGMembersCleanup.NeedDataSource
Dim cnstr As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Server.MapPath("~/App_Data/Test_Members.xlsx") & ";" & "Extended Properties=Excel 12.0"
Dim oledbConn As New OleDbConnection(cnstr)
Dim strSQL As String = "SELECT * FROM [Test_Members$]"
Dim cmd As New OleDbCommand(strSQL, oledbConn)
Dim ds As New DataSet()
Dim da As New OleDbDataAdapter(cmd)
da.Fill(ds)
uxRGMembersCleanup.DataSource = ds
'uxRGMembersCleanup.DataBind()
End Sub