Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
VasyaPupkin  
#1 Posted : Wednesday, July 22, 2009 12:19:12 AM(UTC)
VasyaPupkin

Rank: Newbie

Groups: Member
Joined: 7/21/2009(UTC)
Posts: 1

I have an ImageUploader in the WebUserControl.

All events of WebUserControl & ViewState values are inited in aspx page

When I send images to function ImageUploader1_FileUploaded all ViewState values & events are null.

I can replace ViewState with Session. But what must I do with events? Think

Dmitry  
#2 Posted : Wednesday, July 22, 2009 3:28:26 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

There are two solutions for this problem - enable session variables or pass required data server-side via Image Uploader as addional fields. To do it second way you need to add client BeforeUpload event handler and specify the required fields using AddField method.

I realize that it is nothing to do with server events but in the most of cases they are not needed to perform saving received data server-side.

Edited by user Wednesday, July 22, 2009 3:29:46 PM(UTC)  | Reason: Not specified

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

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.