Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. add/remove toolkit

add/remove toolkit

Scheduled Pinned Locked Moved ASP.NET
winformsquestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    krisman
    wrote on last edited by
    #1

    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

    H 1 Reply Last reply
    0
    • K krisman

      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

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      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-----

      K 1 Reply Last reply
      0
      • H Heath Stewart

        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-----

        K Offline
        K Offline
        krisman
        wrote on last edited by
        #3

        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

        H 1 Reply Last reply
        0
        • K krisman

          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

          H Offline
          H Offline
          Heath Stewart
          wrote on last edited by
          #4

          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-----

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups