Hide ASP.NET Ajax Popupcontrol
-
Hi All, I am using Ajax Popupcontrol to show a Gridview as a popup control. The gridview is embedded in a Panel. In this scenario user will select the code (eg Client No) in the autocomplete text box and will click search. Then it will popup the gridview showing records(quotations) related to the selected Cilent No. I want to hide showing Popupcontrol when the user click on search button without specifying a client no(and possibly diplay some error msg). I have tried few javascipts but all of them tend to show the empty panel as popup. Can anybody suggest me how can I achieve this? Another issue is Suppose a user first search Quotation for Client 1. Then when user trys to search Quotations for Client 2, First the popup will show the records relared to first search and then refreshes with records related to client 2. How Can I avoid this? Thanx in advance :doh:
samitha
-
Hi All, I am using Ajax Popupcontrol to show a Gridview as a popup control. The gridview is embedded in a Panel. In this scenario user will select the code (eg Client No) in the autocomplete text box and will click search. Then it will popup the gridview showing records(quotations) related to the selected Cilent No. I want to hide showing Popupcontrol when the user click on search button without specifying a client no(and possibly diplay some error msg). I have tried few javascipts but all of them tend to show the empty panel as popup. Can anybody suggest me how can I achieve this? Another issue is Suppose a user first search Quotation for Client 1. Then when user trys to search Quotations for Client 2, First the popup will show the records relared to first search and then refreshes with records related to client 2. How Can I avoid this? Thanx in advance :doh:
samitha
-
Hi All, I am using Ajax Popupcontrol to show a Gridview as a popup control. The gridview is embedded in a Panel. In this scenario user will select the code (eg Client No) in the autocomplete text box and will click search. Then it will popup the gridview showing records(quotations) related to the selected Cilent No. I want to hide showing Popupcontrol when the user click on search button without specifying a client no(and possibly diplay some error msg). I have tried few javascipts but all of them tend to show the empty panel as popup. Can anybody suggest me how can I achieve this? Another issue is Suppose a user first search Quotation for Client 1. Then when user trys to search Quotations for Client 2, First the popup will show the records relared to first search and then refreshes with records related to client 2. How Can I avoid this? Thanx in advance :doh:
samitha
-
Hi All, I am using Ajax Popupcontrol to show a Gridview as a popup control. The gridview is embedded in a Panel. In this scenario user will select the code (eg Client No) in the autocomplete text box and will click search. Then it will popup the gridview showing records(quotations) related to the selected Cilent No. I want to hide showing Popupcontrol when the user click on search button without specifying a client no(and possibly diplay some error msg). I have tried few javascipts but all of them tend to show the empty panel as popup. Can anybody suggest me how can I achieve this? Another issue is Suppose a user first search Quotation for Client 1. Then when user trys to search Quotations for Client 2, First the popup will show the records relared to first search and then refreshes with records related to client 2. How Can I avoid this? Thanx in advance :doh:
samitha