how to make editor droppable
how can i drag images from folder and drop to editor like gmail editor. I am using the obout editor.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dipankar BiswasPosted Apr 21, 2015, 6:31 AM
see this link.. http://www.codeproject.com/script/Articles/ArticleVersion.aspx?aid=460142&av=669590
Editor..http://demos.telerik.com/aspnet-ajax/imageeditor/examples/customcontentprovider/defaultcs.aspx
Thanks..
Dipankar BiswasPosted Apr 21, 2015, 11:52 AM
Fareeda
why not..?? try it...
protected void btn_submit_user_frm_Click(object sender, EventArgs e)
{
if (user_profile_pic.PostedFile.ContentLength > 0)
{
s1 = Path.GetFileName(user_profile_pic.FileName);
path = Server.MapPath("upload_std_image") + "/" + s1;
user_profile_pic.SaveAs(path);
}
SqlConnection ronicon = new SqlConnection(strconn);
ronicon.Open();
SqlCommand ronicom = new SqlCommand("sp_Craete_account", ronicon);
ronicom.CommandType = CommandType.StoredProcedure;
ronicom.Connection = ronicon;
ronicom.Parameters.AddWithValue("@username", txt_username.Text);
ronicom.Parameters.AddWithValue("@usertype", drp_user_type.Text);
ronicom.Parameters.AddWithValue("@useremail", txt_user_email.Text);
ronicom.Parameters.AddWithValue("@userpass", txt_user_pass.Text);
ronicom.Parameters.AddWithValue("@userdob", txt_user_dob.Text);
ronicom.Parameters.AddWithValue("@useraddress", txt_user_address.Text);
ronicom.Parameters.AddWithValue("@userphno", txt_ph_no.Text);
ronicom.Parameters.AddWithValue("@useractiv", txt_user_active.Text);
ronicom.Parameters.AddWithValue("@userprofilepic", s1);
ronicom.ExecuteNonQuery();
ronicom.Dispose();
ronicon.Close();
}
Thanks..
Fareeda HussainPosted Apr 21, 2015, 6:48 AM
can i insert image my folder directly while use RadImageEditor