or
Vx.Windows[0].NavigateUrl =
"number.aspx?no="
+ no.Text;
Vx.Windows[0].VisibleOnPageLoad =
true
;
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: 10fe3376-9c71-45aa-87c3-377532a02e54
Date and Time: 22/02/2012 09:33:44
<tr> <td align="left"> <telerik:RadListBox runat="server" ID="radListAssigned" Height="400px" Width="300px" TransferToID="radListUnAssigned" AllowTransfer="true" AutoPostBackOnTransfer="true" TransferMode="Move" DataTextField="abc" DataValueField="ID" SelectionMode="Multiple" OnTransferring="radListAssigned_Transferring"> <Localization AllToLeft="" AllToRight="" /> <ButtonSettings ShowTransferAll="False" TransferButtons="Common" /> </telerik:RadListBox> </td> <td align="left"> <telerik:RadListBox runat="server" ID="radListUnAssigned" Height="400px" Width="300px" TransferMode="Move" DataTextField="abc" DataValueField="ID" SelectionMode="Multiple"> <Localization AllToLeft="" AllToRight="" /> <ButtonSettings TransferButtons="All" /> </telerik:RadListBox> </td> </tr>
The item selected not inserting to Destinationlistbox (ie, radListUnAssigned) but in
this case the item is removed from Source list box (ie, radListAssigned)
Please help me,protected void radListAssigned_Transferring(object sender, RadListBoxTransferringEventArgs e) { if (e.SourceListBox.ID == "radListUnAssigned") { int AssignedZipCity = 0; int NotAssignZipCity = 0; foreach (RadListBoxItem item in e.Items) { int isAssigned = -1; isAssigned = < Data updation call > if (isAssigned == 1) { AssignedZipCity += 1; } else if (isAssigned == 0) { e.Cancel = true; NotAssignZipCity += 1; } } }else if (e.SourceListBox.ID == "radListAssigned") { int UnAssignedZipCity = 0; int NotUnAssignZipCity = 0; foreach (RadListBoxItem item in e.Items) { int isUnAssigned = -1; isUnAssigned = < Data Updation call > if (isUnAssigned == 1) { UnAssignedZipCity += 1; } else if (isUnAssigned == 0) { e.Cancel = true; NotUnAssignZipCity += 1; } } }
<
telerik:RadScriptBlock
ID
=
"DemoScriptBlock"
runat
=
"server"
>
<
script
type
=
"text/javascript"
language
=
"javascript"
>
function OnClientItemExpand(sender, args) {
$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest(args.get_item().get_value());
}
function OnButtonClick(sender, args) {
$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest(sender.get_text());
}
</
script
>
</
telerik:RadScriptBlock
>
<
telerik:RadAjaxManagerProxy
ID
=
"PanelbarDemoAjaxmanagerProxy"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"uxProfileList"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"uxProfileList"
/>
</
UpdatedControls
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"DemoLabel"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"DemoButton"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"DemoButton"
/>
</
UpdatedControls
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"DemoLabel"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManagerProxy
>
<
telerik:RadPanelBar
ID
=
"uxProfileList"
OnClientItemClicked
=
"OnClientItemExpand"
OnClientItemExpand
=
"OnClientItemExpand"
ExpandMode
=
"FullExpandedItem"
Width
=
"100%"
runat
=
"server"
>
<
Items
>
<
telerik:RadPanelItem
runat
=
"server"
Text
=
"Personal Info"
Value
=
"PersonalInfo"
Font-Bold
=
"true"
>
</
telerik:RadPanelItem
>
<
telerik:RadPanelItem
runat
=
"server"
Text
=
"Profile Info"
Value
=
"ProfileInfo"
Font-Bold
=
"true"
>
</
telerik:RadPanelItem
>
<
telerik:RadPanelItem
runat
=
"server"
Text
=
"Education"
Value
=
"Education"
Font-Bold
=
"true"
>
</
telerik:RadPanelItem
>
<
telerik:RadPanelItem
runat
=
"server"
Text
=
"WorkExperience"
Value
=
"WorkExperience"
Font-Bold
=
"true"
>
</
telerik:RadPanelItem
>
</
Items
>
</
telerik:RadPanelBar
>
<
asp:Label
ID
=
"DemoLabel"
Text
=
"Demo Label"
runat
=
"server"
></
asp:Label
>
<
telerik:RadButton
ID
=
"DemoButton"
Text
=
"Demo Button"
OnClientClicked
=
"OnButtonClick"
runat
=
"server"
>
</
telerik:RadButton
>
protected void Page_Load(object sender, EventArgs e)
{
if (IsPostBack)
DemoLabel.Text = Request["__EVENTARGUMENT"].ToString();
}
// determin filter status and update UI
bool
b = RadGrid1.MasterTableView.FilterExpression.Length > 0;
string
status =
string
.Format(
"Filtered: {0}"
, b.ToString(CultureInfo.InvariantCulture));
this
.ltrfilterStatus.Text = status;