HighTechTalks DotNet Forums  

datagrid in mobile page?

ASP.net Mobile microsoft.public.dotnet.framework.aspnet.mobile


Discuss datagrid in mobile page? in the ASP.net Mobile forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
dave
 
Posts: n/a

Default datagrid in mobile page? - 01-27-2005 , 05:05 PM






Is it possible to use an asp:datagrid in a mobile asp.net page?

I currently get "File or assembly name System.Web.Controls, or one of its
dependencies, was not found"

When i put the following at the top of the mobile page
<%@ Register TagPrefix="asp" Assembly="System.Web.Controls" %>

Any help would be appreciated.
thx

Reply With Quote
  #2  
Old   
Tim Howard
 
Posts: n/a

Default Re: datagrid in mobile page? - 01-28-2005 , 04:47 AM






We cheated. We managed to do it by having our login page as a mobile web
controls page (mobile web project) which then called a standard asp.net page
with standard controls... we also made our session cookieless (whilst still
calling our cookie in code) which also seemed to help. We needed this just
to get Pocket ie to work under GPRS (we were getting incomplete pages coming
through and the javascript was being chopped - no matter where on the page
it was). It was weird in that if you refresh the page the code would then
all be present and correct.

The code had previously worked while our Pocket PC was in its cradle on
Pocket ie, and in another browser NetFront (even under GPRS). We never
actually worked out why... go figure???? (possibly a WAP/GPRS gateway
issue - but that doesn't explain why NetFront worked). That's Pocket ie for
you I guess. It took us about four days to get this solution to a simple and
annoying problem.

Regards
Tim

"dave" <dave (AT) discussions (DOT) microsoft.com> wrote

Quote:
Is it possible to use an asp:datagrid in a mobile asp.net page?

I currently get "File or assembly name System.Web.Controls, or one of its
dependencies, was not found"

When i put the following at the top of the mobile page
%@ Register TagPrefix="asp" Assembly="System.Web.Controls" %

Any help would be appreciated.
thx



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.