m ali
m ali

Reputation: 646

hidden value to call title from vb.net

am trying to call a hidden field and call the title as "apple" to my chart in javascript,

my code behind is :

   Dim title As String
            If RadioButtonList1.SelectedItem.Value = 1 Then
                title = "apple"
            End If

i have also made a hidden field so i can call it in the javascript highcharts.

   hidden10.Value

my problem is in the code behind how am i going to set the hidden value to "apple" so i can call hidden10 in javascript?

Upvotes: 0

Views: 100

Answers (1)

user2366842
user2366842

Reputation: 1216

try going

hidden10.Value = title 

after assigning it to "apple" then retrieving the value from javascript.

Upvotes: 1

Related Questions