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 UIbool b = RadGrid1.MasterTableView.FilterExpression.Length > 0;string status = string.Format("Filtered: {0}", b.ToString(CultureInfo.InvariantCulture));this.ltrfilterStatus.Text = status;<%@ Import Namespace="System.Data.Odbc" %><%@ Import Namespace="System.Drawing" %><%@ Import Namespace="System.IO" %><%@ Import Namespace="System.Collections.Generic" %><%@ Import Namespace="System.Linq" %><%@ Import Namespace="System.Configuration" %><%@ Import Namespace="System.Security.Principal" %><%@ Import Namespace="System.Text" %><%@ Import Namespace="DocumentFormat.OpenXml" %><%@ Import Namespace="DocumentFormat.OpenXml.Presentation" %><%@ Import Namespace="DocumentFormat.OpenXml.Packaging" %><%@ Import Namespace="DocumentFormat.OpenXml.Drawing" %><%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %><html xmlns="http://www.w3.org/1999/xhtml"><head id="Head1" runat="server"><title>Chart</title><script runat="server"> private void Page_Load(object sender, System.EventArgs e) { OdbcConnection myConnectionString = new OdbcConnection(ConfigurationManager.ConnectionStrings["ConnMySQL"].ConnectionString); myConnectionString.Open(); String strQuery = " SELECT AAA, BBB, CCC, DDD, EEE, myDates from myTbl; "; OdbcCommand objCmd = new OdbcCommand(strQuery, myConnectionString); objCmd.CommandType = CommandType.Text; objCmd.CommandText = strQuery; Chart1.DataSource = objCmd.ExecuteReader(); Chart1.ChartAreas["ChartArea1"].Area3DStyle.Inclination = 0; Chart1.ChartAreas["ChartArea1"].Area3DStyle.Enable3D = false; Chart1.ChartAreas["ChartArea1"].AxisX.LabelStyle.Angle = -35; Chart1.ChartAreas["ChartArea1"].AxisX.IsLabelAutoFit = false; Chart1.ChartAreas["ChartArea1"].AxisX.LabelStyle.Font = new System.Drawing.Font("Arial", 8); Chart1.ChartAreas["ChartArea1"].AxisX.LabelStyle.IsStaggered = false; Chart1.ChartAreas["ChartArea1"].AxisX.LabelStyle.Enabled = true; Chart1.ChartAreas["ChartArea1"].AxisX.IsMarginVisible = true; Chart1.ChartAreas["ChartArea1"].AxisX.LineColor = Color.Black; Chart1.ChartAreas["ChartArea1"].AxisY.LineColor = Color.Black; Chart1.ChartAreas["ChartArea1"].AxisX.LineDashStyle = ChartDashStyle.Solid; Chart1.ChartAreas["ChartArea1"].AxisX.LineWidth = 3; Chart1.ChartAreas["ChartArea1"].AxisY.LineWidth = 3; Chart1.AntiAliasing = AntiAliasingStyles.All; Chart1.TextAntiAliasingQuality = TextAntiAliasingQuality.High; Chart1.Series["Default"].XValueMember = "AAA"; Chart1.Series["Default"].YValueMembers = "BBB"; Chart1.Series["Default"].ChartType = SeriesChartType.Column; Chart1.Series["Default"]["PointWidth"] = "0.7"; Chart1.Series["Default"].IsValueShownAsLabel = true; Chart1.Series["Default"]["BarLabelStyle"] = "Center"; Chart1.Series["Default"]["PixelPointDepth"] = "99"; Chart1.Series["Default"]["DrawingStyle"] = "Cylinder"; Chart1.Series["Default"].Font = new System.Drawing.Font("Verdana", 10); Chart1.Series["Default"]["LabelStyle"] = "Top"; Chart1.Series["Default2"].YValueMembers = "CCC"; Chart1.Series["Default2"].ChartType = SeriesChartType.Column; Chart1.Series["Default2"]["LabelStyle"] = "Center"; Chart1.Series["Default2"]["PointWidth"] = "0.7"; Chart1.Series["Default2"].IsValueShownAsLabel = true; Chart1.Series["Default2"].Font = new System.Drawing.Font("Verdana", 10); Chart1.Series["Default2"]["LabelStyle"] = "TopLeft"; Chart1.Series["Default2"]["BarLabelStyle"] = "Center"; Chart1.Series["Default2"]["PixelPointDepth"] = "99"; Chart1.Series["Default2"]["DrawingStyle"] = "Cylinder"; Chart1.Series["Default3"].YValueMembers = "DDD"; Chart1.Series["Default3"].ChartType = SeriesChartType.Line; Chart1.Series["Default3"].Font = new System.Drawing.Font("Verdana", 12); Chart1.Series["Default3"]["LabelStyle"] = "TopLeft"; Chart1.Series["Default4"].YValueMembers = "EEE"; Chart1.Series["Default4"].ChartType = SeriesChartType.Column; Chart1.Series["Default4"]["PointWidth"] = "0.7"; Chart1.Series["Default4"].IsValueShownAsLabel = true; Chart1.Series["Default4"]["BarLabelStyle"] = "Center"; Chart1.Series["Default4"]["PixelPointDepth"] = "99"; Chart1.Series["Default4"]["DrawingStyle"] = "Cylinder"; Chart1.Series["Default4"].Font = new System.Drawing.Font("Verdana", 10); Chart1.Series["Default4"]["LabelStyle"] = "Top"; Chart1.Legends.Add(new Legend("Default")); Chart1.Series["Default"].Legend = "Default"; Chart1.Legends["Default"].BackColor = Color.MediumSeaGreen; Chart1.Legends["Default"].BackSecondaryColor = Color.Green; Chart1.Legends["Default"].BackGradientStyle = GradientStyle.DiagonalLeft; Chart1.Legends["Default"].BorderColor = Color.Black; Chart1.Legends["Default"].BorderWidth = 2; Chart1.Legends["Default"].BorderDashStyle = ChartDashStyle.Solid; Chart1.Legends["Default"].ShadowOffset = 2; myConnectionString.Close(); myConnectionString.Dispose(); } </script></head><body> <form id="form1" runat="server"> <div><asp:Chart ID="Chart1" runat="server" Width="1058" Height="680"><Series><asp:Series Name="Default" ChartArea="ChartArea1" Color="MediumOrchid" BorderWidth="2"></asp:Series></Series><Series><asp:Series Name="Default2" ChartArea="ChartArea1" Color="Maroon" BorderWidth="2"></asp:Series></Series><Series><asp:Series Name="Default3" ChartArea="ChartArea1" Color="Red" BorderWidth="4"></asp:Series></Series><Series><asp:Series Name="Default4" ChartArea="ChartArea1" Color="Blue" BorderWidth="2"></asp:Series></Series><ChartAreas><asp:ChartArea Name="ChartArea1"><AxisX Interval="1"></AxisX></asp:ChartArea></ChartAreas></asp:Chart> </div> </form></body></html> 