Not sure if this is the reason why, but at a quick glance
it looks like all your content is images and all jpegs. If
this is the case it might just be that the phone you are
testing on is unable to display jpegs and hence no content
and no errors.
The best way I can think to move forward is to put some
text up as well and see if that comes through okay and
also to view the content on a phone emulator where you can
see the source code that is being sent to your phone -
openwave and winwap for example.
Hope this is of some help.
[quoted text, click to view] >-----Original Message-----
>My ASPX page works on my desktop computer, but when i run
>it on a device, a blank page loads with no error
messages.
>Is there something i need to change to get it to work for
>the .net compact framework that is different on the
>regular .net framework? here is the code:
>
><%@ Import Namespace="System.IO" %>
><script language="vb" runat="server">
>
> Sub Page_Load(sender as Object, e as EventArgs)
> Const IMAGE_DIRECTORY as String = "/img/"
> Const THUMBS_DIRECTORY as String = "/pre/"
>
> Dim pics as ArrayList = new ArrayList()
> Dim s as String, html as String
>
> For Each s in Directory.GetFiles(Server.MapPath
>(THUMBS_DIRECTORY), "*.jpg")
> html = "<a href=""" & IMAGE_DIRECTORY &
>Path.GetFileName(s) & """>" & _
> "<img src=""" & THUMBS_DIRECTORY &
>Path.GetFileName(s) & """>" & "</a>"
> pics.Add(html)
> Next
>
> dlPictures.DataSource = pics
> dlPictures.DataBind()
> End Sub
>
></script>
>
><html>
><body>
>
> <asp:DataList runat="server" id="dlPictures"
>RepeatColumns="3"
> Width="600" CellPadding="5" ItemStyle-
>HorizontalAlign="Center">
> <ItemTemplate>
> <%# Container.DataItem %>
> </ItemTemplate>
> </asp:DataList>
>.