Mitchel's Forums

Subject: IHydratable Question
Prev Next
You are not authorized to post a reply.

AuthorMessages
CoreyUser is Offline
New Poster
New Poster
Posts:16

08/22/2008 5:51 PM  

Hey Mitchel!

I'm doing a couple of customizations to the Announcements module and have created a new arraylist to bind to a dropdownlist. The problem is that when I try to run the module, it keeps wanting to populate my arraylist by using the Ihydratale Fill method. When it does, I get a "System.IndexOutOfRangeException" error because it can't find the values in the Fill method such as "ItemID" in my arraylist.

I can't figure out how I can get around the IHydratable or at least set it up so that it will fill my values without throwing errors.

Any idea?

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5607

08/26/2008 1:29 AM  
You can just remove the IHydratable interface from the class definition...

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.
Forums >Development Discussion >DotNetNuke > IHydratable Question



ActiveForums 3.7