Click here to Skip to main content
15,899,026 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncopy stored procedures using visual studio 2005 Pin
TheEagle19-Jul-07 5:31
TheEagle19-Jul-07 5:31 
AnswerRe: copy stored procedures using visual studio 2005 Pin
doWhileSomething19-Jul-07 8:23
doWhileSomething19-Jul-07 8:23 
GeneralRe: copy stored procedures using visual studio 2005 Pin
TheEagle19-Jul-07 9:22
TheEagle19-Jul-07 9:22 
GeneralRe: copy stored procedures using visual studio 2005 Pin
doWhileSomething19-Jul-07 10:17
doWhileSomething19-Jul-07 10:17 
GeneralRe: copy stored procedures using visual studio 2005 Pin
TheEagle19-Jul-07 11:06
TheEagle19-Jul-07 11:06 
GeneralRe: copy stored procedures using visual studio 2005 Pin
doWhileSomething19-Jul-07 12:35
doWhileSomething19-Jul-07 12:35 
GeneralRe: copy stored procedures using visual studio 2005 Pin
TheEagle19-Jul-07 18:19
TheEagle19-Jul-07 18:19 
QuestionProblem passing data to javascript Pin
TAK7819-Jul-07 4:49
TAK7819-Jul-07 4:49 
I'm retrieving data from the database and try to pass it on to a javascript function so I can process it. I get a javascript error when I try to pass the value.

Here is my code:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim val As String = CType(FormView2.FindControl("ImgList"), HtmlInputHidden).Value
MsgBox(val)
Dim script As String = ""

script = ""
script &= "var str = String(" & val & ");"
script &= "alert(str);"
script &= "setImageArr(" & str & ");"
script &= ""

Page.ClientScript.RegisterClientScriptBlock(Me.GetType, "SetList", script)

End Sub

When I check via MsgBox the right value shows, but it want show in the javascript.
Any suggestions.
Thanks
AnswerRe: Problem passing data to javascript Pin
Eduard Keilholz19-Jul-07 5:13
Eduard Keilholz19-Jul-07 5:13 
AnswerRe: Problem passing data to javascript Pin
Guffa19-Jul-07 5:52
Guffa19-Jul-07 5:52 
GeneralRe: Problem passing data to javascript Pin
TAK7819-Jul-07 6:07
TAK7819-Jul-07 6:07 
GeneralRe: Problem passing data to javascript Pin
Eduard Keilholz19-Jul-07 6:26
Eduard Keilholz19-Jul-07 6:26 
GeneralRe: Problem passing data to javascript Pin
Vasudevan Deepak Kumar19-Jul-07 7:17
Vasudevan Deepak Kumar19-Jul-07 7:17 
AnswerRe: Problem passing data to javascript Pin
Guffa19-Jul-07 8:02
Guffa19-Jul-07 8:02 
AnswerRe: Problem passing data to javascript Pin
Guffa19-Jul-07 7:59
Guffa19-Jul-07 7:59 
AnswerRe: activating search by pressing enter(keyboard) Pin
Eduard Keilholz19-Jul-07 4:29
Eduard Keilholz19-Jul-07 4:29 
GeneralRe: activating search by pressing enter(keyboard) [modified] Pin
krishnamaneni.anil19-Jul-07 4:41
krishnamaneni.anil19-Jul-07 4:41 
GeneralRe: activating search by pressing enter(keyboard) Pin
Eduard Keilholz19-Jul-07 4:46
Eduard Keilholz19-Jul-07 4:46 
GeneralRe: activating search by pressing enter(keyboard) [modified] Pin
krishnamaneni.anil19-Jul-07 4:57
krishnamaneni.anil19-Jul-07 4:57 
GeneralRe: activating search by pressing enter(keyboard) Pin
Eduard Keilholz19-Jul-07 5:08
Eduard Keilholz19-Jul-07 5:08 
GeneralRe: activating search by pressing enter(keyboard) Pin
kubben19-Jul-07 7:08
kubben19-Jul-07 7:08 
QuestionWebservice security using WSE 3.0 Pin
Eduard Keilholz19-Jul-07 4:17
Eduard Keilholz19-Jul-07 4:17 
QuestionASP .net video tutorilas Pin
ciacia19-Jul-07 4:17
ciacia19-Jul-07 4:17 
AnswerRe: ASP .net video tutorilas Pin
krishnamaneni.anil19-Jul-07 4:37
krishnamaneni.anil19-Jul-07 4:37 
AnswerRe: ASP .net video tutorilas Pin
Vasudevan Deepak Kumar19-Jul-07 7:19
Vasudevan Deepak Kumar19-Jul-07 7:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.