Hi
Restricting the Form from Opening Directly is an Easy way and can be done by overriding the Inint method of form as follows:
Override Init method of form and write the following statement after Super()
if(! element.args().caller())
{
throw error("Form can not be opened Directly");
}
By doing this we can restrict the Form Opening Directly
Regards
Santhosh Reddy
-It's kind of fun to do the impossible
No comments:
Post a Comment