How write web page for smartphones, iPhone, etc?

How write web page for smartphones, iPhone, etc?

am 19.01.2008 04:49:26 von rcook

I'm assuming this is easy but have not yet tried...

I want my ASP.NET web app to detect if the client is a normal computer. If
so, it would direct the user to a given aspx page. If, however, the client
is a handheld device, it would go to a different page just for that size.

What is that size anyway.. something like 320x240? Would I just have a
table that size in the top left of a page or something?

Thanks for any help,
Ron

Re: How write web page for smartphones, iPhone, etc?

am 19.01.2008 09:12:35 von Harshal P

Request.Browser might help you to detect who is requesting the page.

Thanks,
Harshal

"Ronald S. Cook" wrote in message
news:D107F151-1FD5-4111-B14C-7D2EEA1D5A53@microsoft.com...
> I'm assuming this is easy but have not yet tried...
>
> I want my ASP.NET web app to detect if the client is a normal computer.
> If so, it would direct the user to a given aspx page. If, however, the
> client is a handheld device, it would go to a different page just for that
> size.
>
> What is that size anyway.. something like 320x240? Would I just have a
> table that size in the top left of a page or something?
>
> Thanks for any help,
> Ron