Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
Cute Editor for .NET
»
Re: Sort image gallery when an image is uploaded
Re: Sort image gallery when an image is uploaded
01-28-2010, 7:48 AM
benick
Joined on 11-24-2008
Posts 10
Re: Sort image gallery when an image is uploaded
Reply
Quote
Hi Ken,
This change does not allow the user to change the order (for example SizeDesc), I just want that after loading an image, are organized by date desc
Tested with event
"File_Upload"
, and not refresh:
Sub
Uploaded
_FileUploaded(
ByVal
sender
As
Object
,
ByVal
args
As
CuteEditor.UploaderEventArgs)
Dim
oInsertGallery
As
CuteEditor.Dialogs.InsertGalleryFrame =
CType
(Context.CurrentHandler, CuteEditor.Dialogs.InsertGalleryFrame)
Dim
oThumbList
As
CuteEditor.Dialogs.ThumbList =
CType
(
CType
(Context.CurrentHandler, Page).FindControl(
"ThumbList1"
), CuteEditor.Dialogs.ThumbList)
oThumbList.Sort =
"DateDesc"
oThumbList.Refresh =
True
//Not Refresh
End
Sub
Any Idea?
Thanks!
View Complete Thread