In my asp.net web application, one of my page, I am storing a list of objects(List<AgentDetails>
) to ViewState. After that when I try to get it back as (List<AgentDetails>)ViewState["ViewStateAgentDetails"]
, i gets an error like
The type 'foo.Info.AgentDetails' exists in both 'foo.dll' and 'foo.dll'
I can't understand what is happening here. I got stuck with this issue. Could anybody help me out of this? Thanks in advance.