How can i pass the value of two variables into a click event in my ASP.net forms application.
i have 2 varaibles:
DocNo & Prefix which i need the values of in the click event, i am new to this i know i obviously cannot use ByVal which is used further down the document,
here is my code block in which i need to pass the varaibles into,
If Settings.IsCountryMode("USA") Then
Script = "ShowPrintJobQuestionModal('" & Prefix & "', '" & DocNo & "', " & PrintDLG & ", " & Reprint & ", '" & ScrollBars & "');"
'Redriects to a page in a new separate window
'CreateOutput(AutoworkDocument.dt.job, Assign, AWDLineNo)
Else
General.RunJava(Me, General.OutputDoc("^", "", , , , , , False), "MultiDoc")
End If
RunJava(Script)