VB.NET simple (or not so....) image upload

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<script type="text/javascript">
window.onload = function () {
CKEDITOR.replace('newQuestion',
{
filebrowserUploadUrl: 'processImageUpload.aspx'
});
};
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:TextBox ID="newQuestion" TextMode="MultiLine" runat="server"></asp:TextBox>
</div>
</form>
</body>
</html>
Partial Class processImageUpload
Inherits System.Web.UI.Page
Dim callback As String
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
callback = Request.QueryString("CKEditorFuncNum")
Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "imageUpload", "<html><body><script type='text/javascript'>window.opener.CKEDITOR.tools.callFunction('" & callback & "','../images/email_header.gif','');</script></body></html>")
End Sub
End Class
Re: VB.NET simple (or not so....) image upload
Re: VB.NET simple (or not so....) image upload
http://ckfilemanager.codeplex.com/
Re: VB.NET simple (or not so....) image upload