# UserControl

The User Control example shows how to create a server side widget component that can be reused in the application. A user control is a container based on [Wisej.Web.UserControl](http://docs.wisej.com/api/wisej.web/containers/wisej.web.usercontrol) that can expose methods, properties and events, and it’s integrated with the Wisej Designer.

[![](https://github.com/iceteagroup/wisej-examples/raw/2.2/Support/Images/UserControl.png)](https://github.com/iceteagroup/wisej-examples/blob/2.2/Support/Images/UserControl.png)

## Downloads

[Download Sample in C#.](https://github.com/iceteagroup/wisej-examples/tree/3.2/UserControl)

[Download Sample in VB.NET](https://github.com/iceteagroup/wisej-examples-vb/tree/3.2/UserControl)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wisej.com/examples/examples/usercontrol.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
