This topic will take you through customizing the width and height of C1AutoComplete. This can be done in Design View, in Source View, or in code.
In Design View
Complete the following steps:
In Source View
Complete the following steps:
<cc1:C1AutoComplete>
tags:
To write code in Source View
<cc1:C1Complete ID="C1AutoComplete1" runat="server" Height="200px" Width="200px">
In Code
Add the following code to the Page_Load event to set the Height and Width properties of the C1AutoComplete control.
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Me.C1AutoComplete1.Height = 150 Me.AutoComplete1.Width = 200 |
To write code in C#
C# |
Copy Code
|
---|---|
this.C1AutoComplete1.Height = 150; this.C1AutoComplete1.Width = 200; |
Working with C1AutoComplete CSS Selectors
C1AutoComplete supports CSS styling, enabling you to completely customize the control's appearance. This topic will walk you through applying CSS styling to the C1AutoComplete control.
<asp:Content>
tags.<style type="text/css"></style>
tags between the <asp:Content>
tags. This set of tags will allow you to add CSS styling to your control.<style>
tags to add CSS styling to your control.