If I press the button "insert Image" or "Insert anything" in the toolbar I want to create a folder on my server.
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?
thanks for your help in advance,
kind regards, Daniel.