Hi,
I am having following unexpected behavior:
After canceling request when a file is too big, when I am selecting another file, args._progressData.RadUpload.RequestSize is from previous file and not from one which I just selected.
AppointmentToolTip
toolTip = (AppointmentToolTip)LoadControl("AppointmentToolTip.ascx");
Even to add ClassName or changing the Reference Tag to Register, doesen't work.
<%
@ Register src="AppointmentToolTip.ascx" TagName="AppointmentToolTip" TagPrefix="ptc" %>
Hello,
We are currently using an AutoCompleteExtender and a RadEditor in our page. Unfortunately, whenever we put in the RadEditor, the AutoCompleteExtender
throws an error everytime the user selects an option within its drop down list (using a single mouse click). When we remove the RadEditor from the page, users are again able
to select an option from the autocompleteextender dropdown list without any errors. When we tried debugging the error we get an 'Unspecified Error'
that can be traced to a certain getClientRects function. Would you have any ideas why the RadEditor appears to cause an error on the
AutoCompleteExtender? Are there any problems that may result from using AjaxToolkit AutoCompleteExtender and your RadEditor?
| <telerik:RadAjaxPanel runat="server" id="rpnlProfileIntroduction"> |
| <table style="width: 750px" cellpadding="0" cellspacing="0" onmouseover="ShowEditButtonProfileIntroduction(true)" onmouseout="ShowEditButtonProfileIntroduction(false)"> |
| <tr id="trEditProfileIntroduction" runat="server"> |
| <td style="width: 250px;" valign="top"> |
| <table cellspacing="1" cellpadding="0" width="350"> |
| <tr> |
| <td class="ms-ppPropertyLabel" style="width: 120px"> |
| Current Client: |
| </td> |
| <td valign="top" class="ms-ppRedirectLinks" > |
| <asp:TextBox ID="txtCurrentClient" runat="server" width="200px"></asp:TextBox> |
| <ajaxToolkit:AutoCompleteExtender |
| runat="server" |
| ID="autoCompleteCurrentClient" |
| TargetControlID="txtCurrentClient" |
| ServiceMethod="GetCompletionList" |
| MinimumPrefixLength="1" |
| CompletionInterval="1000" |
| EnableCaching="False" |
| CompletionSetCount="10" |
| UseContextKey="True" |
| ContextKey="CurrentClient" |
| DelimiterCharacters=" " |
| /> |
| </td> |
| </tr> |
| <tr> |
| <td align="left" class="ms-ppErrorTextDescription" colspan="3" valign="top"> |
| <asp:RegularExpressionValidator ID="regCurrectClient" ControlToValidate = "txtCurrentClient" runat="server" ErrorMessage="Semicolon (;) is not a valid character." ValidationExpression="[^;]*" Display="Dynamic"></asp:RegularExpressionValidator> |
| </td> |
| </tr> |
| </table> |
| </td> |
| <td valign="top"> |
| <table cellpadding="0" width="400" style="word-wrap:break-word"> |
| <tr> |
| <td style="width:400px; height: 19px;" class="ms-ppPropertyText" id="tdProfessionalBio"> |
| <telerik:RadEditor ID="radEditProfessionalBio" runat="server" Width="400px" EditModes="Design" Skin="Hay" Height="200px"> |
| <Tools> |
| <telerik:EditorToolGroup> |
| <telerik:EditorTool Name="Cut" /> |
| <telerik:EditorTool Name="Copy" /> |
| <telerik:EditorTool Name="Paste" /> |
| <telerik:EditorTool Name="Undo" /> |
| <telerik:EditorTool Name="Redo" /> |
| <telerik:EditorTool Name="FormatStripper" /> |
| <telerik:EditorTool Name="InsertTable" /> |
| <telerik:EditorTool Name="ToggleTableBorder" /> |
| <telerik:EditorTool Name="LinkManager" /> |
| <telerik:EditorTool Name="Unlink" /> |
| <telerik:EditorTool Name="InsertSymbol" /> |
| </telerik:EditorToolGroup> |
| </Tools> |
| </telerik:RadEditor> |
| </td> |
| </tr> |
| <tr> |
| <td align="left" class="ms-ppErrorTextDescription" colspan="3" valign="top"> |
| <asp:RegularExpressionValidator ID="RegExrProfessionalBio" ControlToValidate = "radEditProfessionalBio" runat="server" ErrorMessage="The bio is too long to fit on My Page. Please edit your bio." ValidationExpression="[\s\S]{0,3600}" Display="Dynamic"></asp:RegularExpressionValidator> |
| </td> |
| </tr> |
| </table> |
| </td> |
| </tr> |
| <table> |
| </telerik:radajaxpanel> |
Hoping for your immediate response.
Thanks.
Arthur
| <html xmlns="http://www.w3.org/1999/xhtml" > | |
| <head runat="server"> | |
| <title></title> | |
| </head> | |
| <body> | |
| <form id="form1" runat="server"> | |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> | |
| </telerik:RadScriptManager> | |
| <div> | |
| <telerik:RadTextBox ID="RadTextBox1" runat="server" EmptyMessage="Drag text on to me"> | |
| </telerik:RadTextBox><asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> | |
| <br /> | |
| <telerik:RadTextBox ID="RadTextBox2" runat="server" TextMode="Password" EmptyMessage="Enter Password"> | |
| </telerik:RadTextBox><asp:Label ID="Label2" runat="server" Text="Label"></asp:Label> | |
| <br /> | |
| <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" /> | |
| </div> | |
| </form> | |
| </body> | |
| </html> |
| protected void Button1_Click(object sender, EventArgs e) | |
| { | |
| Label1.Text = RadTextBox1.Text; | |
| Label2.Text = RadTextBox2.Text; | |
| } |
Hi,
I need to place two RadCharts on same page and they have to be updated with the same event. When the update gets triggered by RadAjaxManager, the second defined graph in AjaxUpdateControl always flickers. Here is the example code:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GraphFlicker.aspx.cs" Inherits="Application_Test_GraphFlicker" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Charting" 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 runat="server">
<title></title>
<script type="text/javascript">
function pageLoad() {
}
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:Button runat="server" ID="btn1" Text="Test" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="btn1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="btn1" LoadingPanelID="LoadingPanel" />
<telerik:AjaxUpdatedControl ControlID="RadChart1" LoadingPanelID="LoadingPanel" />
<telerik:AjaxUpdatedControl ControlID="RadChart2" LoadingPanelID="LoadingPanel" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="LoadingPanel" runat="server" Skin="Vista" />
<telerik:RadChart ID="RadChart1" runat="server" SkinsOverrideStyles="false" Width="240px" Height="400px" ChartTitle-TextBlock-Text="Chart" ChartTitle-Appearance-Visible="false">
<PlotArea Appearance-Dimensions-Margins="0px">
<XAxis MaxValue="5" MinValue="1" Step="1">
</XAxis>
<YAxis MaxValue="25" Step="5">
</YAxis>
<YAxis2 MaxValue="5" MinValue="1" Step="1">
</YAxis2>
</PlotArea>
<Series>
<telerik:ChartSeries Name="Series 1" Type="Pie" Appearance-ShowLabels="true" Appearance-LegendDisplayMode="Nothing" >
<Items>
<telerik:ChartSeriesItem YValue="60" Name="F" Label-TextBlock-Text="F #%" ></telerik:ChartSeriesItem>
<telerik:ChartSeriesItem YValue="20" Name="P" Label-TextBlock-Text="P #%" Label-Appearance-Visible="true"></telerik:ChartSeriesItem>
<telerik:ChartSeriesItem YValue="20" Name="C" Label-TextBlock-Text="C #%" ></telerik:ChartSeriesItem>
</Items>
</telerik:ChartSeries>
</Series>
</telerik:RadChart>
<telerik:RadChart ID="RadChart2" runat="server" SkinsOverrideStyles="false" Width="240px" Height="400px" ChartTitle-TextBlock-Text="Chart" ChartTitle-Appearance-Visible="false">
<PlotArea Appearance-Dimensions-Margins="0px">
<XAxis MaxValue="5" MinValue="1" Step="1">
</XAxis>
<YAxis MaxValue="25" Step="5">
</YAxis>
<YAxis2 MaxValue="5" MinValue="1" Step="1">
</YAxis2>
</PlotArea>
<Series>
<telerik:ChartSeries Name="Series 1" Type="Pie" Appearance-ShowLabels="true" Appearance-LegendDisplayMode="Nothing" >
<Items>
<telerik:ChartSeriesItem YValue="60" Name="F" Label-TextBlock-Text="F #%" ></telerik:ChartSeriesItem>
<telerik:ChartSeriesItem YValue="20" Name="P" Label-TextBlock-Text="P #%" Label-Appearance-Visible="true"></telerik:ChartSeriesItem>
<telerik:ChartSeriesItem YValue="20" Name="C" Label-TextBlock-Text="C #%" ></telerik:ChartSeriesItem>
</Items>
</telerik:ChartSeries>
</Series>
</telerik:RadChart>
</form>
</body>
</html>
If I replace the two graphs with asp:Panel, they work as expected, no flicker at all:
<asp:Panel ID="RadChart1" runat="server" Width="240px" Height="400px" BackColor="Red">
</asp:Panel>
<asp:Panel ID="RadChart2" runat="server" Width="240px" Height="400px" BackColor="Blue">
</asp:Panel>
Thanks,
Teo