Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Problem with DataGrid persistence

Reply
Thread Tools

Problem with DataGrid persistence

 
 
Eric Dugal
Guest
Posts: n/a
 
      10-25-2004
Hi!!

I'm building a component that operate on on a datagrid.

My variable declaration :

private DataGrid m_DataGrid;


My DataGrid Properties look like this :

[Browsable(true)]
[Category("DataBind"),
Description("Get/Set the DataGrid control that the pager should bind
to.")
]
public DataGrid DataGrid
{
get{return m_DataGrid;}
set{m_DataGrid = value;}
}


The problem is when i tried to put the m_DataGrid in ViewState, it
doesn't work. I receive the following error message :

The type 'PowerToolbox.WebGrid' must be marked as Serializable or have
a TypeConverter other than ReferenceConverter to be put in viewstate.


any idea???

Thanks,
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Persistence API and persistence.xml Kenneth P. Turvey Java 2 03-16-2008 12:08 AM
Persistence DataGrid Andrus ASP .Net Datagrid Control 1 11-26-2006 08:42 AM
Confusion regarding nested datagrid - classic problem of persistence strangeboy ASP .Net Datagrid Control 2 03-08-2006 03:10 AM
EJB persistence versus Database persistence? javaguy44 Java 10 05-18-2004 07:08 PM
Paging DataGrid Checkbox Persistence iforsyth ASP .Net 1 01-09-2004 10:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57