Hi,
Hoping someone can help. I've got an ASPX page with a number of asp:ImageButtons triggering javascript window.open functions to open various new windows dependent on the button clicked.
My issue is that the "parent" page - i.e. where the button_click is triggered from - always refreshes. I realize this is going to happen unless I use PostBackUrl BUT my question is:
How can I run multiple PostBackUrls from a single page, because the first command seems to override all others, by which I mean all button_clicks perform the same open window action - rerunning a chart, for example.
I should use if (!IsPostBack) around everything I think, but where in the Code Behind?
Any assistance gratefully received (this is a .NET 2.0 project in C#, btw)...
Cheers!
Bob
lastdonuk
Powergirls Ltd
Hoping someone can help. I've got an ASPX page with a number of asp:ImageButtons triggering javascript window.open functions to open various new windows dependent on the button clicked.
My issue is that the "parent" page - i.e. where the button_click is triggered from - always refreshes. I realize this is going to happen unless I use PostBackUrl BUT my question is:
How can I run multiple PostBackUrls from a single page, because the first command seems to override all others, by which I mean all button_clicks perform the same open window action - rerunning a chart, for example.
I should use if (!IsPostBack) around everything I think, but where in the Code Behind?
Any assistance gratefully received (this is a .NET 2.0 project in C#, btw)...
Cheers!
Bob
lastdonuk
Powergirls Ltd