Form Concepts
From Visual WebGui Wiki
| This article needs more work to complete. Please feel free to contribute to this wiki and add contents. To locate the areas in the article where more work is needed, check for specially marked sessions that need more work. |
Contents |
Overview
Forms are the building block for all Visual WebGui applications.There are various ways to use forms within a Visual WebGui application and there are also many that utiize UserControls instead of forms.
Availability
Contents of this article applies to all versions of VisualWebGui
Different implementations of forms
Other concepts
Samples of use
- Simulating IFRAMEs
- Detecting Browser close
- Preventing form close for non-mainform forms
- Preventing Browser mainform close if page dirty
Tips and tricks
- Visual WebGUi application will not wait for input from dialog forms - See Dialog forms only modal on client - major difference from Windows Forms and Samples of use
- Getting a reference to your MainForm from anywhere - Use VWGContext.Current.MainForm.
Case studies
Limitations and workarounds
- Closing an MDI parent form does not fire Closed event of it's MDI Child forms. Problem in 6.3.x and older versions. Reported here.
- Blank screen redirecting between Silverlight and DHTML with Context.Redirect. Reported issue and Forum thread.
See Also
References
Articles
Videos
- Simulating IFRAMEs in Visual WebGui
- How to return parameters from dialogs
- How to use the MessageBox class
Code samples
Forum discussions
- Wrapper class sample for getting to your MainForm, Paths, URL and more
- Getting to your foremost form or more precisely the last active form before current
- Simulating a DialogForm's modal functionality without using a dialog form
- Opening a new form by making the client-side request it but initiate the request from server-side
