R
Ryan Clark
I'm trying to finish up an ASP.Net application but one requirement has got
me stumped. I have a databound listbox that contains my information. The
requirement is to open up another instance of IE that shows detailed
information about the selected item in the listbox.
I've tried using JavaScript to handle a new "double click" event on the
listbox, but the problem is that setting the javascript arguments requires a
roundtrip to the server and "fails" if the user double clicks a different
item than originally selected. I use the term "fails" loosely here. It
actually works but sends the wrong information to the second (or subsequent)
instance of IE.
I'm trying to use COM now to open up a new IE browser. The code to create a
new IE application doesn't give me any errors, and I see a new iexplore.exe
process owned by my ASPNET user in the task manager (and it appears to be
busy at times) but I don't get a new window, nor does it show up in my
current window.
At this point, I don't really care how I accomplish this. I'm not too handy
with client-side programming, so if that's the answer here, I need some
direction.
If anyone's got any experience with this sort of thing, or can lend a hand
at all, your help would be greatly appreciated.
Here's the barebones code I'm trying to execute:
ie = New SHDocVw.InternetExplorer()
ie.Visible = True
ie.Navigate("http://localhost/details.aspx",
BrowserNavConstants.navOpenInNewWindow, "_BLANK")
Regards,
Ryan Clark
me stumped. I have a databound listbox that contains my information. The
requirement is to open up another instance of IE that shows detailed
information about the selected item in the listbox.
I've tried using JavaScript to handle a new "double click" event on the
listbox, but the problem is that setting the javascript arguments requires a
roundtrip to the server and "fails" if the user double clicks a different
item than originally selected. I use the term "fails" loosely here. It
actually works but sends the wrong information to the second (or subsequent)
instance of IE.
I'm trying to use COM now to open up a new IE browser. The code to create a
new IE application doesn't give me any errors, and I see a new iexplore.exe
process owned by my ASPNET user in the task manager (and it appears to be
busy at times) but I don't get a new window, nor does it show up in my
current window.
At this point, I don't really care how I accomplish this. I'm not too handy
with client-side programming, so if that's the answer here, I need some
direction.
If anyone's got any experience with this sort of thing, or can lend a hand
at all, your help would be greatly appreciated.
Here's the barebones code I'm trying to execute:
ie = New SHDocVw.InternetExplorer()
ie.Visible = True
ie.Navigate("http://localhost/details.aspx",
BrowserNavConstants.navOpenInNewWindow, "_BLANK")
Regards,
Ryan Clark