Re: change upload-path dynamically

  •  08-09-2005, 10:08 AM

    Re: change upload-path dynamically

    thanks, that works!
     
    Now a further question to this issue.
    If I press "insert Image" or "Insert xxx" I want to create the folder.
     
    But on those buttons is no postback,
    so I cannot do like I do with the "Save"-Button:
     
    Private Sub Editor2_PostBackCommand(ByVal Sender As Object, ByVal e As System.Web.UI.WebControls.CommandEventArgs) Handles Editor2.PostBackCommand
     If String.Compare(e.CommandName, "Save", True) = 0 Then
         if ObjektLangbutton_insert.visible=true then 'Einfügen
       ObjektLang_Insert(ObjektLangbutton_Insert,nothing)
      end if
      if ObjektLangbutton_update.visible=true then 'Speichern
       ObjektLang_Update(ObjektLangbutton_Update,nothing)
      end if
     End If
    End Sub
     
    Can I add a postback for any button? If, how?
View Complete Thread