# Methods

## RadWindowManager specific methods

* **RadAlert**—calls the RadAlert dialog when the page is loaded. Takes the following arguments:
  1. **Text** - an HTML string to be shown as the alert message
  2. **Width** - an integer for the width of the window
  3. **Height** - an integer for the height of the window
  4. **Title** - a string to be shown in the titlebar
  5. **callBackFnName** - the name of the client-side JavaScript function to be called when the dialog is closed
  6. **imgUrl** - optional - a string that is the URL of the new image that will be displayed on the left side of the dialog. If this parameter is not passed (or null/Nothing is passed) the default image is retained; if an empty string is passed the image is removed.

* **RadConfirm**—calls the RadConfirm dialog when the page is loaded. Takes the following arguments:
  1. **Text** - an HTML string to be shown as the alert message
  2. **callBackFnName** - the name of the client-side JavaScript function to be called when the dialog is closed
  3. **Width** - an integer for the width of the window
  4. **Height** - an integer for the height of the window
  5. **callerObject** - This values should be null (Nothing), as this property is kept only for backwards compatibility
  6. **Title** - a string to be shown in the titlebar
  7. **imgUrl** - optional - a string that is the URL of the new image that will be displayed on the left side of the dialog. If this parameter is not passed (or null/Nothing is passed) the default image is retained; if an empty string is passed the image is removed.

* **RadPrompt**—calls the RadPrompt dialog when the page is loaded. Takes the following arguments:
  1. **Text** - an HTML string to be shown as the alert message
  2. **callBackFnName** - the name of the client-side JavaScript function to be called when the dialog is closed
  3. **Width** - an integer for the width of the window
  4. **Height** - an integer for the height of the window
  5. **callerObject** - This values should be null (Nothing), as this property is kept only for backwards compatibility
  6. **Title** - a string to be shown in the titlebar
  7. **initialValue** - a string to be shown as the default value in the textbox|
