I was in a real pain this problem for a last 3 hours. At last I got the solution. There is a function named
VerifyRenderingInServerForm(Control control) which in fact verifies all the controls. I have just override the function to not to verify. The override function looks like below
public override void VerifyRenderingInServerForm(Control control)
{
return;
}
now it is working fine.
Hello Thanks alot
ReplyDelete