R
rbutch
hey guys i've got a question as to why something is happening.
basically building a web application, and i want to open up another .aspx form, but not
close the one i have.
so, i assign a button this.
MyButton.Attributes.Add("onclick", "window.open('MyForm.aspx');")
it works great but, it takes two clicks before it responds. i really do like the effect of the other .aspx file opening, leaving the main.aspx intact.
i was just wondering why, it takes "two-clicks".
the other thing i like is, it's minimal code.
does anyone know, why and is there a better solution, than the one i'm using?
thanks again
rik
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
basically building a web application, and i want to open up another .aspx form, but not
close the one i have.
so, i assign a button this.
MyButton.Attributes.Add("onclick", "window.open('MyForm.aspx');")
it works great but, it takes two clicks before it responds. i really do like the effect of the other .aspx file opening, leaving the main.aspx intact.
i was just wondering why, it takes "two-clicks".
the other thing i like is, it's minimal code.
does anyone know, why and is there a better solution, than the one i'm using?
thanks again
rik
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...