Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
    
Guys, I found the answer, the ampersand should encode into %26 and it works~!! –  sams5817 Jun 25 '12 at 4:32
1  
Please post and mark it as an answer. –  Falak Mahmood Jun 25 '12 at 7:39
add comment

2 Answers

the ampersand should encode into %26

share|improve this answer
add comment

instead of

&

use

&

this will surely help

share|improve this answer
add comment

Your Answer

 
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.