1

I have a simple question regarding the &Source Query String in SharePoint 2007, which normally SharePoint used in on List Item page, when click on "Close" button, it can redirect back to the listing page.

My objective is to do add in multiple Query String after the Source, example as below:

/DispForm.aspx?ID=1&Source=/Pages/AllItems.aspx?QueryStringA=XXXX&QueryStringB=YYYYY

After click on "Close" button, it redirect to

/Pages/AllItems.aspx?QueryStringA=XXXX

the QueryStringB was missing, guess it is treated as another Query String same level as Source instead of the Query String within Source.

Any workaround on the issue above? please help...

Thank you in advanced.

2
  • Guys, I found the answer, the ampersand should encode into %26 and it works~!!
    – sams5817
    Commented Jun 25, 2012 at 4:32
  • 1
    Please post and mark it as an answer. Commented Jun 25, 2012 at 7:39

2 Answers 2

2

the ampersand should encode into %26

2

instead of

&

use

&

this will surely help

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.