473,503 Members | 12,136 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"FileUpload" and Mobile

I see that the "FileUpload" web control is not compatible with the
"MobilePage" model - and I guess I understand why. But many mobile phones
*do* support <input type="file" />. Is there a control that renders this and
does the job? If not, I'm a little lost about how I do this in ASP.NET.

Alex
Jun 25 '07 #1
3 2424
Hi Alex,

As I've mentioned in the another thread(Literal control ...), ASP.NET
Mobile's built-in control collection doesn't contains much powerful
controls(like the standard asp.net controls) since it may not target
different kinds of smart devices. However, you can define custom device
template for those certain devices (for example, for the ones that support
HTML ). And you can use standard HTML or ASP.NET server controls in
specific template:

#ASP.NET 2.0 Mobile Controls - Device Specific Rendering
http://blogs.msdn.com/gurbir/archive...ngh-Sethi.aspx

#Device-Specific Content
http://dotnetjunkies.com/MobileQuick...ascbz)/doc/Dev
iceSpecific.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
Jun 26 '07 #2
Steven -

Thanks for this. I get it. ALSO: Over the past 2 years or so, I have come to
know ahead of time, based on who answers my questions, whther the answer will
be helpful or not. With you, if I see "Steven Cheng" in the response, I'm
pretty much sure it will be helpful Thanks always.

Alex
"Steven Cheng[MSFT]" wrote:
Hi Alex,

As I've mentioned in the another thread(Literal control ...), ASP.NET
Mobile's built-in control collection doesn't contains much powerful
controls(like the standard asp.net controls) since it may not target
different kinds of smart devices. However, you can define custom device
template for those certain devices (for example, for the ones that support
HTML ). And you can use standard HTML or ASP.NET server controls in
specific template:

#ASP.NET 2.0 Mobile Controls - Device Specific Rendering
http://blogs.msdn.com/gurbir/archive...ngh-Sethi.aspx

#Device-Specific Content
http://dotnetjunkies.com/MobileQuick...ascbz)/doc/Dev
iceSpecific.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
Jun 26 '07 #3
Thank you Alex,

I'm always glad to be helpful and really appreciate your sincere feedback.
Also, as you often posts many posts in the newsgroups and work with some
other engineers, we really appreciate your support to us and welcome to
hear more feedback from you. Not only on technical but also on service.

Thanks again for choosing Microsoft!

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 27 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1290
by: Jo | last post by:
Hi all, I've created a FileUpload in the footer of a Gridview. The only thing I want to do with this, is to pick a file with the Browse-button or to fill in a filename myself (without the...
0
1556
by: =?Utf-8?B?TGVvbkc=?= | last post by:
I'm trying to upload a file using an asp:FileUpload control and an asp:LinkButton. This works fine, while there is an actual filepath in the fileupload upload control. Even an empty field works....
1
1569
by: Oren | last post by:
Hi, Im working with asp.net visual web developer 2005. Im writing an asp .net application on windows XP enviroment. Im using .net FileUpload control to get the path from the user. If the path is...
3
10372
by: Gert | last post by:
Would it be possible to access the file CONTENT in codebehind for a standard: <input id="htmlFile" type="file" /> Then in codebehind: foreach (string keyName in...
1
2478
by: =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post by:
Hi. I have Mobile site that I'm building. My problem is that all of my pages are built as Mobile ASPX pages, but occasionally, I need to use controls which are not mobile. Most specifically, the...
2
1465
by: =?Utf-8?B?cGVsZWdrMQ==?= | last post by:
i am trying to load diffrent types of pictures like jpg/png/.... the file is being uploaded but i cant after it see the file (i try to open it and get the message that "preview cant be viewed" ...
1
3492
by: Rishi Boparai | last post by:
Hi, in Visual Studios there's this tool called PictureBox rite...but in Visual Web developer i can't seem to find it.. i'm using Visual Web Developer...VB language..to make a watermarking...
2
1501
by: shahalashamo | last post by:
in order to upload image to database,i put a fileUpload control in the InsertItemTemplate of the formView,the code as follows: <asp:FileUpload ID="FileUploadKeyImage"...
6
4887
by: =?Utf-8?B?U2NvdHQgVHJpY2s=?= | last post by:
I followed the instructions from MSDN for Webclient UploadFile and I get an error: Could not find file 'C:\testfile.xls'. If I add the file (c:\testfile.xls) to the server I do not get the error...
0
7296
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5604
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4696
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3186
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1524
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
405
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.