The best way I find to do this is to add a separate mobile site (e.g. m.domain.com), and have mobile browsers redirect to this.
You should try reading
Mobile Support in ASP.NET[
^]
Other than that, for adding a separate mobile site,
this guide[
^] seems to explain it very well.
--Amit