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.
|
 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
|