I´m using Dreamweaver cs3 and .net cute editor, I cant get server behaviors to work for updating my db?
How do i use cute editor in a form to pass the values to the db with dreamweaver?
I had this: <asp:textbox id="texto" text='<%# artigos.FieldValue("texto", Container) %>' TextMode="Multiline" Columns="45" Rows="20" runat="server" />
this is the dw code for update :
<MM:Update
runat="server"
CommandText='<%# "UPDATE dbo.artigos SET titulo=?, texto=? WHERE IDart=?" %>'
ConnectionString='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_STRING_db_hf_online") %>'
DatabaseType='<%# System.Configuration.ConfigurationSettings.AppSettings("MM_CONNECTION_DATABASETYPE_db_hf_online") %>'
Expression='<%# Request.Form("MM_update") = "form1" %>'
CreateDataSet="false"
Debug="true"
><Parameters>
<Parameter Name="@titulo" Value='<%# IIf((Request.Form("titulo") <> Nothing), Request.Form("titulo"), "") %>' Type="WChar" />
<Parameter Name="@texto" Value='<%# IIf((Request.Form("texto") <> Nothing), Request.Form("texto"), "") %>' Type="WChar" />
<Parameter Name="@IDart" Value='<%# IIf((Request.Form("IDart") <> Nothing), Request.Form("IDart"), "") %>' Type="Integer" />
</Parameters>
</MM:Update>
the editor should be linked to <Parameter Name="@texto" Value='<%# IIf((Request.Form("texto") <> Nothing), Request.Form("texto"), "") %>' Type="WChar" />
It all worked fine... even with tinymce (different integration, I know)
thanks in advance,
The possibility to make this work is really urgent, I have to decide if I get a developers license