More in this section
Forums / Developing with Sitefinity / Problem with QueryString in SItefinity

Problem with QueryString in SItefinity

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
3 posts, 0 answered
  1. Neeraj
    Neeraj avatar
    1 posts
    27 Apr 2009
    27 Apr 2009
    Link to this post

    Hi All,

            I am having a problem with a querystring. I have one key pair value like

    Now this works fine. Now the id can repeat again as the page gets filtered by the Ids in the querystring. as follows

    Now when i say Request.QueryString["id"] then it returns 9,11 in the normal website.

    But when i use the same code on the sitefinity project its not doing same. its returning "9id=11" (and some how sitefinity is stripping the & in the url) . and this is causing errors in my code. As my code runs successfully only if it returns 9,11



  2. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    09 Sep 2007
    27 Apr 2009
    Link to this post
    I just tested this with 3.6 SP1 and confirmed this.  Neeraj, I think you discovered an issue.

    In the meantime, here is a really lame workaround:

    string idParams = Request.QueryString["id"].Replace("id=", ",");

  3. Vlad
    Vlad avatar
    498 posts
    19 Jun 2017
    28 Apr 2009
    Link to this post
    Yes, this is a bug.

    Fortunately, we are going to release a Hotfix till the end of the week (hopefully tomorrow). It will address an issue with resolving dynamic links for items in the Images&Documents in a non-shared generic content on a page.

    The fix for this issue will be included in the build as well.

    Neeraj,  we updated your telerik points for reporting this problem.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
3 posts, 0 answered