or

Hi,
I'm just wondering if there is a way to change the orientation of a chart. For example, to have the coord(0,0) at the top-right and not at the bottom-left ? So, the graphic will be drawn upside down. The goal here is not to change only the axis, but the curve itself will be drawn differently.
Thanks in advance.
Hello,
i'm trying to execute a treatment for all selected line in a listview control (one by one)
this works fine but is it the right way to do that with telerik ? (OnResponseEnd + ajaxRequest)
| <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default7.aspx.cs" Inherits="Default7" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head id="Head1" runat="server"> |
| <title>Untitled Page</title> |
| <script type="text/javascript"> |
| //for the number of the next listitem to run |
| var LiListNumber=0 |
| //////////////////////////////////////////// |
| function OnRequestStart(ajaxPanel, eventArgs){ |
| /**nothing to do**/ |
| } |
| function OnResponseEnd(ajaxPanel, eventArgs){ |
| if(LiListNumber<document.getElementById('Listbox1').length) |
| { TraitementList(document.getElementById('Listbox1'));} |
| } |
| </script> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True"> |
| </telerik:RadScriptManager> |
| <div> |
| <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> |
| <script type="text/javascript"> |
| function TraitementList(list) |
| { |
| var ajaxMng = $find("<%= RadAjaxManager1.ClientID %>"); |
| for (var i=LiListNumber; i < list.options.length ; i++) |
| //i'm searching for the next selected item |
| {if(list.options[i].selected){ |
| var svgtext=list.options[i].text |
| list.options[i].text = "====>"+svgtext |
| //for the next call |
| //i'm calling the treatment |
| ajaxMng.ajaxRequest(svgtext); |
| break |
| // exit |
| } |
| } |
| if(i<list.options.length) |
| {LiListNumber=i+1} |
| else |
| {LiListNumber=0} |
| return false; |
| } |
| </script> |
| </telerik:RadCodeBlock> |
| <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1" OnAjaxRequest="RadAjaxManager1_AjaxRequest" |
| DefaultLoadingPanelID="RadAjaxLoadingPanel1"> |
| <ClientEvents OnRequestStart="OnRequestStart" OnResponseEnd="OnResponseEnd" /> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadCodeBlock1"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="Label1" LoadingPanelID="RadAjaxLoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <telerik:AjaxSetting AjaxControlID="Button3"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="Label1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| <br /> |
| <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> |
| <br /> |
| <asp:ListBox ID="ListBox1" runat="server" Height="102px" SelectionMode="Multiple" |
| Width="504px"> |
| <asp:ListItem Value="1">First</asp:ListItem> |
| <asp:ListItem Value="2">Second</asp:ListItem> |
| <asp:ListItem Value="3">Third</asp:ListItem> |
| <asp:ListItem Value="4">Fourth</asp:ListItem> |
| <asp:ListItem Value="5">Fith</asp:ListItem> |
| </asp:ListBox> |
| <asp:Button runat="server" ID="Button3" Text="Button3" OnClientClick="return TraitementList(ListBox1);" /> |
| <br /> |
| </div> |
| </form> |
| </body> |
| </html> |
| using System; |
| using System.Collections; |
| using System.Configuration; |
| using System.Data; |
| using System.Linq; |
| using System.Web; |
| using System.Web.Security; |
| using System.Web.UI; |
| using System.Web.UI.HtmlControls; |
| using System.Web.UI.WebControls; |
| using System.Web.UI.WebControls.WebParts; |
| using System.Xml.Linq; |
| public partial class Default7:System.Web.UI.Page { |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| } |
| protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e) { |
| Label1.Text="End of"+e.Argument; |
| System.Threading.Thread.Sleep(3000); |
| } |
| } |
thanks for all your work.
| Event Type: Warning |
| Event Source: ASP.NET 2.0.50727.0 |
| Event Category: Web Event |
| Event ID: 1309 |
| Date: 2008-11-13 |
| Time: 17:40:48 |
| User: N/A |
| Computer: CT2656 |
| Description: |
| Event code: 3005 |
| Event message: An unhandled exception has occurred. |
| Event time: 11/13/2008 5:40:48 PM |
| Event time (UTC): 11/13/2008 4:40:48 PM |
| Event ID: acbe568a39c74415a2040543c5ebdae3 |
| Event sequence: 8 |
| Event occurrence: 1 |
| Event detail code: 0 |
| Application information: |
| Application domain: /LM/W3SVC/24966/Root-1-128710678927637500 |
| Trust level: Full |
| Application Virtual Path: / |
| Application Path: C:\Inetpub\vhosts\site1\httpdocs\ |
| Machine name: CT2656 |
| Process information: |
| Process ID: 79348 |
| Process name: w3wp.exe |
| Account name: CT2656\IWAM_plesk(default) |
| Exception information: |
| Exception type: CryptographicException |
| Exception message: Utfyllnaden är ogiltig och går inte att ta bort. (translated: the padding is not valid and cannot be removed) |
| Request information: |
| Request URL: http://some_site.com/WebResource.axd?d=aBnaOW4miaoN-xuS9Ug8HxzpxTaUOnriU0Ha2bG_ZW6R8-nFE6VC6mK2dq8knc48MEs2H7bUsWY_QpIg8nOQRQ2&t=633613965940000000 |
| Request path: /WebResource.axd |
| User host address: xxx.xxx.xxx.xxx |
| User: |
| Is authenticated: False |
| Authentication Type: |
| Thread account name: CT2656\IWAM_plesk(default) |
| Thread information: |
| Thread ID: 6 |
| Thread account name: CT2656\IWAM_plesk(default) |
| Is impersonating: False |
| Stack trace: at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) |
| at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) |
| at System.Security.Cryptography.CryptoStream.FlushFinalBlock() |
| at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, IVType ivType, Boolean useValidationSymAlgo) |
| at System.Web.UI.Page.DecryptStringWithIV(String s, IVType ivType) |
| at System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context) |
| at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() |
| at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) |
| Custom event details: |
| For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. |