Click here to Skip to main content
15,899,634 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
problem in application when i open in mobile browsing.. problem is i am binding the text from database to label which is in a repeater. when it is binding the text to label if the text content is heavy means i mean (jhgkghjghkjgjgkgjkhkhj) like this continuous word means it is moving the screen to left. is there any solution to fix the length of the label that mean only 25 characters after that it should come down is it possible...
Posted

Fixing length is not a solution. You should develop the application in order to work with both(mobile as well as desktop). You can point your client from the main webapp to the mobile one via a link on the browser based site or you can use code (see below) to determine if it is a mobile device. Please see the links below:
Mobile Support in ASP.NET[^]
ASP.NET Mobile Web Pages [^]
ASP.Net : Mobile Applications[^]


--Amit
 
Share this answer
 
Comments
ntitish 20-Jun-13 5:39am    
but i am having two applications separately to web and mobile.....
you can use bellow function if you want to manage from Database in select

SUBSTRING('columnName', 0 , 25) ---modify column name
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900