1. Is there any way to refer the External .css file in the Mobile Web Form? I have tried it out using Device Specific Control but the tag from the external style sheet is not recognizing. It is showing me error. Below is the sample code.
2. If the only way to include the style sheet is by using Mobile style sheet then is there any way to include "LabelStyle-Alignment" as a part of element in Mobile Style Sheet?.
I get error if i do so. In that case i cannot use the element in the mobile style sheet. Am using it in the ObjectList control itself. Is there any way to accomplish this?.
Below is sample code for referning my stylesheet.ascx file in my main page..
You can develop general ASP.NET Web application which works absolutely fine in all Mobile browsers[HTML Compatible].
Mobile specific tags in ASP.NET are designed for WAP enabled devcies. Now a days all mobile devices are HTML capable, so general ASP.NET web application works absolutely fine.
If you develop a general Web application in asp,net, you external .css file issue will be solved and works absolutely fine.
Check the following links for more information on developing Mobile web applications in ASP.NET
I learnt in some article that using the datagrid in the mobile form will create problem with the View state. Also similar proble arises if we are going to use the nomal webpage in our moile website as we are going to use more data transfer between the server
and the application. So i thought of using the Mobile web for conrols so that there will be no problem with the view state.
Also from your post i was totally confused that do we need to have Mobile web form controls or normal asp.net controls? Iam working for 15 days using the Mobile web form controls to design the mobile web application.
surenyfs
Member
10 Points
11 Posts
External .CSS in Mobile Web Form
Jul 20, 2011 06:27 AM|LINK
Hi,
I am developing a mobile Web Application.
1. Is there any way to refer the External .css file in the Mobile Web Form? I have tried it out using Device Specific Control but the tag from the external style sheet is not recognizing. It is showing me error. Below is the sample code.
Surendar S
roopeshreddy
All-Star
20155 Points
3328 Posts
Re: External .CSS in Mobile Web Form
Jul 20, 2011 10:18 AM|LINK
Hi,
You can develop general ASP.NET Web application which works absolutely fine in all Mobile browsers[HTML Compatible].
Mobile specific tags in ASP.NET are designed for WAP enabled devcies. Now a days all mobile devices are HTML capable, so general ASP.NET web application works absolutely fine.
If you develop a general Web application in asp,net, you external .css file issue will be solved and works absolutely fine.
Check the following links for more information on developing Mobile web applications in ASP.NET
http://roopeshreddy.wordpress.com/2010/07/25/mobile-development-in-asp-net/
http://www.asp.net/learn/whitepapers/add-mobile-pages-to-your-aspnet-web-forms-mvc-application
Hope it helps u...
Roopesh Reddy C
Roopesh's Space
surenyfs
Member
10 Points
11 Posts
Re: External .CSS in Mobile Web Form
Jul 21, 2011 05:58 AM|LINK
Hi,
I learnt in some article that using the datagrid in the mobile form will create problem with the View state. Also similar proble arises if we are going to use the nomal webpage in our moile website as we are going to use more data transfer between the server and the application. So i thought of using the Mobile web for conrols so that there will be no problem with the view state.
Also from your post i was totally confused that do we need to have Mobile web form controls or normal asp.net controls? Iam working for 15 days using the Mobile web form controls to design the mobile web application.
Surendar S
roopeshreddy
All-Star
20155 Points
3328 Posts
Re: External .CSS in Mobile Web Form
Jul 22, 2011 03:37 PM|LINK
Hi,
Mobile Web Controls are designed for WAP enabled devices. Now a days all mobile browsers are capable of rendering HTML.
So general ASP.NET website works absolutely fine in all Mobile device browsers. Add the following META tags for making the website mobile compatible.
Hope it helps u...
Roopesh Reddy C
Roopesh's Space