1 Oct 20151 minute to read

Rating provides support for the vertical orientation. By default, Rating renders with horizontal orientation. You can the change the orientation by the orientation property.

Add the following code example to the corresponding ASPX page to render the Rating with the customized orientation.

  • HTML
  • <div id="container" style="border: 1px solid black; width: 300px; padding: 2px">
                        <td valign="top">Rating:
                            <ej:Rating ID="Rating1" Orientation="Vertical"runat="server"> </ej:Rating>

    The following screenshot displays the output of the above code example.