J
Jokerr
I have a problem with the Image object and ImageURL. I've looked over
some forums however I've gotten nowhere but frustrated fast. I've
verified all the data and it's correct. No special characters, just
alpha-numeric and an occasional slash(/).
I pass the following URL to my image,
"charts.aspx?labels=<data>&Data=<data>&title=<data>"
However it is formated differently,
"charts.aspx?labels=<data>&Data=<data>&xTitle=<data>
Here is some test code for the values
if(Request.QueryString["Labels"] == null)
Response.Write("Labels is null<br />");
else
Response.Write("Labels = " + Request.QueryString["Labels"].ToString()
+ "<br/>");
if(Request.QueryString["Data"] == null)
Response.Write("Data is null<br />");
else
Response.Write("Data = " + Request.QueryString["Data"].ToString() +
"<br/>");
if(Request.QueryString["xTitle"] == null)
Response.Write("xTitle is null<br />");
else
Response.Write("xTitle = " + Request.QueryString["xTitle"].ToString()
+ "<br/>");
Which yields the following
Labels = <data>
Data is null
xTitle is null
If I substitue Request.QueryString["data"] with
Request.QueryString["amp;data"] everything works. What am I missing?
some forums however I've gotten nowhere but frustrated fast. I've
verified all the data and it's correct. No special characters, just
alpha-numeric and an occasional slash(/).
I pass the following URL to my image,
"charts.aspx?labels=<data>&Data=<data>&title=<data>"
However it is formated differently,
"charts.aspx?labels=<data>&Data=<data>&xTitle=<data>
Here is some test code for the values
if(Request.QueryString["Labels"] == null)
Response.Write("Labels is null<br />");
else
Response.Write("Labels = " + Request.QueryString["Labels"].ToString()
+ "<br/>");
if(Request.QueryString["Data"] == null)
Response.Write("Data is null<br />");
else
Response.Write("Data = " + Request.QueryString["Data"].ToString() +
"<br/>");
if(Request.QueryString["xTitle"] == null)
Response.Write("xTitle is null<br />");
else
Response.Write("xTitle = " + Request.QueryString["xTitle"].ToString()
+ "<br/>");
Which yields the following
Labels = <data>
Data is null
xTitle is null
If I substitue Request.QueryString["data"] with
Request.QueryString["amp;data"] everything works. What am I missing?