ParamQuery grid support forum

General Category => Bug Report => Topic started by: motoguru on February 21, 2014, 05:44:35 am

Title: Export query string error
Post by: motoguru on February 21, 2014, 05:44:35 am
When You do an export (in PRO) and pass the url with some additional query string, for example: /server/url/exports/exportFile.aspx?something=value, then export script in grid passes malformed query string: /server/url/exports/exportFile.aspx?something=value?filename=. Script does not check if another query string variables are passed before.

Example:
$grid.pqGrid("exportCsv", { url: "/server/url/exports/exportFile.aspx?something=value", sheetName: "pqGrid sheet" });

Gives ajax request to:
/server/url/exports/exportFile.aspx?something=value?filename=....

And should:
/server/url/exports/exportFile.aspx?something=value&filename=....

Regards
Title: Re: Export query string error
Post by: paramvir on February 26, 2014, 07:45:37 pm
Thanks for reporting the issue.

It has been corrected in 2.0.4