I need my site to work well on blackberries, I haven’t put too much effort into getting this work yet, but I have a few issues google is struggling with.
I read about detecting browser type and changing default behavior for asp.net controls here
What can I do with a different stylesheet in a specific browser, should I just do this?
if (Request.Browser.Browser.ToString() == "blackberry")
{
Response.Write("bb.css");
}
else
{
Response.Write("bb.css");
}
This will work well, but I feel that there is a better method, I'm sure I read something in the past, but I can’t remember.
I also look at response.redirect on another page for a blackberry, which I would currently perform in a similar fashion.
Any thoughts or suggestions.
source