add/remove toolkit
-
Hi. Is the add/remove toolkit just for Windows Forms? I'm trying to find it for my webforms, but it is nowhere to be seen. I'm trying to do popup window for a webpage. Krisman
What do you mean? The toolbox? Both Windows Forms and Web Forms have their own set of tool items, and you can't use a Windows Form to do a popup window. Remember that ASP.NET is strictly server-side execution while it generates HTML, images, and scripts on the server that the client downloads. In order to to popup Windows, you have to generate appropriate client-side javascript. There is an ASP.NET Popup Window control that does this automatically listed on the homepage for CodeProject. Look there.
-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----
-
What do you mean? The toolbox? Both Windows Forms and Web Forms have their own set of tool items, and you can't use a Windows Form to do a popup window. Remember that ASP.NET is strictly server-side execution while it generates HTML, images, and scripts on the server that the client downloads. In order to to popup Windows, you have to generate appropriate client-side javascript. There is an ASP.NET Popup Window control that does this automatically listed on the homepage for CodeProject. Look there.
-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----
-
I was hoping to create a windows type popup for my webform without using javascript (javascript and/or java is frowned upon where I'm working). Looks like I'm going to have to use javascript though. Thanks for the clarification. Krisman
Believe me, using a Windows Form is much more difficult, requires the .NET Framework to be installed on every client machine that wishes to use it (and is therefore currently limited to Windows 98 and higher, and Windows NT 4 SP6 and higher), and will be even more frowned upon! I've written several articles on this and it is not an easy thing to do and requires far too much for a simple popup! And if you can't use javascript on your site, then design your site so that you don't need popups, like remember form values, browsing to a different page, and then sending the selection(s) to the form with the original values back in it. Popups make some UI designers easier, but are not necessary.
-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----