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
  1. Home
  2. Web Development
  3. ASP.NET
  4. UserControl Event won't fier

UserControl Event won't fier

Scheduled Pinned Locked Moved ASP.NET
7 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.
  • M Offline
    M Offline
    mohammadSoft
    wrote on last edited by
    #1

    When a user control is loaded into a other control such az panel or other usercontrol dynamically the events do not fire.

    I 1 Reply Last reply
    0
    • M mohammadSoft

      When a user control is loaded into a other control such az panel or other usercontrol dynamically the events do not fire.

      I Offline
      I Offline
      Imran Khan Pathan
      wrote on last edited by
      #2

      Which Event? find control of usercontrol and Use EventHandler for that control Best Regard Pathan

      GOD HELP THOSE WHO HELP THEMSELVES

      M 1 Reply Last reply
      0
      • I Imran Khan Pathan

        Which Event? find control of usercontrol and Use EventHandler for that control Best Regard Pathan

        GOD HELP THOSE WHO HELP THEMSELVES

        M Offline
        M Offline
        mohammadSoft
        wrote on last edited by
        #3

        Thanks For Answer. For example my usercontrol have one button ,when my user control add to another usercontrol click event not fier but usercontrol load event is fiered.

        I 1 Reply Last reply
        0
        • M mohammadSoft

          Thanks For Answer. For example my usercontrol have one button ,when my user control add to another usercontrol click event not fier but usercontrol load event is fiered.

          I Offline
          I Offline
          Imran Khan Pathan
          wrote on last edited by
          #4

          post ur ascx.cs file code and also ascx html source code Best Regard Pathan

          GOD HELP THOSE WHO HELP THEMSELVES

          M 1 Reply Last reply
          0
          • I Imran Khan Pathan

            post ur ascx.cs file code and also ascx html source code Best Regard Pathan

            GOD HELP THOSE WHO HELP THEMSELVES

            M Offline
            M Offline
            mohammadSoft
            wrote on last edited by
            #5

            <%@ Control Language="C#" AutoEventWireup="true" CodeFile="uc_CP_Product_Category.ascx.cs" Inherits="Products_CP_ModifyControl_uc_CP_Product_Category" %> <%@ Register Src="WebUserControl.ascx" TagName="WebUserControl" TagPrefix="uc2" %> <%@ Register Src="WebUserControl2.ascx" TagName="WebUserControl2" TagPrefix="uc3" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> <%@ Register Src="uc_Mdf_Products_Category.ascx" TagName="uc_Mdf_Products_Category" TagPrefix="uc1" %>

            I 1 Reply Last reply
            0
            • M mohammadSoft

              <%@ Control Language="C#" AutoEventWireup="true" CodeFile="uc_CP_Product_Category.ascx.cs" Inherits="Products_CP_ModifyControl_uc_CP_Product_Category" %> <%@ Register Src="WebUserControl.ascx" TagName="WebUserControl" TagPrefix="uc2" %> <%@ Register Src="WebUserControl2.ascx" TagName="WebUserControl2" TagPrefix="uc3" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> <%@ Register Src="uc_Mdf_Products_Category.ascx" TagName="uc_Mdf_Products_Category" TagPrefix="uc1" %>

              I Offline
              I Offline
              Imran Khan Pathan
              wrote on last edited by
              #6

              Where is ur Button1 control? Best Regard Pathan

              GOD HELP THOSE WHO HELP THEMSELVES

              M 1 Reply Last reply
              0
              • I Imran Khan Pathan

                Where is ur Button1 control? Best Regard Pathan

                GOD HELP THOSE WHO HELP THEMSELVES

                M Offline
                M Offline
                mohammadSoft
                wrote on last edited by
                #7

                asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" -- modified at 6:41 Thursday 19th July, 2007

                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