Hi,
The documentation for the radpromt, radalert and radconfirm methods are somewhat sparse. I cant find anything in the locally installed help, and the examples only shows _some_ use of the dialogs. The only place I've found something is in the "Working with the Prompt Dialog" online help page at http://www.telerik.com/help/aspnet-ajax/window_dialogsprompt.html - which provides a radpromt signature:
radprompt(text, callBackFn, oWidth, oHeight, callerObj, oTitle, defaultValue)
- but doesn't explain much about the parameters. I can figure it out, but a short table in the webpage would be nice - and especially in the local help file.
The problem arises with the callback function, which according to the web page is described as:
"The callback function has two parameters: The first is a boolean that indicates whether the user entered "Ok", and the second is the value that the user entered. "
- the example continues showing a callback method with only one parameter, which I think is the correct, as the only parameter is null when the user clicks cancel and blank or "the entered value" when the user clicks ok. Is this correct, and could you please update the documentation at some point :o) Especially the locally installed help file.
/Jan
The documentation for the radpromt, radalert and radconfirm methods are somewhat sparse. I cant find anything in the locally installed help, and the examples only shows _some_ use of the dialogs. The only place I've found something is in the "Working with the Prompt Dialog" online help page at http://www.telerik.com/help/aspnet-ajax/window_dialogsprompt.html - which provides a radpromt signature:
radprompt(text, callBackFn, oWidth, oHeight, callerObj, oTitle, defaultValue)
- but doesn't explain much about the parameters. I can figure it out, but a short table in the webpage would be nice - and especially in the local help file.
The problem arises with the callback function, which according to the web page is described as:
"The callback function has two parameters: The first is a boolean that indicates whether the user entered "Ok", and the second is the value that the user entered. "
- the example continues showing a callback method with only one parameter, which I think is the correct, as the only parameter is null when the user clicks cancel and blank or "the entered value" when the user clicks ok. Is this correct, and could you please update the documentation at some point :o) Especially the locally installed help file.
/Jan