Click here to Skip to main content
15,886,067 members
Home / Discussions / C#
   

C#

 
GeneralRe: Catching specialty keys from keyboard Pin
Jordanwb30-Jan-08 12:03
Jordanwb30-Jan-08 12:03 
GeneralDocking Panel under another Panel Pin
DSdragondude30-Jan-08 6:50
DSdragondude30-Jan-08 6:50 
GeneralRe: Docking Panel under another Panel Pin
TJoe30-Jan-08 6:54
TJoe30-Jan-08 6:54 
GeneralRe: Docking Panel under another Panel Pin
DSdragondude30-Jan-08 6:55
DSdragondude30-Jan-08 6:55 
GeneralRe: Docking Panel under another Panel Pin
TJoe30-Jan-08 6:58
TJoe30-Jan-08 6:58 
GeneralRe: Docking Panel under another Panel Pin
DSdragondude30-Jan-08 6:59
DSdragondude30-Jan-08 6:59 
GeneralDeserialization problems Pin
Bekjong30-Jan-08 3:25
Bekjong30-Jan-08 3:25 
GeneralRe: Deserialization problems Pin
Skippums30-Jan-08 5:08
Skippums30-Jan-08 5:08 
I bet that it is due to the fact that dictionary is only serializable due to the fact that it implements the ISerializable interface. I think the deserializer is looking for the deserialization constructor within your type, which clearly doesn't exist. Perhaps you will need to create a constructor that matches the one that is implemented with the ISerializable interface and simply pass it through to the base as follows:
protected IndexedBaseDataCollection(SerializationInfo info, StreamingContext context)
    : base(info, context) {
    // Do stuff in here to deserialize your own information, if necessary
}
If that doesn't work, then you may even need to implement the full ISerializable interface, and pass the data through to the dictionary. This is just a guess, but hopefully it is helpful. Let us know if you get it working,

Sounds like somebody's got a case of the Mondays

-Jeff

GeneralRe: Deserialization problems Pin
Bekjong30-Jan-08 23:49
Bekjong30-Jan-08 23:49 
GeneralRe: Deserialization problems Pin
Not Active30-Jan-08 5:52
mentorNot Active30-Jan-08 5:52 
AnswerRe: Deserialization problems Pin
TJoe30-Jan-08 6:53
TJoe30-Jan-08 6:53 
GeneralXP Style Pin
topcatalpha30-Jan-08 3:04
topcatalpha30-Jan-08 3:04 
GeneralRe: XP Style Pin
topcatalpha30-Jan-08 4:23
topcatalpha30-Jan-08 4:23 
QuestionConstructing an wizard aplication... Pin
pcaeiro30-Jan-08 2:55
pcaeiro30-Jan-08 2:55 
GeneralRe: Constructing an wizard aplication... Pin
Bekjong30-Jan-08 3:35
Bekjong30-Jan-08 3:35 
GeneralRe: Constructing an wizard aplication... Pin
pcaeiro30-Jan-08 16:49
pcaeiro30-Jan-08 16:49 
GeneralRe: Constructing an wizard aplication... Pin
Bekjong30-Jan-08 23:50
Bekjong30-Jan-08 23:50 
GeneralExcel Cell character limitation Pin
michael_jhons30-Jan-08 2:29
michael_jhons30-Jan-08 2:29 
GeneralRe: Excel Cell character limitation Pin
eggsovereasy30-Jan-08 3:36
eggsovereasy30-Jan-08 3:36 
GeneralRe: Excel Cell character limitation Pin
michael_jhons30-Jan-08 3:46
michael_jhons30-Jan-08 3:46 
GeneralRe: Excel Cell character limitation Pin
eggsovereasy30-Jan-08 9:14
eggsovereasy30-Jan-08 9:14 
GeneralListViewItem.SubItems Problem Pin
half-life30-Jan-08 0:03
half-life30-Jan-08 0:03 
GeneralRe: ListViewItem.SubItems Problem Pin
Gareth H30-Jan-08 0:10
Gareth H30-Jan-08 0:10 
GeneralRe: ListViewItem.SubItems Problem Pin
half-life30-Jan-08 0:54
half-life30-Jan-08 0:54 
GeneralRe: ListViewItem.SubItems Problem Pin
J$30-Jan-08 5:48
J$30-Jan-08 5:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.