- Online Barcode Generator
- How To
- Buy Now
Introductions for ComboBox Render Modes
There are four render modes that are supported by the asp.net ComboBox Control, which are Classic, Lightweight, Native and Auto. Here in this section, we will briefly introduce each of these four combobox render modes.
How to Set Render Mode
The asp.net ComboBox Control offers two ways for users to define the Render Mode, which are listed below.
Set the RenderMode Property
You are allowed to set the value of the RenderMode property to one of above four render modes using programming code. Following example will show you how to define the render mode in aspx web page.
<kettic:PerComboBox ID="PerComboBox1" RenderMode="Classic" runat="server" >
And the render mode of combobox can be also set using C#.NET code.
PerComboBox1.RenderMode = RenderMode.Classic;
Configure the Content of Web.config File
You can also set the Render Mode of web ComboBox Control by configuring the content of web.config file. Open the web.config file and add following content to it.
Now the configuration of the combobox render mode is finished. If you have any other questions about the combobox mode rendering issue, please feel free to contact us via E-mail.
Other Recommended ComboBox Features
ASP.NET AJAX UI Controls