Mimicing Fillable PDF type functionality


02-16-2010, 1:43 PM
I have used the end user designer before by following the tutorial. What I would like to do is load a designer with a report that I created, with text boxes/rich text boxes etc that the user could type into, but could not change the layout of the report. Is there a way to make it so that the user is unable to move text boxes or change the background picture of a end user designer control?

Thanks

Re: Mimicing Fillable PDF type functionality


02-16-2010, 2:15 PM
Hello,

You can use the LayoutChanging event of designer for locking the layout of the report as shown in the following code:

private void arDesigner_LayoutChanging(object sender, LayoutChangingArgs e)
{
  if (e.Type == LayoutChangeType.ControlMove)
    {
       e.AllowChange = false;
     }
}


Regards,
Ankit Nigam