Click here to Skip to main content
15,892,005 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Entity Model Insert Pin
Edbert P3-Sep-09 16:46
Edbert P3-Sep-09 16:46 
GeneralRe: Entity Model Insert Pin
ToddHileHoffer4-Sep-09 3:48
ToddHileHoffer4-Sep-09 3:48 
QuestionDynamically populate dropdown dependent on another dropdown using SqlDataSource Pin
rikhav3-Sep-09 2:28
rikhav3-Sep-09 2:28 
AnswerRe: Dynamically populate dropdown dependent on another dropdown using SqlDataSource Pin
Arun Jacob3-Sep-09 2:35
Arun Jacob3-Sep-09 2:35 
QuestionGridView inside UpdatePanel not Uploading Image Pin
.NET- India 3-Sep-09 1:55
.NET- India 3-Sep-09 1:55 
AnswerRe: GridView inside UpdatePanel not Uploading Image Pin
Abhishek Sur3-Sep-09 7:48
professionalAbhishek Sur3-Sep-09 7:48 
GeneralRe: GridView inside UpdatePanel not Uploading Image Pin
.NET- India 3-Sep-09 21:38
.NET- India 3-Sep-09 21:38 
GeneralRe: GridView inside UpdatePanel not Uploading Image [modified] Pin
Abhishek Sur4-Sep-09 7:45
professionalAbhishek Sur4-Sep-09 7:45 
AFAIK... Postback trigger will used to postback the whole page to the server...
The controlId of the PostBack trigger should be the control that should invoke the Postback from within the UpdatePanel.

If you want Button1 which is placed within the UpdatePanel to postback the page, rather than going for partial update, just use ControlID = "Button1" For your help, lets give you a sample code :


<asp:UpdatePanel ID="upTest" ChildrenAsTriggers="False" UpdateMode="Conditional" runat="server">
           <ContentTemplate>
           <asp:Label ID="lblResults" runat="server"></asp:Label><br /><br />
           <asp:Button ID="btnAsync" Text="Asynch Post" runat="server" OnClick="btnAsync_Click" />
           <asp:Button ID="btnFullPost" Text="Full Post" runat="server" OnClick="btnFullPost_Click" >
           </ContentTemplate>
           <Triggers>
               <asp:AsyncPostBackTrigger ControlID="btnAsync" EventName="Click" />
               <asp:PostBackTrigger ControlID="btnFullPost" />
           </Triggers>
       </asp:UpdatePanel>


AsyncPostBackTrigger will postback asynchronously while PostBackTrigger will do this normally...

Cool | :cool:

Abhishek Sur

My Latest Articles
Create CLR objects in SQL Server 2005
C# Uncommon Keywords
Read/Write Excel using OleDB

Don't forget to click "Good Answer" if you like to.

modified on Wednesday, November 18, 2009 4:52 PM

GeneralRe: GridView inside UpdatePanel not Uploading Image Pin
macupryk28-Oct-09 14:58
macupryk28-Oct-09 14:58 
QuestionConnection string for ms access database in website Pin
manish.m.meshram3-Sep-09 1:25
manish.m.meshram3-Sep-09 1:25 
AnswerRe: Connection string for ms access database in website Pin
Not Active3-Sep-09 1:31
mentorNot Active3-Sep-09 1:31 
AnswerRe: Connection string for ms access database in website Pin
Abhishek Sur3-Sep-09 7:59
professionalAbhishek Sur3-Sep-09 7:59 
Questionpassing session details from user control Pin
dotnetcsharpdev3-Sep-09 0:49
dotnetcsharpdev3-Sep-09 0:49 
AnswerRe: passing session details from user control Pin
Not Active3-Sep-09 1:33
mentorNot Active3-Sep-09 1:33 
GeneralRe: passing session details from user control Pin
dotnetcsharpdev3-Sep-09 1:37
dotnetcsharpdev3-Sep-09 1:37 
GeneralRe: passing session details from user control Pin
Not Active3-Sep-09 2:01
mentorNot Active3-Sep-09 2:01 
GeneralRe: passing session details from user control Pin
dotnetcsharpdev3-Sep-09 5:45
dotnetcsharpdev3-Sep-09 5:45 
AnswerRe: passing session details from user control Pin
Arun Jacob3-Sep-09 2:21
Arun Jacob3-Sep-09 2:21 
GeneralRe: passing session details from user control Pin
Not Active3-Sep-09 2:23
mentorNot Active3-Sep-09 2:23 
QuestionImage Display using Asp:Image Pin
Amit Patel19853-Sep-09 0:42
Amit Patel19853-Sep-09 0:42 
AnswerRe: Image Display using Asp:Image Pin
Christian Graus3-Sep-09 2:08
protectorChristian Graus3-Sep-09 2:08 
QuestionDetailsView Pin
allanrai3-Sep-09 0:11
allanrai3-Sep-09 0:11 
QuestionSecurity exception after hosting Pin
reogeo20082-Sep-09 23:22
reogeo20082-Sep-09 23:22 
AnswerRe: Security exception after hosting Pin
SeMartens2-Sep-09 23:45
SeMartens2-Sep-09 23:45 
Questionexchange information between server and client Pin
marwa_noor2-Sep-09 23:15
marwa_noor2-Sep-09 23:15 

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.