From 2da825c6f1dd3726bcc866082f6d28dcc29a0c5a Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 10 Jun 2006 12:39:49 +0000 Subject: Fixed #182. --- framework/Web/UI/WebControls/TListBox.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'framework/Web/UI/WebControls/TListBox.php') diff --git a/framework/Web/UI/WebControls/TListBox.php b/framework/Web/UI/WebControls/TListBox.php index 5ee3f58e..972ebbcb 100644 --- a/framework/Web/UI/WebControls/TListBox.php +++ b/framework/Web/UI/WebControls/TListBox.php @@ -47,6 +47,16 @@ class TListBox extends TListControl implements IPostBackDataHandler, IValidatabl parent::addAttributesToRender($writer); } + /** + * Gets the name of the javascript class responsible for performing postback for this control. + * This method overrides the parent implementation. + * @return string the javascript class name + */ + protected function getClientClassName() + { + return 'Prado.WebUI.TListBox'; + } + /** * Registers the list control to load post data on postback. * This method overrides the parent implementation. -- cgit v1.2.3