ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.How to access asp.net controls in web method in ASP.Net<p>Hi,</p> <div class="post-text"> <p>Well, that's not the correct approach. At the web service method level you cannot see anything about the page structure. In this method you can only load your list of items and return it. Where this list is binded to is none of GetListItems' business.</p> <p>You can manage the display of the Items by implementing a callback function (see <a href="http://mattberseth.com/blog/2007/06/aspnet_ajax_invoke_a_static_me.html">http://mattberseth.com/blog/2007/06/aspnet_ajax_invoke_a_static_me.html</a> for example) or by using the UpdatePanel approach.</p> </div>https://www.aspforums.net:443/Threads/514350/How-to-access-aspnet-controls-in-web-method-in-ASPNet/https://www.aspforums.net:443/Threads/514350/How-to-access-aspnet-controls-in-web-method-in-ASPNet/Fri, 08 Apr 2016 04:39:41 GMT