Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
html cell
posted

Hi,

I´m developing a webdatagrid with 2 bounddatafield. The header of webdatagrid is

<ig:WebDataGrid EnableAjax="True" ID="wdgDocumentos" runat="server" AutoGenerateColumns

="False"

DataSourceID="odsPDocumentoS2R" Height="100%" Width="100%" StyleSetName

="Claymation"

OnRowUpdating="wdgDocumentos_RowUpdating"

OnRowUpdated="wdgDocumentos_RowUpdated" OnRowsDeleting

="wdgDocumentos_RowsDeleting"

OnInitializeRow="wdgDocumentos_InitializeRow"

ondatabound

="wdgDocumentos_DataBound">

 

The datafield property return dynamic html code.

Example:

<div style='width:100%;height:100%;'><img src='imagenes/firmar_ok.png' height='21px' /></div>

When grid is loaded at first time the html code is rendered ok but when the data is changed and saved via webDataGrid.get_behaviors().get_editingCore().commit(); the html not is rendered. I have tried many things and nothing works.

After first load

After modify value of Código

 

Parents
No Data
Reply
  • 100
    Offline posted

    I already test "htmlencode = true". Do you know another similar solution?

    Thanks a lot

    Regards

Children