Need help in custom url from infopath page - InfoPath Dev
in

InfoPath Dev

Need help in custom url from infopath page

Last post 05-23-2012 12:35 PM by IdeasTree. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-18-2012 10:39 AM

    Need help in custom url from infopath page

    Hi all, on infopath button click event i want to open one sharepoint custom URL i mean new page, how can i do this...can somebody pls provide me the sample code to achieve this.....
    Filed under:
  • 05-23-2012 12:35 PM In reply to

    Re: Need help in custom url from infopath page

    Add Microsoft.SharePoint.dll to your references.  Then use the following code: 

    SPUtility.Redirect("http://www.yahoo.com", SPRedirectFlags.Trusted | SPRedirectFlags.DoNotEndResponse, HttpContext.Current);

     

    It works for me on SharePoint 2007.

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.