This question is locked. New answers and comments are not allowed.
telerik team please help me asap, im im trying to update the content in rad editor but nothing change when i actually update it in my button here is my code in update
cmd = new sqlcommand("UPDATE id,template FROM TEMPLATES WHERE id=1")
SaveInCurrentFile(radEditorTemplate)
cmd = New SqlCommand("UPDATE tblTemplate SET template=@temp where id=@id", con)
cmd.Parameters.AddWithValue("@id", "1")
cmd.Parameters.AddWithValue("@temp", html)
cmd.ExecuteNonQuery()
so i actually guessing whats my wrong?
i also tried java script
<script type="text/javascript">
function OnCLientClick(editor, args)
{
editor.attachEventHandler("onkeydown", function(e)
{
setTimeout(function(){
alert("Content changed! Current content: " + $find("<%=radEditorTemplate.clientID %>").get_text()); }, 0);
});
}
</script>
please telerik team help me asap i need it badly in my project thank you in regards
cmd = new sqlcommand("UPDATE id,template FROM TEMPLATES WHERE id=1")
SaveInCurrentFile(radEditorTemplate)
cmd = New SqlCommand("UPDATE tblTemplate SET template=@temp where id=@id", con)
cmd.Parameters.AddWithValue("@id", "1")
cmd.Parameters.AddWithValue("@temp", html)
cmd.ExecuteNonQuery()
so i actually guessing whats my wrong?
i also tried java script
<script type="text/javascript">
function OnCLientClick(editor, args)
{
editor.attachEventHandler("onkeydown", function(e)
{
setTimeout(function(){
alert("Content changed! Current content: " + $find("<%=radEditorTemplate.clientID %>").get_text()); }, 0);
});
}
</script>
please telerik team help me asap i need it badly in my project thank you in regards