You can't do this with a private variable, but you can with a Protected
variable. Here's a simple example of embedded use within a javascript block
in the .aspx page, referencing a variable in the code-behind:
..
..
..
<%If sPopupedWindow <> "" Then%>
newwindow=window.open("<%=sPopupedWindow%>");
<%End If%>
</SCRIPT>
references:
Protected sPopupedWindow As String
"Srinivasan" <seenusathya@-NOSPAM-hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I want to include javascript confirm inside the Button_Click even
procedure and contine the process based on the user selection. The real
problem is how to assign javascript confirm return value to the private
variable declared inside Button_Click event. Please any one help me.
---
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup
engine supports Post Alerts, Ratings, and Searching.