Buy Questpond's video subscriptions on
huge discount
.
Online: 3829
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
ASP.NET
>
Loading ...
difference between postback and asynchronous postback triggers
Posted by
Laghaterohan
under
ASP.NET
on 5/2/2011 |
Points: 10
| Views : 19547 | Status :
[Member]
| Replies : 3
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
Hello,
Can any one please explain me the difference between postback and asynchronous postback triggers in a plain simple words?? I am confused....
Best Regards,
Rohan Laghate
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
SheoNarayan
on: 5/2/2011
[Administrator]
HonoraryPlatinum
|
Points: 25
0
Asynchronous Postback triggers update the page partially without refreshing the whole page (AJAX)
Postback triggers update the complete page caused by complete post of the page to the server.
Hope this will help you understand these two concepts usually used in AJAX.
Regards,
Sheo Narayan
http://www.dotnetfunda.com
Laghaterohan
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Laghaterohan
on: 5/3/2011
[Member]
Starter
|
Points: 25
0
ok cool...so how does if affect if i have a button placed inside a update panel?
Apparently i have a gridview and a button both of them are placed inside a update panel with no triggers..The button is basically for exporting the gridview containts in xls format....but i got error on click on the button.
When i added a post back trigger it works fine....why is this so?
Thanks!
Best Regards,
Rohan Laghate
Laghaterohan
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Ndebata
on: 5/4/2011
[Member]
Starter
|
Points: 25
0
Hi
By default when no triggers are defined for a control placed in a updatepanel that does postback is an Asynchronous Postback where page is rendered partially and script manager handles it, In your case i think you are writing your file to response object and ending the response, so header content has been modified which is invalid for scriptmanager.
Thanks,
Debata
Laghaterohan
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...