| <telerik:RadRotator ID="rtPropertyImages" runat="server" ScrollDirection="Left" ItemWidth="203px" |
| ItemHeight="136px" Height="136px" Width="203px" RotatorType="FromCode" ScrollDuration="2000"> |
| <ItemTemplate> |
| <a href="Property-Floor-Plan.aspx?id=<%#DataBinder.Eval(Container, "DataItem.Listing_ID")%>"> |
| <telerik:RadBinaryImage ID="imgProperty" runat="server" AutoAdjustImageControlSize="false" |
| DataValue='<%#Bind("ImageFile") %>' AlternateText='<%# Bind("Description") %>' |
| ToolTip='<%# Bind("Description") %>' Height="136px" Width="203px" ResizeMode="Crop" |
| BorderStyle="Solid" BorderColor="Black" BorderWidth="1px" /> |
| </a> |
| </ItemTemplate> |
| </telerik:RadRotator> |
| Server Error in '/' Application. |
| -------------------------------------------------------------------------------- |
| Out of memory. |
| Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. |
| Exception Details: System.OutOfMemoryException: Out of memory. |
| Source Error: |
| An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
| Stack Trace: |
| [OutOfMemoryException: Out of memory.] |
| System.Drawing.Graphics.CheckErrorStatus(Int32 status) +1048473 |
| System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height) +98 |
| Telerik.Web.UI.BinaryImageTransformationFilter.CropImage(Image img, Int32 scaledHeight, Int32 scaledWidth) +227 |
| Telerik.Web.UI.BinaryImageTransformationFilter.ProcessImageInternal(Byte[] image) +228 |
| Telerik.Web.UI.BinaryImageTransformationFilter.ProcessImage(Byte[] image) +17 |
| Telerik.Web.UI.BinaryImageFilterProcessor.ProcessFilters(Byte[] imageData) +62 |
| Telerik.Web.UI.RadBinaryImage.ProcessImageData() +50 |
| Telerik.Web.UI.RadBinaryImage.OnPreRender(EventArgs e) +20 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +80 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Control.PreRenderRecursiveInternal() +171 |
| System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842 |
Hello every body!
I have a very strange problem with Radajaxmanager and updatepanel ,Please see this senario:
I have an aspx file that inherited from a masterpage,in this page I am using some javascript code with
fcbkCompelet jquery plugin(see[ http://www.emposha.com/demo/fcbkcomplete/]).I want to update
information about user entry information in SELECT INPUT tag that work
with this plugin(something like yahoo autocompelet addressbar ).In the other side in the same page I have a <ASP:Label>
that will be updated with some information fetched from Database when user typed username for
example.I am using a Radajaxmanager ,updatepanel,asp:timer with some codebehind to fetch this
information to update the asp:label in every 2 seconds without any postback , but In IE 8 I get this error
”Microsoft JScript runtime error: 'get_postBackElement().id' is null or not an object”
, but no error in Fireox and chrome and it dose not work in all three cases.The point Is that
It do work when I copy the whole aspx file content with the inherited masterpage with the same
Structure , the same js files and jquery plugin to a new test Project .I am confused that
Why it works in new test project but it get error in my main project.I am sure that it is the same code
and structure in the both projects.I should demonstrat that both projects are in Telerik Q1 2011
template form.
Here is my aspx file :
<%@ Page Title="" Language="C#" MasterPageFile="~/FunctionalityMasterPage.master" AutoEventWireup="true" CodeFile="Send_Simple.aspx.cs" Inherits="Send_Simple" %> <asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" Runat="Server"> <script src="../Jquery/jquery-1.6.2.min.js" type="text/javascript"></script> <script src="../Jquery/jquery.fcbkcomplete.js" type="text/javascript"></script> <link href="../Styles/Jstyle.css" rel="stylesheet" type="text/css" /> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="cphContent" Runat="Server"> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="Timer1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="lblTest" LoadingPanelID="LoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> $(document).ready(function(){ $("#persons").fcbkcomplete({ json_url: '<%=ResolveUrl("Names_Handler.ashx") %>', contentType: "application/json; charset=utf-8", addontab: false, height: 5, complete_text: "اسامي را وارد نماييد", }); $("#groups").fcbkcomplete({ json_url: '<%=ResolveUrl("Groups_Handler.ashx") %>', addontab: false, height: 5, complete_text: "گروه ها را وارد نماييد", }); }); }); } </script> </telerik:RadCodeBlock> <div id="exampleWrapper" class="exampleWrapper" runat="server"> <div class="tabMenu"> <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" SelectedIndex="0" CssClass="tabStrip"> <Tabs> <telerik:RadTab Text="" Selected="True"> </telerik:RadTab> </Tabs> </telerik:RadTabStrip> <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" CssClass="multiPage"> <telerik:RadPageView ID="RadPageView1" runat="server"> <div style="float: left;"> <asp:Label runat="server" ID="lblTest" Text="initial"></asp:Label> </div> <asp:Panel ID="Panel2" runat="server"> <asp:Timer ID="Timer1" runat="server" Interval="1000" OnTick="Timer1_Tick" /> </asp:Panel> <div class="tabDiv"> <fieldset style="border-width: 0px; text-align: right; margin-top: 110px"> <dl> <dd> <table cellspacing="11" class="tabTable"> <tr> <td style="height: 170px; vertical-align: top;"> <asp:Panel ID="Panel1" runat="server" BorderColor="White"> <table style="text-align: right; width: 720px;"> <tr> <td style="width: 18%; text-align: right"> <span>از شماره : </span> </td> <td style="width: 72%; text-align: right"> <telerik:RadComboBox runat="server" ID="rcbxNumber" DataTextField="Number" DataValueField="NumberId" EnableLoadOnDemand="True" Height="100px" ShowMoreResultsBox="true" DataSourceID="eds_Numbers" EmptyMessage="Type here ..."> </telerik:RadComboBox> </td> <td> </td> </tr> <tr> <td style="width: 18%; text-align: right"> <span>به شماره هاي : </span> </td> <td style="width: 72%; text-align: right"> <telerik:RadComboBox runat="server" ID="rcbx_Receivers" DataTextField="Number" DataValueField="PersonId" Width="525px" EnableLoadOnDemand="True" Height="100px" ShowMoreResultsBox="true" DataSourceID="eds_Persons" MarkFirstMatch="true" AutoCompleteSeparator="," EmptyMessage="شماره ها رادر اين قسمت وارد و با كاما (,) از هم جدا نماييد" AllowCustomText="true" Font-Names="Tahoma"> </telerik:RadComboBox> </td> <td> <asp:Label runat="server" ID="lblNumbers" CssClass="lblCount"></asp:Label> </td> </tr> <tr> <td style="width: 18%; text-align: right"> <span>افراد(از دفترچه تلفن) : </span> </td> <td style="width: 72%; text-align: right"> <select id="persons" name="persons" style="direction: rtl;"> </select> </td> <td> <asp:Label runat="server" ID="lblPersons"></asp:Label> </td> </tr> <tr> <td style="width: 18%; text-align: right"> <span>گروهها(از دفترچه تلفن) : </span> </td> <td style="width: 72%; text-align: right;"> <select id="groups" name="groups" style="direction: rtl;"> </select> </td> <td> <asp:Label runat="server" ID="lblGroups"></asp:Label> </td> </tr> <tr> <td id="test" colspan="2" style="text-align: center"> </td> </tr> </table> <div class="DtxtSend"> <a onclick="Fa_click();">فارسي</a> / <a onclick="En_click();">English</a> <asp:TextBox runat="server" ID="txtSend" Font-Names="Tahoma" Rows="10" TextMode="MultiLine" Width="300px" onkeyup='textCounter(this, this.form.remLen, 70);smsCounter(event,this, this.form.remSms, 70);' onkeydown="textCounter(this, this.form.remLen, 70);smsCounter(event,this,this.form.remSms,70) " ToolTip="To change the Language use the links in the page do not use OS language"></asp:TextBox> </div> <label id="lblError" style="top: 5px; position: relative; direction: rtl; color: Red; font-family: Tahoma; float: right" runat="server" visible="false"> </label> <asp:Label ID="statusLabel" runat="server" Style="color: Red; margin-top: 13px; display: block;"></asp:Label> <br /> <%--<input type="button" value="ذخيره" id="Button1" style="font-family: Tahoma; width: 70px;" onclick="return Button1_onclick()" onclick="return Button1_onclick()" onclick="return Button1_onclick()" />--%> <div style="width: 600px; height: 25px; text-align: center; margin-right: 45px; margin-top: 30px"> <input readonly="readonly" type="text" name="remLen" size="3" maxlength="3" value="0" /> SMS <input readonly="readonly" type="text" name="remSms" size="3" maxlength="3" value="0" /> Characters <asp:Button ID="sendMessage" runat="server" Style="width: 116px;" CssClass="button" Text="ارسال پيام" CommandArgument="radconfirm" /> <asp:Button ID="saveDraft" runat="server" Style="width: 116px;" Text="ذخيره در پيش نويس" CssClass="button" /> <asp:Button ID="btnView" runat="server" Style="width: 116px;" Text="مشاهده" CssClass="button" /> <asp:Label ID="Label1" runat="server" Style="color: Red; margin-top: 13px; display: block;"></asp:Label> </div> </asp:Panel> <asp:Label ID="lblMessage" runat="server" /> </td> </tr> </table> </dd> </dl> </fieldset> </div> <asp:EntityDataSource ID="eds_Group" runat="server" ConnectionString="name=NumberEntities" DefaultContainerName="NumberEntities" EntitySetName="tbl_Group" Select="it.[GroupName]" AutoPage="true" OrderBy="it.[GroupName]"> </asp:EntityDataSource> <asp:EntityDataSource ID="eds_Numbers" runat="server" ConnectionString="name=NumberEntities" DefaultContainerName="NumberEntities" EntitySetName="tbl_UserNumber" AutoGenerateWhereClause="False" Where="it.UserInfoId = @UserInfoId" OnSelected="eds_Numbers_Selected"> <WhereParameters> <asp:Parameter Name="UserInfoId" Type="Int32" /> </WhereParameters> </asp:EntityDataSource> </telerik:RadPageView> </telerik:RadMultiPage> <telerik:RadFormDecorator runat="server" ID="RadFormDecorator1" DecoratedControls="Textarea" /> </div> </div> <asp:EntityDataSource ID="eds_Job" runat="server" ConnectionString="name=JobEntities" DefaultContainerName="JobEntities" EnableFlattening="False" EntitySetName="tbl_JobType"> </asp:EntityDataSource> <asp:EntityDataSource ID="eds_Persons" runat="server" ConnectionString="name=NumberEntities" DefaultContainerName="NumberEntities" EntitySetName="tbl_Persons"> </asp:EntityDataSource> </asp:Content> When the complaint came in that my line graph didn't have visible points at the values, I thought it would be an easy fix.
Somehow, I can't seem to make it happen.
The meat of the code is here:
'Create a series Dim oSeries As Telerik.Charting.ChartSeries = New Telerik.Charting.ChartSeries() radChart.Series.Add(oSeries)
'make it a line oSeries.Type = ChartSeriesType.Line radChart.Series(0).Appearance.FillStyle.MainColor = Color.Red
'add some data radChart.Series(0).AddItem(3.5) radChart.Series(0).AddItem(4.5) radChart.Series(0).AddItem(6.5) radChart.Series(0).AddItem(8.5)
' try everything and anything to get the points to show up radChart.Series(0).Appearance.PointMark.Visible = True radChart.Series(0).Appearance.PointMark.Dimensions.AutoSize = False radChart.Series(0).Appearance.PointMark.Dimensions.Width.Value = 20 radChart.Series(0).Appearance.PointMark.Dimensions.Height.Value = 20 radChart.Series(0).Appearance.PointMark.FillStyle.FillType = Styles.FillType.Solid radChart.Series(0).Appearance.PointMark.Figure = Styles.DefaultFigures.Diamond
I'm using the 4.1.6 version of the dll date 3/10/09
I've been searching the Forum for a mention of a similar problem - how bad is your problem when nobody on the internet has ever had it before?
I've attached a jpg of the output.
Please let me know what add't information would be helpful.
Thank you in advance for the help.
Mark
<telerik:GridTemplateColumn FilterControlAltText="Filter AccountCostCategory column" HeaderText="Cost Category" UniqueName="AccountCostCategory"> <ItemTemplate> <asp:CheckBox ID="chkAccountCostCategory_CC1" runat="server" Text="Cost Category 1" /> <asp:CheckBox ID="chkAccountCostCategory_CC2" runat="server" Text="Cost Category 2" /> <asp:CheckBox ID="chkAccountCostCategory_CC3" runat="server" Text="Cost Category 3" /> <asp:CheckBox ID="chkAccountCostCategory_CC4" runat="server" Text="Cost Category 4" /> </ItemTemplate> <FilterTemplate> <telerik:RadComboBox ID="ddlAccountCostCategoryFilter" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("AccountCostCategory").CurrentFilterValue %>' runat="server" OnClientSelectedIndexChanged="AccountCostCategoryFilterChanged"> <Items> <telerik:RadComboBoxItem Text="All" /> <telerik:RadComboBoxItem Text="Cost Category 1" Value="CC1" /> <telerik:RadComboBoxItem Text="Cost Category 2" Value="CC2" /> <telerik:RadComboBoxItem Text="Cost Category 3" Value="CC3" /> <telerik:RadComboBoxItem Text="Cost Category 4" Value="CC4" /> </Items> </telerik:RadComboBox> <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"> <script type="text/javascript"> function AccountCostCategoryFilterChanged(sender, args) { var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>"); tableView.filter("AccountCostCategory", args.get_item().get_value(), Telerik.Web.UI.GridFilterFunction.EqualTo); } </script> </telerik:RadScriptBlock> </FilterTemplate> <ItemStyle Width="120px" BackColor="#FDE9D9" /></telerik:GridTemplateColumn>Expression expected Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: Telerik.Web.UI.ParseException: Expression expectedSource Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [ParseException: Expression expected] Telerik.Web.UI.ExpressionParser.ParsePrimaryStart() +184 Telerik.Web.UI.ExpressionParser.ParsePrimary() +17 Telerik.Web.UI.ExpressionParser.ParseUnary() +115 Telerik.Web.UI.ExpressionParser.ParseMultiplicative() +55 Telerik.Web.UI.ExpressionParser.ParseAdditive() +60 Telerik.Web.UI.ExpressionParser.ParseComparison() +55 Telerik.Web.UI.ExpressionParser.ParseLogicalAnd() +55 Telerik.Web.UI.ExpressionParser.ParseLogicalOr() +55 Telerik.Web.UI.ExpressionParser.ParseExpression() +28 Telerik.Web.UI.ExpressionParser.ParseArguments() +56 Telerik.Web.UI.ExpressionParser.ParseIif() +94 Telerik.Web.UI.ExpressionParser.ParseIdentifier() +221 Telerik.Web.UI.ExpressionParser.ParsePrimary() +17 Telerik.Web.UI.ExpressionParser.ParseUnary() +115 Telerik.Web.UI.ExpressionParser.ParseMultiplicative() +55 Telerik.Web.UI.ExpressionParser.ParseAdditive() +60 Telerik.Web.UI.ExpressionParser.ParseComparison() +55 Telerik.Web.UI.ExpressionParser.ParseLogicalAnd() +55 Telerik.Web.UI.ExpressionParser.ParseLogicalOr() +55 Telerik.Web.UI.ExpressionParser.ParseExpression() +28 Telerik.Web.UI.ExpressionParser.ParseParenExpression() +52 Telerik.Web.UI.ExpressionParser.ParsePrimary() +17 Telerik.Web.UI.ExpressionParser.ParseUnary() +115 Telerik.Web.UI.ExpressionParser.ParseMultiplicative() +55 Telerik.Web.UI.ExpressionParser.ParseAdditive() +60 Telerik.Web.UI.ExpressionParser.ParseComparison() +55 Telerik.Web.UI.ExpressionParser.ParseLogicalAnd() +55 Telerik.Web.UI.ExpressionParser.ParseLogicalOr() +55 Telerik.Web.UI.ExpressionParser.ParseExpression() +28 Telerik.Web.UI.ExpressionParser.Parse(Type resultType) +31 Telerik.Web.UI.GridDynamicQueryable.Where(IQueryable source, String predicate, Object[] values) +172 Telerik.Web.UI.GridDataTableFromEnumerable.FillData35() +2148 Telerik.Web.UI.GridDataTableFromEnumerable.FillData() +855 Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized() +29 Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, IEnumerable enumerable, Boolean CaseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText) +265 Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText) +225 Telerik.Web.UI.GridTableView.get_ResolvedDataSource() +411 Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +392 Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +858 System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +94 System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +182 Telerik.Web.UI.GridTableView.PerformSelect() +206 Telerik.Web.UI.GridTableView.DataBind() +432 Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e) +159 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +52 Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) +50 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +52 Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) +102 Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument) +7403 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707