[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.mobile

Problems with datagrid/viewstate on pocket explorer

Kvitepus

11/10/2004 3:33:00 PM

I have a problem with an application which is used by pocket explorer on a
mobile device. The problem is described in article 320708, "PRB: Cannot edit
data in grid from Windows CE-based device" on your support site.

To solve this problem I have to save and load viewstate manually when
accessing pages where this problem occur. I have managed to do this, but the
files I save need to be deleted after use and that is not easy.

I manage to delete these files if the user pushes a "logout"-button, but if
he just ends his session without pushing this logout-button these files
remain there.
I have tried to delete these files when the Session_on_end event raises, but
nothing happens....

Are there any other way I can do this ??
Will the known error in article 320708 be corrected in later versions ???

Thanks in advance
Kvitepus

1 Answer

jamesche

11/10/2004 6:10:00 PM

0

Hi Kvitepus,

I''m not on the Pocket IE team so I can''t say for sure, but I suspect that
they will not be dramatically increasing the allowed size of the form data
they will allow. A Pocket PC is a resource-challenged device in many
respects.

Have you tried just overriding SavePageStateToPersistenceMedium and
LoadPageStateFromPersistenceMedium and saving your Viewstate to Session?

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
ASP.NET Developer Support
jamesche@online.microsoft.com

This post is provided "AS-IS" with no warranties and confers no rights.


--------------------
| Thread-Topic: Problems with datagrid/viewstate on pocket explorer
| thread-index: AcTHOpFcrB/Qz6DVTRaCj7v0zVOWMQ==
| X-WBNR-Posting-Host: 193.214.115.196
| From: "=?Utf-8?B?S3ZpdGVwdXM=?=" <Kvitepus@discussions.microsoft.com>
| Subject: Problems with datagrid/viewstate on pocket explorer
| Date: Wed, 10 Nov 2004 07:33:03 -0800
| Lines: 20
| Message-ID: <092AAC34-7AAD-41D1-9F5B-788C6DDEB091@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet.mobile
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.aspnet.mobile:7879
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.mobile
|
| I have a problem with an application which is used by pocket explorer on
a
| mobile device. The problem is described in article 320708, "PRB: Cannot
edit
| data in grid from Windows CE-based device" on your support site.
|
| To solve this problem I have to save and load viewstate manually when
| accessing pages where this problem occur. I have managed to do this, but
the
| files I save need to be deleted after use and that is not easy.
|
| I manage to delete these files if the user pushes a "logout"-button, but
if
| he just ends his session without pushing this logout-button these files
| remain there.
| I have tried to delete these files when the Session_on_end event raises,
but
| nothing happens....
|
| Are there any other way I can do this ??
| Will the known error in article 320708 be corrected in later versions ???
|
| Thanks in advance
| Kvitepus
|
|