CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > microsoft_downloads.css_friendly_control_adapters Tags:
Item Type: NewsGroup Date Entered: 5/4/2006 11:20:09 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 6 Views: 28 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
7 Items, 1 Pages 1 |< << Go >> >|
Ari@n
Asp.Net User
Bug in the DataList Adapter5/4/2006 11:20:09 AM

0/0

When you don't specify the RepeatColumns property of the DataList-control. The following error occurs:

System.DivideByZeroException

Row156: int nRow = iItem / dataList.RepeatColumns;

in the class: App_Code\Adapters\DataListAdapter.cs  

When you set the RepeatColumns to 1 everything works fine.

 

Russ Helfand
Asp.Net User
Re: Bug in the DataList Adapter5/4/2006 1:23:24 PM

0/0

Nice catch!  I'll add it to my to-do list for the next rev.

-Russ-


Russ Helfand
Groovybits.com
jlerman
Asp.Net User
Re: Bug in the DataList Adapter5/6/2006 5:43:19 PM

0/0

ahh  good thing I searched before I added this again! Of course I didn't search to solve it - duh -but it was easy enough to find. :-)
jminond
Asp.Net User
Re: Bug in the DataList Adapter5/27/2006 6:54:45 AM

0/0

i dont think setting to 1 is the proper solution... becuase thats not really the "real" value... i think it's more appropriate to check if repepat column = 0... then not do any of that work in the first place.

 


Jonathan Minond
http://www.Jonavi.com
http://www.jonavi.com/Default.aspx?pageID=21
http://RainbowBeta.com
http://community.rainbowportal.net/blogs/jonathans_rainbow_blog/default.aspx
http://dotnetslackers.com/community/blogs/jminond/default.aspx
Russ Helfand
Asp.Net User
Re: Bug in the DataList Adapter5/27/2006 9:09:10 AM

0/0

Agreed.  The real solution, which will be in the next rev of the kit, uses a more sophisticated heuristic to deal with cases where the repeat column count is 0.  Setting the value to a positive integer is just a simple workaround for the present rev of the kit (in cases where you can identify a reasonable number for the repeat column count).
Russ Helfand
Groovybits.com
jminond
Asp.Net User
Re: Bug in the DataList Adapter5/27/2006 2:52:22 PM

0/0

Cool, I think the solution I posted in the oher thread for having a bool to say if you have data....

i imagine the same type of error could potentially ahppen with rows if someone where to modify the code a little, i dont know... in any case...

if you have no data... you can hit a nodata template, or something like that.

 


Jonathan Minond
http://www.Jonavi.com
http://www.jonavi.com/Default.aspx?pageID=21
http://RainbowBeta.com
http://community.rainbowportal.net/blogs/jonathans_rainbow_blog/default.aspx
http://dotnetslackers.com/community/blogs/jminond/default.aspx
Russ Helfand
Asp.Net User
Re: Bug in the DataList Adapter5/28/2006 1:57:48 AM

0/0

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


Free Download:

Books:
Beginning Visual Web Programming in VB .NET: From Novice to Professional Authors: Daniel Cazzulino, Craig Bowes, Victor Garcia Aprea, Mike Clark, James Greenwood, Chris Hart, Pages: 648, Published: 2005
The Software Catalog: Microcomputers Authors: unknown, Pages: 3300, Published: 1986

Web:
Bug in the DataList Adapter - ASP.NET Forums Re: Bug in the DataList Adapter. 05-04-2006, 9:23 AM. Contact ... Re: Bug in the DataList Adapter. 05-06-2006, 1:43 PM. Contact ...
Bug in the DataList Adapter - ASP.NET Forums Bug in the DataList Adapter. Last post 05-27-2006 9:57 PM by Russ Helfand. 6 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
CSS Friendly Control Adapters - Source Code Improved DataList adapter applies default classes (AspNet-DataList-Item, ... stopped rendering invisible rows in GridView; fixed code bug from previous ...
Feedback: DataList ArgumentOutOfRangeException Type, Bug, ID, 95484. Status, Closed (Not Reproducible), Access Restriction ... RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +23 ...
DataList ignores Styles when WebControlAdapter applies It seems like a bug for me. Currently, the only workaround I see is to create a special adapter for the DataGrid and render the table myself. ...
Brian Goldfarb's Blog : Release: CSS Friendly ASP.NET 2.0 Control ... These sample adapters (TreeView, Menu, DataList, FormView, ... This is a known IE7B2 bug and it will be fixed in a future release of IE7 (they tell us for ...
tee-object bug - Vista Forums anybody dare to suggest the cause of this bug. Maybe a side effect of the powershell adapter. and an assumption tee-object makes? ...
.NET CSS Control Adapter Toolkit at Microsoft .NET Support Today we released a refresh of the CSS Control Adapters for ASP.NET 2.0 ( incorporating bug fixes, feature suggestions, and adding support for new controls). ...
TheMSsForum.com >> Ado >> Format currency in datalist items? - The ... Tag: Format currency in datalist items? Tag: 89793. 21 ยท OleDbParameter - Maybe not a bug... but it still sucks! Howdy, Can someone please explain the ...
Download free ASP templates - Free ASP Templates. CSS rules that impact the markup rendered by the DataList adapter ..... Please post any comments, questions, or bug reports to the CSS Adapters Forum at ...




Search This Site:










how do i make the whole menu cell clickable?

default sql role and membership providers

what's the consensus best way to handle the cross-site scripting situation?

master page problem

user control not redering from page_load

user registrationform

links of asp.net video tutorial

mail are stucked in queue folder

visual studio 2005, web projects, sourcesafe and deleting files

what happened to the search module?

read the scanned file

how will whidbey handle application restarts?

subdomain cookie issue when mixing dnn 2 & dnn 3

getting the value within another control

asp.net and authentication problem?

errors creating portals from custom templates

controls & child controls

asp:menu sitemapdatasource itemwrap=true exceeds set width

simple question needs fast answer...

migrate sql membership provider database

cannot access a custom page/masterpage type from a class file inside app_code

button click cs file issues....

can someone give me a little explanation about

interesting article: integrating css with content management systems

dnn 3.0.4 user accounts

how to send email with body read from database

changing the style of a link within web.sitemap

help on last step of paypal/dnn v3.1.0

serialization error with vs development server, not iis

encypt/decrypt string stored in sql

 
All Times Are GMT