Yes I did reevaluate my options. What you said did
come to my mine too. I just wanted to know whether
there was a viable solution, but I guess not.

Thanks.

--- Mark E <[EMAIL PROTECTED]> wrote:

> One option would be to disable viewstate.  However,
> doing so disables all DG events, as it relies on
> viewstate.
>  
> If that option is not practical, you could evaluate
> your needs.  Do you need all 11 columns?  Can it be
> reduced to less?  If you open a new window to edit
> the record, consider showing only partial records in
> your DG and make the user open a new window to see
> the full details.
>  
> Mark
> 
> Anna Leon <[EMAIL PROTECTED]> wrote:
> But I keep getting "viewstate is invalid or corrupt"
> error when I page through other pages. Again, this
> only happens when I have 11 bound columns and
> there's
> hundreds of pages from the search. How can I fix the
> viewstate problem? I noticed that the least number
> of
> columns I have in the DG, I won't have that
> viewstate
> error. Someone told me that because I have a lot of
> data, the viewstate can't hold it all; therefore,
> the
> error. To counter that, I would need to assign the
> dataset to a session variable.
> 
> In addition, I have a hyperlink column in the DG
> where
> if you click on 1 of the rows, the editing portion
> of
> that row is opened in a new window (page) in a
> form-like manner. In the second page, I have a link
> button "Return to List," which takes me back to the
> first page, but my DG with the returned rows from
> the
> search is gone. I see a refreshed page instead.
> HOw can I maintain the results (datagrid) when I
> click
> return from the second?
> 
> Thanks!
> --- Mark E <[EMAIL PROTECTED]> wrote:
> 
> > Don't store any of the values.  Just enable paging
> > in your DG so that you only show the limited
> number
> > of records per page.
> >  
> > 
> > <asp:Datagird AllowPaging="true" PageSize="25"
> > ID="DG1" />
> >  
> > This would show 25 records per "page".  And the DG
> > auto creates the numbers at the bottom to allow
> for
> > paging.
> >  
> > Mark
> > 
> > sas0riza <[EMAIL PROTECTED]> wrote:
> > 
> > Hi,
> > 
> > I'm using a search form to retrieve data to be
> > displayed in a 
> > datagrid. However I realized that because my
> > datagrid is rather big 
> > (wide, with like 11 columns), and whenever I page
> to
> > another page in 
> > the DG, I would get a viewstate corrupt/invalid
> > error. And if I cut 
> > down the # of columns being returned in the DG, I
> > would have no 
> > trouble paging through.
> > 
> > How can I store a dataset in a session variable
> > instead of viewstate 
> > so I page through the datagrid?
> > 
> > Thanks!!
> > 
> > 
> > 
> > 
> > Yahoo! Groups Sponsor 
> > Get unlimited calls to
> > 
> > U.S./Canada
> > 
> > 
> > ---------------------------------
> > Yahoo! Groups Links
> > 
> >    To visit your group on the web, go to:
> >
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
> >   
> >    To unsubscribe from this group, send an email
> to:
> > [EMAIL PROTECTED]
> >   
> >    Your use of Yahoo! Groups is subject to the
> > Yahoo! Terms of Service. 
> > 
> > 
> > 
> > [Non-text portions of this message have been
> > removed]
> > 
> > 
> 
> 
> 
>             
> __________________________________ 
> Do you Yahoo!? 
> Check out the new Yahoo! Front Page. 
> www.yahoo.com 
> 
> 
> 
> Yahoo! Groups SponsorADVERTISEMENT
> 
> 
> ---------------------------------
> Yahoo! Groups Links
> 
>    To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
>   
>    To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>   
>    Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of Service. 
> 
> 
> 
> [Non-text portions of this message have been
> removed]
> 
> 



                
__________________________________ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to