Popup Control Causes Full Page Post Back

Last post 05-30-2009 1:53 AM by ketanbece. 4 replies.

Sort Posts:

  • Popup Control Causes Full Page Post Back

    02-20-2007, 1:48 PM
    • Member
      12 point Member
    • wamra
    • Member since 10-02-2002, 9:31 PM
    • Posts 4

    Ok This is driving me nuts, I am not sure if I forgot to do something or if there is a bug in the ToolKit .... 1.0.10201.0

     My problem is that the popup control extender causes the update panel to do full page post backs instead of async...

     I comment out the popup control extender then the update panel refreshes asyncronasly...

    can any one tell me whats wrong please :)

     

    <form id="form1" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server" />

    <br />

    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>

    <div>

    </div>

    <asp:Panel ID="pnlCancel" runat="server" Height="50px" Width="125px">

    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">

    <ContentTemplate>

    &nbsp;<asp:Label ID="lblDate" runat="server"></asp:Label>

    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="GenerateAsyncDate" />

    </ContentTemplate>

    <Triggers>

    <asp:AsyncPostBackTrigger ControlID="Button1" />

    </Triggers>

    </asp:UpdatePanel>

    </asp:Panel>

    comment this and try

    <cc1:PopupControlExtender ID="PopupControlExtender1" runat="server" TargetControlID="Label1"

    PopupControlID="pnlCancel" Position="Right"/>

    </form>

     

     

    Sam Abdallah

     

    Wesam A Abdallah
  • Re: Popup Control Causes Full Page Post Back

    02-23-2007, 6:40 PM
    • Star
      8,710 point Star
    • David Anson
    • Member since 04-11-2006, 1:39 AM
    • Microsoft
    • Posts 1,842
    • AspNetTeam
    Try removing the trigger; I don't think it's necessary.

    http://blogs.msdn.com/delay

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Popup Control Causes Full Page Post Back

    05-30-2009, 1:25 AM
    • Member
      58 point Member
    • ketanbece
    • Member since 10-28-2008, 11:00 PM
    • Posts 25

     Hello There,

     

    Have u Got any Solutio Because i am having Same Problem.

     

    Please if u have Solution give in this Post.

     

    thank you.

     

    Let's Dicuss .Net Problem and Solution

  • Re: Popup Control Causes Full Page Post Back

    05-30-2009, 1:48 AM
    • Member
      58 point Member
    • ketanbece
    • Member since 10-28-2008, 11:00 PM
    • Posts 25

    Hey i have Solved Problem

    Put All Control in Update Panel and make UpodateMode = Conditional

     

    In my Page having many control and There are Master Concept used So May Be Whole page Not PostBack But this Trick Work For Me.

     

    Let's Discuss .Net Problems

     

     

  • Re: Popup Control Causes Full Page Post Back

    05-30-2009, 1:53 AM
    • Member
      58 point Member
    • ketanbece
    • Member since 10-28-2008, 11:00 PM
    • Posts 25

     And Sorry to Mention Importnet Thing to Do.

     

    Set UseSubmitBehavior="false"   Property

     

    I am Using Check Box List .this Property Can Also used in Button.

     

    Let's Dicuss .Net Problem

Page 1 of 1 (5 items)