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
1070
Not working in FIREFOX
posted

e.Row.Cells.FromKey("ProgressBar").Value = "<div style='BACKGROUND-COLOR: olive; width:" + _
        e.Row.Cells.FromKey("Completed").Value.ToString() + "%'></div<"

Parents
No Data
Reply
  • 49378
    posted

    Hi DayanaArul,

    I have tested this scenario using version 11.1.20111.2020 and the html seems to be injected successfully in Mozilla and IE (note that you need some text in the injected div in order for the styles to apply). Also please observe that in the code you have provided, a closing bracket is inverted which may be causing issues:

    </div<"

    In order to examine this further I would to know your product version. A small sample illustrating the behavior would be greatly appreciated.

    Please note that the UltraWebGrid control is now outdated and as of .NetAdvantage 2011 Volume 2 is no longer included in our product package. I would suggest that you consider switching to the WebDataGrid/WebHieararchicalDataGrid. More information regarding these controls is available at:

    http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_WebDataGrid_WebDataGrid.html

    Additional samples demonstrating the features of these grids can be found at:
    http://samples.infragistics.com/aspnet/

    Feel free to contact me if you have any questions.

Children