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
520
How to display superscript in UltraWebGrid cell
posted

I want to display a superscript for a footnote after cell text.  I tried setting the cell.Value to 

cell.Value + "<sup>1</sup>".  It doesn't work. The "1" displays alongside the cell text, not above it.

Parents
No Data
Reply
  • 7570
    Suggested Answer
    posted

    Hello cs31415,

    I apologize for the delay of my response.

    I tested the code snippet you have provided, using ActiveCellChange event. I was able to get successful results.

    Below is a snippet of the function: 

    protected void UltraWebGrid1_ActiveCellChange(object sender, Infragistics.WebUI.UltraWebGrid.CellEventArgs e)
        {
            e.Cell.Value = "Infragistics";
            e.Cell.Value = e.Cell.Value + "<sup>1</sup>";
        }

    Please let me know if you have any questions.

Children
No Data