Click here to Skip to main content
15,886,689 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionResponse.BinaryWrite() from within CompositeControl does not work properly Pin
Member 325882310-Feb-08 13:27
Member 325882310-Feb-08 13:27 
Generalimport addresses from gmail, yahoo, hotmail, aol, etc. Pin
shefali_sinha10-Feb-08 12:52
shefali_sinha10-Feb-08 12:52 
GeneralRe: import addresses from gmail, yahoo, hotmail, aol, etc. Pin
dilipv12-Feb-08 0:02
dilipv12-Feb-08 0:02 
QuestionRe: import addresses from gmail, yahoo, hotmail, aol, etc. Pin
shefali_sinha13-Feb-08 8:13
shefali_sinha13-Feb-08 8:13 
GeneralRe: import addresses from gmail, yahoo, hotmail, aol, etc. Pin
sukkureddy26-May-08 19:47
sukkureddy26-May-08 19:47 
GeneralApplication of Digital Dictionary Pin
Abdul8510-Feb-08 7:19
Abdul8510-Feb-08 7:19 
GeneralRe: Application of Digital Dictionary Pin
Paul Conrad10-Feb-08 8:10
professionalPaul Conrad10-Feb-08 8:10 
QuestionAJAX updatepanel not preventing entire page postback? Pin
InvalidTypecast10-Feb-08 6:36
InvalidTypecast10-Feb-08 6:36 
Months ago in VS 2005 I did some demo projects with AJAX and everything worked.

I'm now using VS 2008 with the built in AJAX tools and I am running into some difficulty where the entire page is refreshing even though I have my event inside an update panel.

Here is my aspx page:
<br />
    <form id="form1" runat="server"><br />
    <div><br />
    <br />
        <asp:ScriptManager ID="ScriptManager1" runat="server"><br />
        </asp:ScriptManager><br />
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label><br />
        <br /><br />
        <asp:UpdatePanel ID="UpdatePanel1" runat="server"><br />
            <ContentTemplate><br />
                <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label><br />
                <br /><br />
                <asp:Button ID="Button1" runat="server" Text="Button" /><br />
            </ContentTemplate><br />
        </asp:UpdatePanel><br />
    <br />
    </div><br />
    </form><br />


Here is the page load code behind set to refresh the time in both labels.

protected void Page_Load(object sender, EventArgs e)<br />
        {<br />
            Label1.Text = System.DateTime.Now.ToString();<br />
            Label2.Text = System.DateTime.Now.ToString();<br />
        }


The problem I am having is that even though the button click event occurs inside the update panel the entire web page is posting back. Both labels refresh with the current datetime.

Any ideas?
AnswerRe: AJAX updatepanel not preventing entire page postback? Pin
InvalidTypecast11-Feb-08 2:40
InvalidTypecast11-Feb-08 2:40 
AnswerRe: AJAX updatepanel not preventing entire page postback? Pin
sukkureddy26-May-08 19:56
sukkureddy26-May-08 19:56 
AnswerRe: AJAX updatepanel not preventing entire page postback? Pin
sukkureddy26-May-08 19:58
sukkureddy26-May-08 19:58 
Generalembedded control Pin
Gareth H10-Feb-08 4:47
Gareth H10-Feb-08 4:47 
GeneralProblem with a nested repeater Pin
simsen10-Feb-08 0:21
simsen10-Feb-08 0:21 
GeneralRe: Problem with a nested repeater Pin
pmarfleet10-Feb-08 7:03
pmarfleet10-Feb-08 7:03 
GeneralRe: Problem with a nested repeater Pin
simsen10-Feb-08 7:48
simsen10-Feb-08 7:48 
GeneralRe: Problem with a nested repeater Pin
pmarfleet10-Feb-08 8:01
pmarfleet10-Feb-08 8:01 
GeneralRe: Problem with a nested repeater Pin
simsen10-Feb-08 8:21
simsen10-Feb-08 8:21 
QuestionCan I access Asp.net Website Adminstrator Tool from the server after deploying my web application? Pin
Nada Adel9-Feb-08 23:19
Nada Adel9-Feb-08 23:19 
AnswerRe: Can I access Asp.net Website Adminstrator Tool from the server after deploying my web application? Pin
pmarfleet10-Feb-08 7:02
pmarfleet10-Feb-08 7:02 
GeneralLogout Problem !!! Pin
masoodp6669-Feb-08 22:47
masoodp6669-Feb-08 22:47 
GeneralRe: Logout Problem !!! Pin
pmarfleet9-Feb-08 23:01
pmarfleet9-Feb-08 23:01 
GeneralRe: Logout Problem !!! [modified] Pin
masoodp66610-Feb-08 23:32
masoodp66610-Feb-08 23:32 
AnswerRe: Logout Problem !!! Pin
masoodp66611-Feb-08 0:48
masoodp66611-Feb-08 0:48 
Questionhow to get file from internet by using the webclient Pin
Shaik Haneef9-Feb-08 20:37
Shaik Haneef9-Feb-08 20:37 
AnswerDouble post Pin
pmarfleet9-Feb-08 22:56
pmarfleet9-Feb-08 22:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.