Hi Dinesh,
We have a FormBox class that you should be able to use for this purpose.
You can see examples of it's usage in our CompanionKit here. Please be aware that there are limitations as to when you can use FormBox for this purpose. For instance the Visual WebGui application and your Web application must be in the same Virtual Folder. You can find links discussing this on our FormBox article here.
Hope this helps,
Palli