I have an ASP.Net User Control that contains an ASP:Panel control on it. In my AjaxMethod, I am querying a DB, returning a dataset table that may be empty or actually contain rows. If it is empty, I want to set the Visible proprty of the panel to True, if it contains data, set it to False. The problem is that when I issue the Panel.Visible=False command, a null is returned and is shown in the panel.
Is it possible to set a property like this in an AjaxMethod? J.Zinn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ajaxpro The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info -~----------~----~----~----~------~----~------~--~---
