Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET Ajax
<asp:ScriptManager ID="ScriptManager2" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel25" runat="server" UpdateMode="Conditional">
    <ContentTemplate >
 
    <asp:TextBox ID="TextBox23" runat="server"
            style="z-index: 1; left: 745px; top: 177px; position: absolute"
            ontextchanged="TextBox23_TextChanged" ></asp:TextBox>
            <asp:Label ID="Label55" runat="server" Font-Size="Small" ForeColor="Red"
            style="z-index: 1; left: 883px; top: 61px; position: absolute; height: 35px; width: 147px"
            Text="Login ID already exists. try another."></asp:Label>
    </ContentTemplate>
 
    </asp:UpdatePanel>
 
It works but goes to server (TextBox23). Plase help.
Posted 23-Sep-12 19:20pm
Comments
Sandeep Mewara at 24-Sep-12 10:56am
   
Not clear about your expectation and what you want.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

And what did you expected to do?
It post the page to the server, using ajax, and after you change something on the server side it will return and refress only the part contained in the ContentTemplate.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 365
1 Sergey Alexandrovich Kryukov 242
2 OriginalGriff 165
3 George Jonsson 159
4 Richard MacCutchan 110
0 OriginalGriff 6,344
1 Sergey Alexandrovich Kryukov 5,860
2 CPallini 5,135
3 George Jonsson 3,559
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 24 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100