M
Makarand
Hi Friends
I have collection class implementing from IList.
Problem I am facing is I am not able to put this object in
ViewState(though it is going in Session). When I try to do
this it gives error like -- "The
type 'IListStuff.PersonCollection' must be marked as
Serializable or have a TypeConverter other than
ReferenceConverter to be put in viewstate"
So I made my class serializable as shown below,
namespace IListStuff
{
[Serializable]
public class GenericDOCollection : IList
........
}
But it is still giving me same error, I don't know about
the second part of error message i.e. TypeConvertor.
Can anybody help me in solving this problem.
Thanks
Regards
Makarand
I have collection class implementing from IList.
Problem I am facing is I am not able to put this object in
ViewState(though it is going in Session). When I try to do
this it gives error like -- "The
type 'IListStuff.PersonCollection' must be marked as
Serializable or have a TypeConverter other than
ReferenceConverter to be put in viewstate"
So I made my class serializable as shown below,
namespace IListStuff
{
[Serializable]
public class GenericDOCollection : IList
........
}
But it is still giving me same error, I don't know about
the second part of error message i.e. TypeConvertor.
Can anybody help me in solving this problem.
Thanks
Regards
Makarand