G
Guest
I know this is a dead horse I'm beating but why is it so impossible to ask
for functionality in the HTML tag to open a window/page more controllable?
why is:
<a href="somepage.aspx?value1=xyz" target="_blank">click here</a>
can't be:
<a href="somepage.aspx?value1=xyz" pagewidth="500px or %" page height="500px
or %" target="_blank">click here</a>
then what about in the code behind using:
response.redirect("somepage.aspx?value1=xyz", "width=500", "height=500")
to better control browser window opening, etc. Why is this asking for too
much?
I have a button that I add form the code behind the attributes.add function
for a JavaScript 'window.showModalDialog' but I also need to add some more
code (save data) before the opening of the new window. How can I do this once
the button is click and the 'on_click' fires, the window is opened.
using in code behind:
btnxyz.Attributes.Add("onclick",
"window.showModalDialog('page.aspx','dialogWidth:500px; scroll:no; help:0;
resizable:no; center:yes; edge:sunken; status:no')")
Can I turn on the AutoPostBack to "Submit" the form then will the
"On_Click"fire?
Sorry if so confusing. Thanx.
for functionality in the HTML tag to open a window/page more controllable?
why is:
<a href="somepage.aspx?value1=xyz" target="_blank">click here</a>
can't be:
<a href="somepage.aspx?value1=xyz" pagewidth="500px or %" page height="500px
or %" target="_blank">click here</a>
then what about in the code behind using:
response.redirect("somepage.aspx?value1=xyz", "width=500", "height=500")
to better control browser window opening, etc. Why is this asking for too
much?
I have a button that I add form the code behind the attributes.add function
for a JavaScript 'window.showModalDialog' but I also need to add some more
code (save data) before the opening of the new window. How can I do this once
the button is click and the 'on_click' fires, the window is opened.
using in code behind:
btnxyz.Attributes.Add("onclick",
"window.showModalDialog('page.aspx','dialogWidth:500px; scroll:no; help:0;
resizable:no; center:yes; edge:sunken; status:no')")
Can I turn on the AutoPostBack to "Submit" the form then will the
"On_Click"fire?
Sorry if so confusing. Thanx.