There are 2 infopath form libraries- libraryA and libraryB. When i open a form in libraryA and click a custom button in it, it should redirect to libraryB. In the infopath code behind file, i have the following in the button click event:
SPUtility.Redirect("URLXX", SPRedirectFlags.DoNotEndResponse, HttpContext.Current);
The ...