![]() |
|
|
|||||||
![]() |
ASP Net - start a popup window without postback? |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Now I has the web button control "help" button which is starting a new window
in clinet side by clicking it. OnClick for the button will start a JavaScrip which uses window.open() to open help.html page in a new window. It works OK to open window, but the original window is refreshed when clicking the button. The reason is the web button control has a postback action (since it is submit type). My question is: Can I do this (open help.html) without refreshing the original window? Thank you for any help. David =?Utf-8?B?ZGF2aWQ=?= |
|
|
|
|
#2 |
|
Posts: n/a
|
Does it have to be a server control ? If all it is going is opening a
window, might as well use html button <input type="button"> "david" <> wrote in message news:A9DD3E82-C801-4CD0-AE31-... > Now I has the web button control "help" button which is starting a new > window > in clinet side by clicking it. OnClick for the button will start a > JavaScrip > which uses window.open() to open help.html page in a new window. It works > OK > to open window, but the original window is refreshed when clicking the > button. The reason is the web button control has a postback action (since > it > is submit type). My question is: > > Can I do this (open help.html) without refreshing the original window? > > Thank you for any help. > > David Swanand Mokashi |
|
|
|
#3 |
|
Posts: n/a
|
I just use the button in toolbox in Visual Studio.
David "Swanand Mokashi" wrote: > Does it have to be a server control ? If all it is going is opening a > window, might as well use html button <input type="button"> > > > "david" <> wrote in message > news:A9DD3E82-C801-4CD0-AE31-... > > Now I has the web button control "help" button which is starting a new > > window > > in clinet side by clicking it. OnClick for the button will start a > > JavaScrip > > which uses window.open() to open help.html page in a new window. It works > > OK > > to open window, but the original window is refreshed when clicking the > > button. The reason is the web button control has a postback action (since > > it > > is submit type). My question is: > > > > Can I do this (open help.html) without refreshing the original window? > > > > Thank you for any help. > > > > David > > > =?Utf-8?B?ZGF2aWQ=?= |
|
|
|
#4 |
|
Posts: n/a
|
You have used the 'Web Forms' button, this will cause a post back, you need
to use the 'HTML' button. This will solve your problem. Regards "david" wrote: > I just use the button in toolbox in Visual Studio. > > David > > "Swanand Mokashi" wrote: > > > Does it have to be a server control ? If all it is going is opening a > > window, might as well use html button <input type="button"> > > > > > > "david" <> wrote in message > > news:A9DD3E82-C801-4CD0-AE31-... > > > Now I has the web button control "help" button which is starting a new > > > window > > > in clinet side by clicking it. OnClick for the button will start a > > > JavaScrip > > > which uses window.open() to open help.html page in a new window. It works > > > OK > > > to open window, but the original window is refreshed when clicking the > > > button. The reason is the web button control has a postback action (since > > > it > > > is submit type). My question is: > > > > > > Can I do this (open help.html) without refreshing the original window? > > > > > > Thank you for any help. > > > > > > David > > > > > > =?Utf-8?B?U3RldmVu?= |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cisco 2600 - Inbound NAT translation/Port-forwarding not working | Greg | Hardware | 0 | 11-20-2008 07:33 PM |
| How we can get the value of textbox from POpup window in asp.net2.0 with C# | gautam2u@gmail.com | Software | 2 | 02-07-2008 03:10 AM |
| new window minimizes to taskbar | -D- | A+ Certification | 0 | 03-03-2007 01:07 AM |
| How do I create a popup window in VB.NET? | InsideEdge | General Help Related Topics | 0 | 10-03-2006 09:21 PM |
| Popup error message | Raymond | A+ Certification | 1 | 11-27-2004 03:10 PM |