.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to add favicon to a mobile page.

Posted By:      Posted Date: August 27, 2010    Points: 0   Category :ASP.Net

Hi All,

I want to know how to add favicon to a mobile page. I have created a sample web application(.net 2.0 ,c#) . I have added this code  <link rel="shortcut icon" type="image/gif" href="http://find.mobi/favicon.gif" />  in head tag. This is working fine, if I inherit my class from "System.Web.UI.Page".

but not working, if I inherit from System.Web.UI.MobileControls.MobilePage .Can any one tell suggest any reason or solution for this ? 

I need server side code to implement this .

View Complete Post

More Related Resource Links

Redirect to a mobile page

Hi please can anyone help? I have a simple website with a home page called defaut.aspx, also I have a page with in this site called mobile.aspx. My question is, bearing in mind that I posses very little knowledge of VB, what code do I need to place in the default.aspx to detect what kind of device someone is using and redirect them to the mobile page (mobile.aspx)? This needs to be quite up-to-date preferably for blackberry and nokia devices?


Cannot set custom attributes on mobile controls in this page



I am beginner at mobile Pages with ASP.NET. And i want to make an application with contains  a few TextBox that have different size.

it's my sample code here:

<%@Page Inherits= "System.Web.UI.MobileControls.MobilePage" Language= "C# " %>
<%@ Register TagPrefix= "Mobile" Namespace= "System.Web.UI.MobileControls " Assembly= "System.Web.Mobile" %>
<Mobile:Form runat="server" id="form1" Paginate="true" >
<Mobile:Panel Paginate="True" runat=&

SharePoint 2010 Mobile Page Filter Settings

hello, i want to know from where i can edit the mobile page "task" list filter settings ? thanks

Edit filter settings in a mobile page

hello, how can i edit list filters using schema.xml in SP 2010 on a mobile page ?  thanks

Edit List Title on a Mobile Page

hello, i want to know if i can edit the title which the item is displayed on a mobile page e.g "New Task for Job No 2", can i edit the way its displayed? e.g can i add to it the start/end date also ? e.g "New Task for Job No 2 StartDate:current EndDate:current". thanks

Edit item title in a list on a mobile page

hello, can i edit an item title for a list on a mobile page in MOSS 2010 ? e.g i want my list items to appear as "New task StartDate:current EndDate:current" that includes three things the list title,startdate and enddate for the item. thanks

Windows Mobile & Web page layout not taking effect.



Im a little aggravated at this issue because it should be a non issue.

I have a very simple application that fully works on a windows mobile platform for scanning barcodes. The application has a simple table with 2 columns. Column 1 contains labels and column 2 contains textboxes.

However once this page is viewed on the scanner all styling is removed including the table layout I want.

Its as if windows mobile IE ignores all styling or can't interpret it.

Any ideas?

Thanks in advance,


Open .swf file thru web page on Window Mobile CE



I need to open the .swf file thru web page on platform window CE.

I got a .swf file which is saving in window CE mobile device on path: \My Documents\flash\ParallelParking.swf.

So when user browse the web page thru the mobile device, I need to open up the .swf file which is save in the particular path on the mobile device.

I try to using Process() to open the file but hits an RunTime Error:

"An Application error occurred on server. The current custom error setting for this app prevents the details of the app. error from being viewed remotely."

Please advise. Thanks.

Public Partial Class HomePage
    Inherits System.Web.UI.Page
    Protected Sub ImageButton5_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles I

Filter Issue In Mobile Page



im trying to use filter in a Task list in SP 2010 on a mobile page, the problem is that whenever i press filter for a specific view it doesnt show assigned to field ive tried selecting the assigned to field but no luck, for the All task default view it only shows title nothing else... what could be the problem ? thanks

Mobile page refuse some workflows to go ahead that published by Sarepoint designer 2010


The workflow refuse  to go ahead after operation when browsing the mobile page (...?mobile=1), but same workflow  by SPD (Collect data from user) is nunning well on the non mobile page (ASPX).

In mobile page, no "complete task" button. Only a "save" button.

Using it's "save" button, some modified can be saved in the page, but it's workflow not go ahead.

I tested "assign for approval" workflow by SPD on mobile page, same.

if you try "assign for feedbak" by SPD on mobilepage, it's oK. The workflow can go to it's end. Funny.

My wish:  The "Collect data from user" designed by SPD can go ahead when using the mobile page (...?mobile=1). My boss like to do it by mobile phone.

My environment:

Sharepoint server 2010

Sharepoint designer 2010

SQL 2008

Windows Server 2008

if using iPod tests it,  same as above.

mobile web page is displaying with small font in safari on ipod touch and in iphone.


Hi guys,

I had developed mobile web page in asp.net 2.0.

This page is displaying with small font in safari on ipod touch and in iphone.

for this i had copied iphone.browser definition file in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\Browsers

folder and run the command aspnet_regbrowsers.exe -i in command prompt.

Then 2 files with ASP.BrowserCapsFactory.dll and BrowserCapsFactory.cs were created.

But there is  no result

can any one can solve my problem.

it's urgent


chadra sekhar

Changing the graphics on the home page of a SharePoint site

When you create a site in Microsoft Windows SharePoint Services by using the default Team Site template, the home page includes two default graphics. A Windows SharePoint Services graphic appears in the body of the page, and a picture of a house in a circle appears near the site title. You can change these graphics to customize your site. Changing the smaller graphic requires a Windows SharePoint Services compatible Web page editor

Serving Silverlight Apps from Windows Mobile

Even if mobile dev is not my every day work, thanks to the .Net Compact Framework, it's still .Net programming.

Here is the scenario:

You come back home, you have a windows mobile phone wifi capable and you want to quickly get access to your phone pictures from your home network.
You just activate the Wifi, run my app and then browse to the provided link from any computer on the network.

Using jQuery to directly call ASP.NET AJAX page methods

Here I am looking to explain how to call page methods using jQuery. Using jQuery to directly call ASP.NET AJAX page methods

Reduce ASP.NET Page size and complexity using JQuery

This is my first post on asp.net blog. ASP.NET Ajax and JQuery are two different ajax framework. In this post I will show, how we can enhance gridview using ASP.NET Ajax and JQuery. I also compare the implementation of these frameworks. In next posts i will explain more about JQuery and ASP.NET Ajax and also tell you "How to combine the power of both framework". My Future post will related to ASP.NET and related frameworks.


I have 2 web pages. First page has a textbox and a button control.

when I enter test and click on the button , system goes to the second page. And in the second page I want to access the Textbox in the first page. When I try to do this I get the following error.

"Object reference not set to an instance of an object. Following is my code :

Dim txt As New TextBox

' Find the server name on the previous page
txt = CType(Page.PreviousPage.FindControl("TextBox2"), TextBox)
If Not IsNothing(txt) Then
Response.Write("[Name Not available]")
End If

I know I could do this with session, but I want to use the Page.PreviousPage.FindControl. Any help is greatly appreciated

Reading and Writing Images From a Windows Mobile Database using UltraLite 10(C#)

Periodically I get a request for information on how to read and write binary data to a database running on Windows Mobile. If you search the Internet you can typically find examples that are available on Windows Desktops or allow you to read and write to a local file system. The problem is that it can take a bit of work to get this code to work on Windows Mobile accessing a database.

Ultimately you might be asking, why would I want to store and image in a database? Well in an environment where you synchronizing data between a local mobile database and a consolidated (central) database this can be extremely useful. Imagine if an insurance adjuster went to an accident scene, took a picture of a damaged car, loaded it into his Windows Mobile database and then replicated that image up to the Insurance headquarters for approval. All of this could be done in a very short period of time when using images in the database. Another good example might be a doctor who was waiting for a patient chart to become available. If you could store the image in a database this chart could be sent down to the doctor's device once it became available.

For this article I am not going to get into how to synchronize the images to and from a remote and central database as this is typically fairly straightforward when using a data synchronization technologies like MobiLink
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend