Hi,

here are they. Thanks for helping,
m

2013/2/22 asgallant <[email protected]>

> Can you post the cshtml file and an example of the javascript rendered by
> the server (open the page in a browser and view the source)?
>
>
> On Friday, February 22, 2013 1:33:14 PM UTC-5, Matevz Uros Pavlic wrote:
>
>> No, I saw the, i tried it before also...it doesn't work. Same error...
>>
>> The name 'rows' does not exist in the current context
>>
>>
>> 2013/2/22 asgallant <[email protected]>
>>
>>> I made an error in my code above, it should be:
>>>
>>> var data = google.visualization.**arrayToDataTable([@rows]);
>>>
>>> On Friday, February 22, 2013 12:30:36 PM UTC-5, Matevz Uros Pavlic wrote:
>>>>
>>>> Hi,
>>>>
>>>> c# part seems to work ok....but i get an error in HTML and Javascript,
>>>> still sayin rowsList :"The name 'rowsList' does not exist in the current
>>>> context."
>>>>
>>>> If i check to see what rows c#, using Response.Write(rows); i get the
>>>> string in a form of* :*
>>>> *
>>>> *
>>>> ['Datum', 'Sava', 'RPWS1'], [29.8.2012 18:00:00, 161.87, 161.79],
>>>> [29.8.2012 20:00:00, 161.86, 161.77], [........
>>>>
>>>> Which is correct,...
>>>>
>>>> But using @rowsList or @rows produces the above error.
>>>> Could there be a problem passing variable *rows* or *rowsList  *to
>>>> Java and HTML?
>>>>
>>>>
>>>>>>>>>>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google Visualization API" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-visualization-api+**[email protected].
>>> To post to this group, send email to google-visua...@**googlegroups.com.
>>>
>>> Visit this group at http://groups.google.com/**
>>> group/google-visualization-**api?hl=en<http://groups.google.com/group/google-visualization-api?hl=en>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Title: Compilation Error

Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0103: The name 'rows' does not exist in the current context

Source Error:


Line 36:     function drawChart()
Line 37:         {
Line 38:         var data1 = google.visualization.arrayToDataTable([@rows]);
Line 39:         var chart = new google.visualization.LineChart(document.getElementById('chart_div'));
Line 40: chart.draw(data1, {

Source File: c:\inetpub\wwwroot\Gecko_Dev\Members\testni.cshtml    Line: 38






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034

Attachment: testni.cshtml
Description: Binary data

Reply via email to