# Form Designer: Example of a custom web user control tool

**URL:** https://discuss.workflowgen.com/t/form-designer-example-of-a-custom-web-user-control-tool/244
**Category:** Form Designer
**Created:** [July 24, 2013, 5:21am UTC](https://discuss.workflowgen.com/t/form-designer-example-of-a-custom-web-user-control-tool/244 "2013-07-24T05:21:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)
#### Post date: [July 24, 2013, 5:21am UTC](https://discuss.workflowgen.com/t/form-designer-example-of-a-custom-web-user-control-tool/244/1 "2013-07-24T05:21:29Z")

</div>

This sample pack contains a custom web user tool definition file for the Form Designer and the associated ASP.NET code files.

[Download the sample pack](https://app.box.com/s/62hjio7fw06ygezww5zxmqj4yts7jm50)

1. Copy the custom web user control tool definition file (`MyUserControl.txt`) into `\wfgen\App_Data\Templates\Forms\En\Custom\fields`.

2. Copy the custom ASP.NET code files (`MyUserControl.ascx` and `MyUserControl.ascx.cs`) into `\wfgen\WfApps\WebForms`

To test this example, open your process’s Form Designer and add a new `MyUserControl` tool.

---

<div class="post-metadata">

### Author: ![Alison.Stewart](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@Alison.Stewart](https://discuss.workflowgen.com/u/Alison.Stewart)
#### Post date: [May 21, 2020, 8:21pm UTC](https://discuss.workflowgen.com/t/form-designer-example-of-a-custom-web-user-control-tool/244/2 "2020-05-21T20:21:18Z")

</div>

Hi,

I was wondering if I could get the ascx. and ascx.cs files for the existing GridView user control? (Would be nice to start from there to create a custom one.) The template is in the expected place, but our server \wfgen\WfApps\WebForms\ folder doesn’t have the default ones.

Thanks!  
Alison
