or
<
table
>
<
tr
>
<
td
>
<
telerik:RadListBox
ID
=
"countiesRLB"
runat
=
"server"
DataKeyField
=
"county_name"
AllowTransfer
=
"true"
TransferToID
=
"selectedcountiesRLB"
AllowTransferOnDoubleClick
=
"true"
DataSortField
=
"county_name"
DataTextField
=
"county_name"
DataValueField
=
"county_name"
Height
=
"200px"
Width
=
"175px"
Visible
=
"false"
SelectionMode
=
"Multiple"
Sort
=
"Ascending"
ontransferred
=
"countiesRLB_Transferred"
AutoPostBackOnTransfer
=
"true"
>
<
HeaderTemplate
> Counties</
HeaderTemplate
>
</
telerik:RadListBox
>
</
td
>
<
td
>
<
telerik:RadListBox
ID
=
"selectedcountiesRLB"
runat
=
"server"
Height
=
"200px"
Width
=
"150px"
Visible
=
"false"
SelectionMode
=
"Multiple"
>
<
HeaderTemplate
> Selected Counties</
HeaderTemplate
>
</
telerik:RadListBox
>
</
td
>
</
tr
>
</
table
>
[ServiceContract] public interface IACT { [OperationContract] RadComboBoxData GetCustomerOrderHistoryTelerik(RadComboBoxContext context); }
[BasicHttpBindingServiceMetadataExchangeEndpoint] [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)] public class ACT : IACT { public RadComboBoxData GetCustomerOrderHistoryTelerik(RadComboBoxContext context) { //The RadComboBoxData object contains all required information for load on demand: // - the items // - are there more items in case of paging // - status message to be displayed (which is optional) RadComboBoxData result = new RadComboBoxData();
...
<%@ ServiceHost Language="C#" Debug="true" Service="ACT, $SharePoint.Project.AssemblyFullName$" CodeBehind="ACT.svc.cs" Factory="Microsoft.SharePoint.Client.Services.MultipleBaseAddressWebServiceHostFactory, Microsoft.SharePoint.Client.ServerRuntime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<telerik:RadComboBox runat="server" ID="RadComboBox1" Height="100px" AllowCustomText="true" LoadingMessage="Loading, please wait..." EnableLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true" EmptyMessage="Type here ..." ItemsPerRequest="10"> <WebServiceSettings Path="~/_layouts/Sample/Services/ACT.svc" Method="GetCustomerOrderHistoryTelerik" /> </telerik:RadComboBox>
<system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled="true" /> </system.serviceModel>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DemoDummyControl.ascx.cs" Inherits="X.DemoDummyControl" %>
<
p
>
Dummy Control
</
p
>
<
p
>
To test RadWindow
</
p
>
<
p
>
<
asp:Button
runat
=
"server"
ID
=
"test"
OnClick
=
"Click"
/>
</
p
>
<%@ Page Title="" Language="C#" MasterPageFile="~/Popup.Master" AutoEventWireup="true" CodeBehind="demo.aspx.cs" Inherits="X.demo" %>
<%@ Register Src="~/DemoDummyControl.ascx" TagName="Dummy" TagPrefix="uc" %>
<
asp:Content
ID
=
"Content1"
ContentPlaceHolderID
=
"Scripts"
runat
=
"server"
>
</
asp:Content
>
<
asp:Content
ID
=
"Content2"
ContentPlaceHolderID
=
"MainContent"
runat
=
"server"
>
<
p
>
<
uc:DemoDummyControl
runat
=
"server"
/>
</
p
>
</
asp:Content
>
<
CommandItemStyle BorderStyle="None"/>
doesn's seem to work.
Private
Sub
custVal_ServerValidate(
ByVal
source
As
Object
,
ByVal
args
As
System.Web.UI.WebControls.ServerValidateEventArgs)
Handles
custVal.ServerValidate
args.IsValid = ValidatedConfiguration()
End
Sub
Private
Sub
ValidatedConfiguration()
' How do I access the updated values here?
End
Function