<table border="0" cellspacing="0" cellpadding="4"> <tr> <td> <telerik:RadTextBox ID="txtInstitutionName" runat="server" Columns="30" /><asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtInstitutionName" runat="server" ErrorMessage="*" /> </td> <td> <asp:Button ID="btnSearch" runat="server" Text="Search" /> </td> </tr></table><telerik:RadListView ID="listInstitutions" runat="server" AllowPaging="true"> <ItemTemplate> <li> <%# Eval("InstitutionName") %></li> </ItemTemplate> <EmptyDataTemplate> No financial institution was found.</EmptyDataTemplate> <LayoutTemplate> <ul> <li id="itemPlaceholder" runat="server" /> </ul> <telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="listInstitutions" PageSize="10" > <Fields> <telerik:RadDataPagerButtonField FieldType="Numeric" /> </Fields> </telerik:RadDataPager> </LayoutTemplate></telerik:RadListView>InstitutionContext = New ProjectTobyEntities()Dim institutionQuery As ObjectQuery(Of Institution) = _ From i In InstitutionContext.Institutions _ Where i.InstitutionName.Contains(txtInstitutionName.Text) And i.Active = True Select ilistInstitutions.DataSource = CType(institutionQuery, ObjectQuery).Execute(MergeOption.NoTracking)listInstitutions.DataBind()

<telerik:RadGrid ID="RadGrid1" runat="server" SkinID="RadGrid" AllowPaging="True" AllowSorting="true"OnEditCommand="Grid_EditCommand" OnDeleteCommand="Grid_DeleteCommand" OnUpdateCommand="Grid_UpdateCommand"DataSourceID="myDataSourceGoesHere" PageSize="20" GridLines="None"> <PagerStyle AlwaysVisible="True" Mode="NumericPages" ShowPagerText="true" PagerTextFormat="{4}Items {2} to {3} of {5}" /> <MasterTableView DataKeyNames="EFileID" ShowFooter="False" EditMode="EditForms" DataSourceID="myDataSourceGoesHere"> <NoRecordsTemplate> No files. </NoRecordsTemplate> <Columns> . . . <table> <div style='float:left'><PublishingWebControls:RichImageField FieldName="CFGImage1" runat="server"></PublishingWebControls:RichImageField></div> <div class="custom-page-title"><SharePointWebControls:TextField FieldName="Title" runat="server"></SharePointWebControls:TextField></div> <div><PublishingWebControls:RichHtmlField id="PageContent1" FieldName="CFGPageContent1" runat="server"/></div> </table>function
onCheckBoxClick(chk) {
var combo = $find("<%= lstProductsTemplate.ClientID %>");
//prevent second combo from closing
cancelDropDownClosing =
true;
//holds the text of all checked items
var text = "";
//holds the values of all checked items
var values = "";
//get the collection of all items
var items = combo.get_items();
//enumerate all items
for (var i = 0; i < items.get_count(); i++) {
var item = items.getItem(i);
//get the checkbox element of the current item
//var chk1 = $get(combo.get_id() + "_i" + (i + recordCounterPerPage) + "_chk1");
var chk1 = $get(combo.get_id() + "_i" + i + "_chk1");
//if (chk1 != null) {
if (chk1.checked) {
text += item.get_text() +
",";
values += item.get_value() +
",";
}
//}
}
//remove the last comma from the string
text = removeLastComma(text);
values = removeLastComma(values);
alert(values);
if (text.length > 0) {
//set the text of the combobox
//combo.set_text(text);
}
else {
combo.set_text(
"");
}
}
<telerik:RadComboBox ID="lstProductsTemplate" runat="server" DataSourceID="dsGetProductSearch"
DataTextField="ProductName" DataValueField="ProductID" EmptyMessage="Start typing first characters of search here"
Height="450px" Width="650px" Skin="Web20" LoadingMessage="Loading search result..."
EnableAutomaticLoadOnDemand="True" ItemsPerRequest="2" ShowMoreResultsBox="True"
EnableVirtualScrolling="True" Sort="Ascending" ToolTip="Enter your search snipped to start (Set filter accordingly eg Contains or StartsWith)"
ZIndex="10001" OnClientItemsRequested="ItemsRequested">
<HeaderTemplate>
<table style="width: 440px" cellspacing="0" cellpadding="0">
<tr>
<td>
</td>
<td style="width: 400px;">
Product Name
</td>
<td style="width: 40px;">
StockOnHand
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<table style="width: 440px" cellspacing="0" cellpadding="0">
<tr>
<td>
<div onclick="StopPropagation(event)">
<asp:CheckBox runat="server" ID="chk1" onclick="onCheckBoxClick(this)" />
</div>
</td>
<td style="width: 400px;">
<%
# Eval("ProductName")%>
</td>
<td style="width: 40px;">
<%
#Eval("StockOnHand")%>
</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadComboBox>