You can use below eScript even if there is no field defined against the control you want to get the value.
if(name == "myMethod")
{
var control, value;
control = this.FindControl("my control");
value = control.GetValue();
alert(value);
TheApplication().SetProfileAttr("MY_PA", value);
}
if(name == "myMethod")
{
var control, value;
control = this.FindControl("my control");
value = control.GetValue();
alert(value);
TheApplication().SetProfileAttr("MY_PA", value);
}
Comments
Post a Comment