Help! How can i get correct request value

Last post 10-06-2006, 8:42 PM by kane. 2 replies.
Sort Posts: Previous Next
  •  10-06-2006, 4:28 AM 23373

    Help! How can i get correct request value

    When I create a dynamic Editor as:
     
    dim CE as new cuteeditor.editor
    CE.ID=objtable.rows(i).item("Fields")
    PlaceHolder1.Controls.Add(CE)
     
    Now The Editor Created in the Page
     
    But when i use request method to get the value like this:
     
    dim Str as String=Request(objtable.rows(i).item("Fields"))
     
    I get the value diffrent from I have typed:
     
    in the editor, I typed the string:
    <div><img height=8 alt="" src="http://cutesoft.net/wsdesk/uploads/a.gif">sqwr</div>
     
    but I got the request value as:
    #1div#2#1img h#9ight=8 alt="" #7rc="/w#7d#9#7k/upl#5ad#7/a.gif">#7qwr#1/div#2
     
    How Can I Get The Correct Value?
     
  •  10-06-2006, 10:47 AM 23375 in reply to 23373

    Re: Help! How can i get correct request value

    kane,
     
    You can disable the HTML encoding by setting Editor.EncodeHiddenValue Property to false.

    Editor.EncodeHiddenValue Property
    By default Cute Editor will encode the value in the Hidden field automatically. You can turn it off by setting this property to "false". If this property is set to false, ValidateRequest="false" in the page directive is required.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  10-06-2006, 8:42 PM 23389 in reply to 23375

    Re: Help! How can i get correct request value

    Now It's Ok,THX a lot
View as RSS news feed in XML