मैंने एक कस्टम एएसपी.NET नियंत्रण लिखा है और मैंने इसे एसिंक लोड इवेंट हैंडलर के लिए अभी अपडेट किया है। करता पहले से ही <%@ Page Async="true" %>
टैग हैकौन सा एएसपी.नेट जीवन चक्र घटनाएं एसिंक हो सकती हैं?
An asynchronous operation cannot be started at this time. Asynchronous operations may only be started within an asynchronous handler or module or during certain events in the Page lifecycle. If this exception occurred while executing a Page, ensure that the Page is marked <%@ Page Async="true" %>.
पेज: अब मैं इस त्रुटि हो रही है। इसलिए मैं इसे लेता हूं कि नियंत्रण में एसिंक लोड इवेंट हैंडलर नहीं हो सकते हैं।
एएसपी.NET वेबफॉर्म जीवनशैली में घटनाओं की एक व्यापक सूची कहां मिल सकती है जिसे एसिंक होने की अनुमति है?
यह आलेख यह आपकी मदद कर सकता है: http://msdn.microsoft.com/en-us/magazine/gg598924.aspx – Aristos
धन्यवाद। निश्चित रूप से एक अच्छा पढ़ा, हालांकि यह मेरे प्रश्न का उत्तर नहीं देता है। –
यह थोड़ा सा समझाता है, और एमएसडीएन की तुलना में बहुत अधिक उदाहरण कोड देता है, लेकिन फिर भी आपके प्रश्न का उत्तर नहीं देता है:/ http://www.asp.net/web-forms/tutorials/aspnet-45/ एसिंक्रोनस-विधियों-इन-एस्पनेट -45 – mirichan