Formating Drop Down List RRS feed

  • Question

  • User196874992 posted

    Hello, i've a dropdownlist that i fill with a DataBlind, mi question it's, how i can put a format to 2 paragraphs or more depending on the size of the text?

    My DDL:


    Fill Code:

     string query = "select Entrenamiento from EE group by Entrenamiento";
                    DataTable dt = GetData(query);
                    ddlCondicion.DataSource = dt;
                    ddlCondicion.DataTextField = "Entrenamiento";
                    ddlCondicion.DataValueField = "Entrenamiento";
                    ddlCondicion.Items.Insert(0, new ListItem("Select", ""));


    Monday, April 26, 2021 1:24 PM

All replies

  • User1535942433 posted

    Hi EvansGxz,

    As far as I think,you couldn't do use dropdown list. You can use a div that can act as a dropdown list using JavaScript and CSS.

    Best regards,

    Yijing Sun

    Tuesday, April 27, 2021 8:43 AM