Groups | Blog | Home
all groups > asp.net mobile > may 2004 >

asp.net mobile : DataGrid Not Visible when the file been uploaded in the Internet


Solomon Raja via .NET 247
5/1/2004 4:54:16 AM
Hi
After unloading my files,and try to execute the file in the browser, i was able to view my page but the datagrid control in corresponding page was not displayed in the screen. Can anyone solve this for me

From
Solomon

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

Jean-Luc David [MS-MVP]
5/1/2004 2:06:46 PM
Hi Solomon,

There may be several reasons why it might not be showing up:

a) You haven't properly bound your data to the control. Use
the DataBind() method. Here is a link to the ASP.NET
Quickstart on Data Binding Server Controls:
http://samples.gotdotnet.com/quickstart/aspplus/doc/webdatabinding.aspx

b) The DataGrid control is not supported under MMIT.
Therefore, it may not render correctly on certain mobile
browsers because HTML tables are used. As an alternative,
try using the ObjectList control.

c) Your page output may be too large for the targeted device. Try
disabling the page viewstate by adding this directive at the top of
your page:

<%@ Page EnableViewState="false" %>

I hope this information is helpful.

Thanks,
Jean-Luc David
Microsoft .NET MVP
dotnetmvp@hotmail.com
http://www.stormpixel.com
http://www.mobilecoder.net

----- Original Message -----

From: "Solomon Raja via .NET 247" <anonymous@dotnet247.com>
Newsgroups: microsoft.public.dotnet.framework.aspnet.mobile
Sent: Saturday, May 01, 2004 4:54 AM
Subject: DataGrid Not Visible when the file been uploaded in the Internet

[quoted text, click to view]

AddThis Social Bookmark Button