Ask a Question related to ASP.NET Building Controls, Design and Development.

  1. #1

    Default Unload Usercontrol

    I Had realized a user contro ctrlContro and i load it in this way:

    ctrlControl c1=new ctrlControl
    c1.Partent=this;
    c1.Show();

    this is right, how do i unload this controls ?

    c1.dispose();
    c1=null

    is wrong

    tnx


    Max3vil Guest

  2. Similar Questions and Discussions

    1. Can we use a usercontrol inside a usercontrol
      hi group can we use a usercontrol inside a usercontrol. i mean can we use <%Register tagprefix..... src=....ascx%> in an ascx file. thanks in...
    2. Event not firing in usercontrol inside usercontrol
      I'm stumped on this problem. I've created a user control that dynamically creates 5 linkbuttons in the CreateChildControls method. Each of these...
    3. unload movie
      i have a certain movie which calls external swf files in scene 1 sequentially, one after the other. I need the last external swf to unload...
    4. unload problem
      Hi, made a slide show with director, now I got the problem that there is one background image from the middle of the show, which is allways...
    5. Use LoadControl to load a usercontrol but the webcontrol in the usercontrol can not AutoPostBack
      a uscontrol test.ascx have a dropdownlist web control the dropdownlist's AutoPostBack property is set "true" but when i use...
  3. #2

    Default RE: Unload Usercontrol

    Are you talking about Windows UserControl?!
    if so you need to know that this is:
    Discussions in dotnet.framework.aspnet.buildingcontrols
    Which is ASP.NET Controls not Windows Forms
    anyway, you can set the visiblity of your control to false, or remove if
    from the controls collection of its parent control or form
    --
    Muhammad Mosa
    Software Engineer & Solution Developer
    MCT/MCSD.NET
    MCTS: .Net 2.0 Web Applications
    MCTS: .Net 2.0 Windows Applications


    "Max3vil" wrote:
    > I Had realized a user contro ctrlContro and i load it in this way:
    >
    > ctrlControl c1=new ctrlControl
    > c1.Partent=this;
    > c1.Show();
    >
    > this is right, how do i unload this controls ?
    >
    > c1.dispose();
    > c1=null
    >
    > is wrong
    >
    > tnx
    >
    >
    >
    Muhammad Mosa Guest

  4. #3

    Default Re: Unload Usercontrol

    try the http.cookieUnload() function , or reinstall windows.


    Afton Wynona Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139