Posts

Showing posts from August, 2013

Custom Message box and Confirm window all in one

Image
Hello, I have created a custom message box and confirm window which can be used in all programming languages and all platforms. syntex : AlertCust([Control], {Message Title}, [Message Text], {IconType}, {PromptType}, [OnOk], [OnCancel]); Description : [Control] : Optional, Pass the control which raises the prompt. in Confirm or Alert window when click ‘OK’ button is clicked, the default server event will be executed, if value is passed. if null, clicking on ‘OK’ the prompt window will be closed, no further action. {Message Title} : Required, Message Title. Title will appear in bold font. [Message Text] : Optional, Message text in second line, in normal fonts. {IconType} : Required, Enum values. pass icon type to display icon specific to message. options Error, Warning, Information {PromptType} : Required,   This property helps to decide what kind of prompt we need. e.g. Validation, MessageBox(OkOnly), OKCancel, YesNo. [OnOk] : Optional, To provided custom callback met...