summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/js/prado.js
diff options
context:
space:
mode:
authorwei <>2006-02-02 07:08:16 +0000
committerwei <>2006-02-02 07:08:16 +0000
commit71ea1bd064dc36004e610fff56a23d09578cd7eb (patch)
tree5cedacd6f906d3f0eaefe1ec98c5151ab23eb8c3 /framework/Web/Javascripts/js/prado.js
parentb2fba25e4b146c4896304377643e498a22a3ced0 (diff)
Fixed #27
Diffstat (limited to 'framework/Web/Javascripts/js/prado.js')
-rw-r--r--framework/Web/Javascripts/js/prado.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/js/prado.js b/framework/Web/Javascripts/js/prado.js
index 657508e6..9dc93ce8 100644
--- a/framework/Web/Javascripts/js/prado.js
+++ b/framework/Web/Javascripts/js/prado.js
@@ -1674,6 +1674,11 @@ Prado.PostBack=function(_378,_379){
var form=$(_379["FormID"]);
var _380=true;
if(_379["CausesValidation"]&&Prado.Validation){
+if(_379["ValidationGroup"]){
+Prado.Validation.SetActiveGroup(Event.element(_378),_379["ValidationGroup"]);
+}else{
+Prado.Validation.SetActiveGroup(null,null);
+}
if(Prado.Validation.IsValid(form)==false){
return;
}
@@ -1874,7 +1879,7 @@ Prado.WebUI.TLinkButton=Prado.WebUI.ClickableComponent;
Prado.WebUI.TImageButton=Prado.WebUI.ClickableComponent;
Prado.WebUI.TCheckBox=Prado.WebUI.ClickableComponent;
Prado.WebUI.TBulletedList=Prado.WebUI.ClickableComponent;
-Prado.WebUI.TRadioButton=Prado.WebUI.ClickableComponent;
+Prado.WebUI.TRadioButton=Prado.WebUI.createPostBackComponent(Prado.WebUI.ClickableComponent.prototype);
Prado.WebUI.TRadioButton.prototype.onRadioButtonInitialize=Prado.WebUI.TRadioButton.prototype.initialize;
Object.extend(Prado.WebUI.TRadioButton.prototype,{initialize:function(_430){
this.element=$(_430["ID"]);