G
Guest
Hi all,
I'm having a little problem here.. my code is:
Session("test") = Button46.Text
Button46.Attributes.Add("Onclick", "opennewpage()")
i have this code inside the button click, which means that it needs 2 clicks
to take place. becuase the first click sets it and the 2nd does it, or
something like that...
if i move the "button46.attributes.add("onclick","opennewpage()")" code to
the page load event, it works great... 1 click and the page opens..
now my problem is how do i set the session variable and open the page with 1
click..
if i leave the session var in the button click and the other in the page
load, then it will always be back one, if you know what i mean...
any ideas???
I'm having a little problem here.. my code is:
Session("test") = Button46.Text
Button46.Attributes.Add("Onclick", "opennewpage()")
i have this code inside the button click, which means that it needs 2 clicks
to take place. becuase the first click sets it and the 2nd does it, or
something like that...
if i move the "button46.attributes.add("onclick","opennewpage()")" code to
the page load event, it works great... 1 click and the page opens..
now my problem is how do i set the session variable and open the page with 1
click..
if i leave the session var in the button click and the other in the page
load, then it will always be back one, if you know what i mean...
any ideas???