### GET FineUIPro.GlobalConfig.ProductVersion Source: https://fineui.com/pro/api/a00878.html Retrieves the current version string of the FineUIPro library. ```APIDOC ## GET FineUIPro.GlobalConfig.ProductVersion ### Description Retrieves the current version string of the FineUIPro library. ### Method GET ### Response #### Success Response (200) - **ProductVersion** (string) - The current version of the FineUIPro library. ``` -------------------------------- ### Get ShowInTop Reference Source: https://fineui.com/pro/api/a01250.html Generates client-side script to display a message dialog in the top-most window. ```APIDOC ## GET /api/message/getShowInTopReference ### Description Retrieves the client-side JavaScript code to display a message dialog in the top-most window. ### Method GET ### Endpoint /api/message/getShowInTopReference ### Parameters #### Query Parameters - **message** (string) - Required - The message to display in the dialog. - **title** (string) - Optional - The title of the dialog window. - **icon** (MessageBoxIcon) - Optional - The icon to display in the dialog. - **okScript** (string) - Optional - JavaScript code to execute when the OK button is clicked. ### Response #### Success Response (200) - **script** (string) - The client-side JavaScript code for displaying the dialog in the top-most window. #### Response Example ```json { "script": "FineUI.MessageBox.showInTop({ message: 'System alert!', title: 'Alert' });" } ``` ``` -------------------------------- ### Get Show Reference Source: https://fineui.com/pro/api/a01250.html Generates client-side script to display a message dialog. ```APIDOC ## GET /api/message/getShowReference ### Description Retrieves the client-side JavaScript code to display a message dialog. ### Method GET ### Endpoint /api/message/getShowReference ### Parameters #### Query Parameters - **message** (string) - Required - The message to display in the dialog. - **title** (string) - Optional - The title of the dialog window. - **icon** (MessageBoxIcon) - Optional - The icon to display in the dialog. - **okScript** (string) - Optional - JavaScript code to execute when the OK button is clicked. - **target** (Target) - Optional - The target frame or window for the dialog. - **iconUrl** (string) - Optional - A custom URL for the dialog icon. ### Response #### Success Response (200) - **script** (string) - The client-side JavaScript code for displaying the dialog. #### Response Example ```json { "script": "FineUI.MessageBox.show({ message: 'Operation completed.', title: 'Success' });" } ``` ``` -------------------------------- ### ClientID Property Source: https://fineui.com/pro/api/a00838.html Gets the client-side ID of the control, used in JavaScript. Example: RegionPanel1_Button1. ```csharp override string ClientID` [get] ``` -------------------------------- ### Register startup script with formatting Source: https://fineui.com/pro/api/a01262.html Allows registering a script with dynamic content using format strings and parameters, similar to string.Format. ```csharp FineUIPro.PageContext.RegisterStartupScript("var msg = '{0}'; alert(msg);", "Hello World"); ``` -------------------------------- ### WrapperID Property Source: https://fineui.com/pro/api/a00838.html Gets the client-side ID of the control's wrapper element. Example: Button1_wrapper. ```csharp string WrapperID` [get] ``` -------------------------------- ### Register post-startup script with a key Source: https://fineui.com/pro/api/a01262.html Allows registering a post-startup script using a unique key for better management of multiple scripts. ```csharp FineUIPro.PageContext.RegisterPostStartupScript("myPostScriptKey", "console.log('Post-script with key');"); ``` -------------------------------- ### GetPostBackEventReference Method (with argument) Source: https://fineui.com/pro/api/a00790.html Gets the client-side script for triggering a post-back event with a specified argument. Example: __doPostBack('btnChangeEnable',''); ```csharp string GetPostBackEventReference (string eventArgument) ``` -------------------------------- ### Register startup script with key and script tag option Source: https://fineui.com/pro/api/a01262.html Allows registering a startup script with a key and controlling whether `