Data doesn't pass through the database when "CuteEditor" is used in XML Form Configuration

72 Views Asked by At

I have a vb app that uses configuration files to save data into the database. It's using an editor called "CuteEditor".

Below is what I have for config.

<Fields>
    <Control>CuteEditor</Control>
    <Required>No</Required>
    <Order>17</Order>
    <Label>Main Content</Label>
    <Id>ContentText</Id>
    <Text />
</Fields>

Edit statement in Config.

<sqlUpdate>
DECLARE @id int
UPDATE table SET    
    ContentText = @ContentText,
WHERE ContentId = @ContentId
</sqlupdate>

When I change the control from "CuteEditor" to "Multiline", it works perfectly fine (Saves the content). But when it's CuteEditor, it doesn't.

My guess is the content should be changed to html format. (Just an idea)

view of CuteEditor

Please help. Thanks!

0

There are 0 best solutions below