Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event.
The error above occur when you try to call method on web service asynchronously.
The solution is to add Async equal to true in your aspx page.
<%@ Page Title="" Language="C#" MasterPageFile="~/Application/Site1.Master" AutoEventWireup="true" Async="true" %>
By Mohd Zulkamal
NOTE : – If You have Found this post Helpful, I will appreciate if you can Share it on Facebook, Twitter and Other Social Media Sites. Thanks =)
0 comments:
Post a Comment