CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting
Microsoft Gold Certified Partner – 3 Months Free and Free Setup



Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > microsoft_downloads.css_friendly_control_adapters Tags:
Item Type: NewsGroup Date Entered: 5/19/2006 1:06:29 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 58 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
bcampbell
Asp.Net User
Datalist error5/19/2006 1:06:29 PM

0/0

In testing the datalist, I've  run into the following error. Any suggestions. Thanks.

Arithmetic operation resulted in an overflow.

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.OverflowException: Arithmetic operation resulted in an overflow.

Source Error:

Line 146:                    writer.Indent = writer.Indent + 1
Line 147:
Line 148:                    Dim nItemsInColumn As Integer = CType(Math.Ceiling((CType(dataList.Items.Count, Double)) / (CType(dataList.RepeatColumns, Double))), Integer)
Line 149:                    Dim iItem As Integer
Line 150:                    For iItem = 0 To dataList.Items.Count - 1 Step iItem + 1

Source File: c:\inetpub\wwwroot\MortgageFilingFees\App_Code\Adapters\DataListAdapter.vb    Line: 148

Stack Trace:

[OverflowException: Arithmetic operation resulted in an overflow.]
   CSSFriendly.DataListAdapter.RenderContents(HtmlTextWriter writer) in c:\inetpub\wwwroot\MortgageFilingFees\App_Code\Adapters\DataListAdapter.vb:148
   System.Web.UI.WebControls.Adapters.WebControlAdapter.Render(HtmlTextWriter writer) +23
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +2065569
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +59
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +68
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +37
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
   System.Web.UI.Page.Render(HtmlTextWriter writer) +26
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896
Russ Helfand
Asp.Net User
Re: Datalist error5/19/2006 3:45:19 PM

0/0

There is a bug in the current implementation of the DataList adapter in the kit.  It crashes if RepeatColumns is set to 0.  Can you try your test again but set RepeatColumns to some positive number?
Russ Helfand
Groovybits.com
bcampbell
Asp.Net User
Re: Datalist error5/19/2006 4:16:54 PM

0/0

Yes, it works fine with a positive number. Thanks!

Russ Helfand
Asp.Net User
Re: Datalist error5/19/2006 4:28:43 PM

0/0

I'm glad you are able to work around it for now.  This problem was noted earlier in this forum by http://forums.asp.net/thread/1275928.aspx.  I've got a fix locally; it will be included in the next rev of the kit.


Russ Helfand
Groovybits.com
Russ Helfand
Asp.Net User
Re: Datalist error5/28/2006 1:58:59 AM

0/0

Please refer to this thread, http://forums.asp.net/thread/1298405.aspx, for more information..
Russ Helfand
Groovybits.com
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning JavaServer Pages Authors: Vivek Chopra, Jon Eaves, Rupert Jones, Sing Li, John T. Bell, Pages: 1262, Published: 2005
Pascal Plus Data Structures, Algorithms, and Advanced Programming Authors: Nell B. Dale, Susan C. Lilly, Pages: 878, Published: 1995
Essential ADO.NET Authors: Bob Beauchemin, Pages: 521, Published: 2002
TRON Project 1989: open-architecture computer systems : proceedings of the sixth TRON Project Symposium Authors: TRON Project Symposium (6 : 1989 : Tokyo), Ken Sakamura, Pages: 0, Published: 1989
Statistics with Maple Authors: John A. Rafter, Pages: 822, Published: -1
Hacking Exposed: Web Applications Authors: Joel Scambray, David Wong, Mike Shema, Pages: 386, Published: 2002
Beginning ASP.NET 2.0 with C# Authors: Chris Hart, John Kauffman, David Sussman, Chris Ullman, Pages: 735, Published: 2006
Beginning ASP.NET 2.0 Databases: Beta Preview Authors: John Kauffman, Thiru Thangarathinam, Pages: 427, Published: 2005

Web:
Datalist error - ASP.NET Forums Datalist error. Last post 05-27-2006 9:58 PM by Russ Helfand. 4 replies. ... In testing the datalist, I've run into the following error. ...
Using Button in DataList Error - ASP.NET Forums Using Button in DataList Error. Last post 11-13-2006 2:39 AM by vivek_iit. 3 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
ADC DataList update JavaScript error in ie - DotNetSlackers Community Sep 26, 2008 ... DotNetSlackers Community » Open Source Projects » Asp.net Ajax DataControls » ADC DataList update JavaScript error in ie ...
Datalist DataSource Error Datalist DataSource Error. I am currently converting some VB.NET web apps to C#. It has been pretty seamless so far but have currently run ...
Using ajaxtool Animation with datalist .. scrip error Hello, I am trying to have an ajax animation (who pop at text ) working with a datalist .the text is different for each row I am using this : <%@ Page ...
JS error using Tooltip in Datalist - telerik Forum NET AJAX JS error using Tooltip in Datalist .... browser and the page updated when I opened a tooltip so it must have rebound the datalist). ...
Error in DataList test query - aspnet 2.0 Nov 10, 2005 ... Error in DataList test query - aspnet 2.0 I found some vs 2005 asp.net walkthroughs. The first I tried required Northwind. ...
Joteke's Blog : Binding DataList to a custom collection (error on ... I debugged some code of one of my friends as he got following type of exception message when binding DataList to a custom collection.
Third-Level Nested DataList Throwing Error
The error thrown is: "Public member 'Row' on type 'DataRow' not found." I am using the following attribute in each datalist in order to get ...
411ASP.NET: ASP.NET Repeater - ASP.NET tutorial, script, code ... Read Reviews | Report Error | Add To QuickList ... We could use DataList or DataGrid instead, but the Repeater control is lightest. ...

Videos:
Data Access in the ASP.NET 2.0 Framework www.mylivelessons.com Stephen Walther, the world's leading ASP.NET authority introduces his new LiveLesson- DVD-ROM hands-on personal video instruct...












different output of menuadapter- and sharepoint:aspmenu-control

login control adapter rendering question

style sheets

documentation for adding to existing website.

gridview pager with css friendly adapter

menuadapter / builditem method

problem installing the vsi file

.aspnet-menu-selected problems

staticdisplaylevels and maximumdynamicdisplaylevels

.master with css adaptors

fixing the checkboxlist so that checkboxlist.enabled = false; and checkboxlistitem.enabled = false; disables the checkboxes.

asp:detailsview renders incorrectly with css friendly control adapter

veritcal menus ie6

gridview pagerstyle

menu adapter treating top-level menu items as links

treeview adapter - how do i show lines ?

css menu disappears on some pages

using css adapters displaying menus over dropdown list

css friendly control adapter for repeater ?

variable width of horizontal top level menu elements?

script block not being generated

menu and adding the 'confirm()' javascript on one of the item when click

second level menu items displayed misaligned vertically

adapter for a an anchor tag runat server

when would you like to relase a new version?

css adapters effecing other controls?

loginadapter breaks the log-in

treeview not expanding when navigationurlfield is used

menu adapter with security trimming problem

cssfriendly menu adapter - images not showing

  Privacy | Contact Us
All Times Are GMT