473,473 Members | 2,309 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Ref:Problem with FileField control

139 New Member
Hai All,

I am using html filefiled control in my asp.net application.Im browising image and storing in database, upto here its working fine, but while loading the image to filefield from database im not getting any property to bind filefield like filefield1.text="" ....Is there any property like this...?

Thanks,
Aswath.
Dec 11 '07 #1
3 2336
Plater
7,872 Recognized Expert Expert
Microsoft.SharePoint.Filefield?

What about .Value?
or .FileName?


Although I don't know what you think you're going to do on a "bind" back? The filefield is used to upload a file yes? How are you planning on sticking that file back into a field?
Dec 11 '07 #2
bhappy
139 New Member
Hai
Thanks for replay,
It is Html file field. 1st time im inserting one record with image also.and if i want to modify that record, i need to display all the information of record in webform, there im not getting any property to bind image to filefield......
ex:for textbox we have one property textbox1.text="value"

Thanks,
Aswath.
Dec 11 '07 #3
Plater
7,872 Recognized Expert Expert
What is the actual name of the object?
I cannot find any reference to FileField, outside of the SharePoint namespace.

Edit: I found it, FileUpload.
It doesn't look like there is a direct way, possibly with javascript you could though, if you can find the ID the textbox in the control uses.

This MSDN has some examples, but don't think it has how to give a default value
http://msdn2.microsoft.com/en-us/lib...ileupload.aspx
Dec 11 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: ~toki | last post by:
I need to write a value over a field of a structure. ..... public struct ARSubMesh { private Matrix matrix; public void setMatrix ( Matrix mat ) { this.matrix = mat; } } ..... ARSubMesh mesh...
2
by: Grosch | last post by:
I am trying to make use of the following type of code in a ".cs" class. I need to pass the Page.Controls collection into a class located in a ".cs" file (not code behind). I am able to do this...
0
by: Tina | last post by:
I added an untyped dataset to my aspx page and named it dsDisplay (name and datasetname), defined a table and some columns all in the design time properties. The windows generated code has what...
0
by: Mike Hofer | last post by:
Hi everyone. I could really use some help. First, the backstory: ===================== I *really* need a 3-state checkbox for my ASP.NET application. Specifically, I need one that lets me set...
0
by: Mendhak [MVP] | last post by:
Possibly because you've called one variable "waveform" and the other "waveforms"? -Mendhak >-----Original Message----- >I have problems due to array using the by ref values >
0
by: pabloazorin | last post by:
I developed a Date Picker web control using C# and .net framework 1.1 I added my control to Visual Studio 2003 IDE toolbar. When I drag and drop my control to design web page, the control renders...
2
by: Nick | last post by:
I have two navigation user controls and based on a query string will load one or the other. On the page that will load the user control I cannot do the following Dim uc As FlashNavigation (The...
2
by: gellis72 | last post by:
I'm working on a program that imports a bunch of data from a folder full of Excel files and compiles it into an Access DB. The Excel files have a varying number of rows and columns that need to be...
3
by: malaysiauser | last post by:
Dear all, Last year I install a download control script in Linux server. its working. This year i'd changed my hosting server to other company. i'd tried install the script. It was installed...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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
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
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
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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.