Re: Sort image gallery when an image is uploaded

  •  01-25-2010, 9:22 AM

    Re: Sort image gallery when an image is uploaded

    Hi!

    Testing with:
     
    1. Please open CuteSoft_Client\CuteEditor\Dialogs\InsertGallery.aspx and add the following code to
    override protected void OnInit(EventArgs args):
    ThumbList1.Sort="DateDesc";
     
    Not Work!
     
    2. Open class DBFileStorage Inherits CuteEditor.Impl.FileStorage and include
            Public Sub New(ByVal context As HttpContext)
                MyBase.New(context)
                If (TypeOf context.CurrentHandler Is CuteEditor.Dialogs.InsertGalleryFrame) Then
                    CType(CType(context.CurrentHandler, Page).FindControl("ThumbList1"), CuteEditor.Dialogs.ThumbList).Sort = "DateDesc"
                End If

    Not Work!
     
    Any alternative?
     
    My CuteEditor Version is 6.5
     
    Thanks!
     
View Complete Thread