Showing posts with label files. Show all posts
Showing posts with label files. Show all posts

Wednesday, March 28, 2012

sub-web.config

ok, i have a web.config in my main solution directory and i have a web.config in a subdirectory. the only other files in the subdirectory are web user controls, but i would like the web.config in there to be used, as well as the web.config in the main solution directory.

is this possible? I'm not calling any aspx files from the subdir, just using the web user controls from there in other aspx's.

matt.

I don't know, I would think not, because the user controls would be a control in the pages control tree, and such, would probably use the main web.config. Only pages I believe would use a sub web.config.

Just try it out to see if it works.

Personally I think that user controls are merged with your page and so the user controls runs in the web.config of that folder where the webform resides. Of course, I could be wrong on that one because I didn't test it.

Grz, Kris.


http://weblogs.asp.net/pwilson/archive/2003/04/09/5261.aspx

I see that it can be done. But I can't get it to work - my .NET just doesn't appear to read the subconfig file. My code looks just like in the page linked above!


The link you provided explains how to put configuration data in an external config file (YourSettings.config) and link to that file from the web.config. It has nothing to do with your original question.

Grz, Kris.


yes it does; it's one potential solution...

"i would like the web.config in there to be used, as well as the web.config in the main solution directory"

if it can be made to work.

i'm not going to *** semantics here - what i'm looking for, now, is how to get this apparently wonderful appSettings attribute to work.

Monday, March 26, 2012

suggest multi-file upload components?

I'm looking for some options for implementing a file uploading tool. The
'catch' is that it's been requested that we accomodate files from 2 to 100mb
in size, and, ideally, the ability to upload up to 20 files at a time.

I've been looking around a bit and it seems as if element-it.com's products
will work:

http://www.element-it.com/
They appear to have a file upload script that gets around some of the large
file issues that the default asp.net file upload classes have in addition to
a nice Flash-based component that allows one to browser to multiple files at
once.

Has anyone used this product? comments? Suggestions for other components to
look at?

-DarrelOn Wed, 27 Dec 2006 14:44:47 -0600, darrel wrote:

Quote:

Originally Posted by

I'm looking for some options for implementing a file uploading tool. The
'catch' is that it's been requested that we accomodate files from 2 to 100mb
in size, and, ideally, the ability to upload up to 20 files at a time.
>
I've been looking around a bit and it seems as if element-it.com's products
will work:
>
http://www.element-it.com/
>
They appear to have a file upload script that gets around some of the large
file issues that the default asp.net file upload classes have in addition to
a nice Flash-based component that allows one to browser to multiple files at
once.
>
Has anyone used this product? comments? Suggestions for other components to
look at?
>
-Darrel


If you're uploading such large files, have you considered using FTP rather
than HTTP uploads?

--
Bits.Bytes
http://bytes.thinkersroom.com
If you're uploading such large files, have you considered using FTP rather

Quote:

Originally Posted by

than HTTP uploads?


That's what they have now. It's a printer that accepts files via FTP.

However, they want to have a 'web based interface' for ease of use with
their customers

-Darrel
Hi,
If you want a ready component then Jupload is very good for your
requirement.

Thanks,
Nis
darrel wrote:

Quote:

Originally Posted by

Quote:

Originally Posted by

If you're uploading such large files, have you considered using FTP rather
than HTTP uploads?


>
That's what they have now. It's a printer that accepts files via FTP.
>
However, they want to have a 'web based interface' for ease of use with
their customers
>
-Darrel


Hi Darrel,
I suggest you http://www.jupload.biz/
Thanks,
Nis
darrel wrote:

Quote:

Originally Posted by

Quote:

Originally Posted by

Hi,
If you want a ready component then Jupload is very good for your
requirement.


>
It appears that there are multiple products using that name. Which one do
you recommend?
>
http://www.aspupload.com/jupload.html
http://sourceforge.net/projects/jupload/
http://www.jupload.biz/
others?
>
-Darrel


Hi,

Quote:

Originally Posted by

If you want a ready component then Jupload is very good for your
requirement.


It appears that there are multiple products using that name. Which one do
you recommend?

http://www.aspupload.com/jupload.html
http://sourceforge.net/projects/jupload/
http://www.jupload.biz/
others?

-Darrel

Suggestions and Help needed for Video report

Hi,

I need to create a web report that contains data and multiple video avi files. The report should able be exported to other formats , e.g. PDF, web archive.

I am thinking to provide a link to the video file, so when the user clicks on the link, the video is played in a pop up IE window which embeds a media player to play the video. And the link points to a Generic Handler file .ashx.
Else I may need to embed many media players in the HTML to play each avi files.

I need to export this report with all data and videos file. How can this be done with asp.net ReportViewer and SSRS ? Is it possible to intercept the export event and copy the video avi files before export ?
Any suggestions and ideas ?

Thanks in advance

Hello,

You can use gridview to show your reports and just use links for you to download avi files.

However, if you still want to use reportview control, here it is:

ReportViewer Sample ASP.NET Server Control

Binding Data to the ReportViewer Control Dynamically in ASP.NET 2.0

Tuesday, March 13, 2012

swf files?

How do I add swf files to my aspx page? A master page to be more precise.

There's no reason why you shouldn't just use the <object> and <embed> html syntax like you would in any other html-emitting language...

there's also controls like this (http://www.codeproject.com/aspnet/AspNetFlashMovieControl.asp) that may or not make it easier to do so


You do it the same way you would do it with a standard HTML file.