locked
How to set css on TableCell RRS feed

  • Question

  • User1741069310 posted

    Hi,

    I want to know to set css on tableCell0 ?

    TableCell tableCell0 = new TableCell();
    tableCell0.ID = "TableCell-1";
    tableCell0.Text = "";

    Thanks

    Francis SZE

    Wednesday, June 6, 2018 5:40 AM

Answers

  • User-369506445 posted

    hi

    please try below code:

    tableCell0.Attributes.Add("class", "YourClassName");

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, June 6, 2018 6:10 AM