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.

share|improve this question

20% accept rate
Guys, I found the answer, the ampersand should encode into %26 and it works~!! – sams5817 Jun 25 at 4:32
1  
Please post and mark it as an answer. – Falak Mahmood Jun 25 at 7:39
feedback

2 Answers

the ampersand should encode into %26

share|improve this answer
feedback

instead of

&

use

&

this will surely help

share|improve this answer
feedback

Your Answer

 
or
required, but never shown
discard

By posting your answer, you agree to the privacy policy and terms of service.

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