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

update panel

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

    im trying to use the update panel but it updates the entire page as supposed to the update panel. i cant find what i have done wrong. can anyone help??? Many thanks in advance ==================================================================================== <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> Untitled Page

    ===========================code behind================ Protected Sub Button1_Click1(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = "Refreshed at " & _ DateTime.Now.ToString() End Sub

    B 1 Reply Last reply
    0
    • S solarthur01

      im trying to use the update panel but it updates the entire page as supposed to the update panel. i cant find what i have done wrong. can anyone help??? Many thanks in advance ==================================================================================== <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> Untitled Page

      ===========================code behind================ Protected Sub Button1_Click1(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = "Refreshed at " & _ DateTime.Now.ToString() End Sub

      B Offline
      B Offline
      bokuceres
      wrote on last edited by
      #2

      you can always try another method in using updatepanel. example :

      aspajax:updatepanel id="upGetContract" updatemode="conditional" runat="server"
      contenttemplate
      /*bunch of controls*/
      contenttemplate
      triggers
      aspajax:asyncpostbacktrigger controlid="btnSearch" eventname="Click"
      triggers
      aspajax:updatepanel

      hope it help nb : i dont know why if i give "<" or ">" the code will not be shown... but i believe u got what i mean

      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