asp.net网站手机支持 [英] asp.net site mobile phone support

查看:167
本文介绍了asp.net网站手机支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要让我的网站工作做好的黑莓,我还没有把太多的精力投入到得到这个工作还没有,但我有谷歌正与挣扎了几个问题。

I need to make my site work well on a blackberry, i haven't put too much effort into getting this working yet, but i have a few questions which google is struggling with.

我读过有关检测布劳尔型和修改asp.net控制的这里

I've read about detecting brower type and modifying the default behaviour of asp.net controls here

我怎么会去提供一个歧样式表特定的浏览器,我应该只是做到这一点?

How would I go about supplying a differant stylesheet to a specific browser, should i just do this?

if (Request.Browser.Browser.ToString() == "blackberry") //pseudocode
{
    Response.Write("bb.css");
}
else
{
    Response.Write("bb.css");
}

这将正常工作,但我觉得有一个更好的方法,我敢肯定,我已经知道了,在过去的东西,但我似乎无法召回。

This will work fine, but i feel like there is a better method, i'm sure i've read about something in the past but i can't seem to recall.

我也在考虑的Response.Redirect到歧页的黑莓,这在目前,我会以同样的方式implemenet。

I'm also considering a response.redirect to a differant page for a blackberry, which at the moment i would implemenet in a similar way.

任何想法或建议。

推荐答案

检查了这一点。

HTTP://mdbf.$c$cplex.com/

此外nerddinner.com在 HTTP://nerddinner.$c$cplex.com/

Also nerddinner.com at http://nerddinner.codeplex.com/

这篇关于asp.net网站手机支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆