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. Update panel problem

Update panel problem

Scheduled Pinned Locked Moved ASP.NET
helpannouncement
3 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
    muniratnam
    wrote on last edited by
    #1

    Hi guys, I have one problem while using update panel. i am loading usercontrols through placeholder. In that usercontrols i have used update panel. Consider i am having an linkbutton in the usercontrol, the linkbutton event is not firing at first time.... any body knows the solution .... its urgent plz reply... Regards Muniratnam

    4 1 Reply Last reply
    0
    • M muniratnam

      Hi guys, I have one problem while using update panel. i am loading usercontrols through placeholder. In that usercontrols i have used update panel. Consider i am having an linkbutton in the usercontrol, the linkbutton event is not firing at first time.... any body knows the solution .... its urgent plz reply... Regards Muniratnam

      4 Offline
      4 Offline
      4anusha4
      wrote on last edited by
      #2

      can u show the code

      M 1 Reply Last reply
      0
      • 4 4anusha4

        can u show the code

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

        Default.aspx ---------- <body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <!-- Site Container --> <asp:UpdatePanel ID="UpdatePanel" runat="server"> <ContentTemplate> <div> <asp:PlaceHolder ID="PlaceHolder_content" runat="server"></asp:PlaceHolder> </div> </div> </ContentTemplate> </asp:UpdatePanel> <!-- /Site Container --> </form> </body> Default.aspx.cs --------------- public string page; protected void Page_Load(object sender, EventArgs e) { PlaceHolder_content.Controls.Clear(); CompareScheme CompareScheme_Ctrl = (CompareScheme)LoadControl("CompareScheme.ascx"); PlaceHolder_content.Controls.Add(CompareScheme_Ctrl); } CompareScheme.ascx (user COntrol) ------------------- <div class="find_fund" style="padding-left: 10px; padding-top: 10px;"> <div class="find_top"> <div class="topnews_label"> Compare Schemes</div> </div> <div class="find_middle1"> <div class="LH" style="margin-left: 1px; margin-right: 1px;"> <table cellpadding="0" cellspacing="0" border="0" width="100%" > <tr> <td> Select Category </td> <td> <asp:DropDownList ID="ddl_category" style="width:250px; font-size: 12px; color: #828282; padding-left: 6px;" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddl_category_SelectedIndexChanged"> </asp:DropDownList> </td> </tr> <tr> <td> Select Scheme1 </td> <td> <asp:DropDownList ID="ddl_scheme1" style="width:250px; font-size: 12px; color: #828282; padding-left: 6px;" Width="250px" runat="server"> </asp:DropDownList> </td> </tr>

        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