Welcome Guest Search | Active Topics | Members

Alex, can MaxTotalFileSize be changed dynamically? Options
jen
Posted: Friday, December 30, 2005 5:58:47 PM
Rank: Member
Groups: Member

Joined: 12/12/2005
Posts: 11
Points: -200
Im trying to change the MaxTotalFileSize attribute dynamically.
How can this be done.

Using the sample files, I tried to adding javasccript via (using asp.net2.0):
Page.ClientScript.RegisterStartupScript

However, this doesnt work. I cant add any javascript this way.

So just how can I change the MaxTotalFileSize dynamically?

Thanks for any help Alex.
Alex Makhov
Posted: Tuesday, January 03, 2006 9:51:48 PM

Rank: Advanced Member
Groups: Member

Joined: 8/3/2003
Posts: 996
Points: 1
Hello,

Just use the following code:
Code:
ImageUploader.setMaxTotalFileSize(10000000);


Sincerely yours,
Alex Makhov
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.