Popup Control
-
I am using a Ajax Modal Popup control for displaying error messages. it is a simple panel with a lable and a button. I am setting the .Text option of the label = to the error message string version but when I show the popup the .Text of the label is not shown. The property is filed because I 've made a watch on it an it contains the error but it is not displayed. Can someone help please?
-
I am using a Ajax Modal Popup control for displaying error messages. it is a simple panel with a lable and a button. I am setting the .Text option of the label = to the error message string version but when I show the popup the .Text of the label is not shown. The property is filed because I 've made a watch on it an it contains the error but it is not displayed. Can someone help please?
-
Are you using partial updates with AJAX? Just check whether the label control is inside the update panel and whether the trigger is set properly if update mode is set to conditional.
Either you love IT or leave IT...
-
Are you using partial updates with AJAX? Just check whether the label control is inside the update panel and whether the trigger is set properly if update mode is set to conditional.
Either you love IT or leave IT...
saanj, late to wish.. Congrats for Sharepoint Forum:) . BTW: I think you have missed out Fossils name in your favorite music band list. Am i correct ? ;)
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net
-
saanj, late to wish.. Congrats for Sharepoint Forum:) . BTW: I think you have missed out Fossils name in your favorite music band list. Am i correct ? ;)
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net
Hey Abhijeet, Congrats to you as well and thanks for your wish and support. Cactus is the band which I might have missed in my list but I am quite sure that Fossils is in your list right? It feels great to hear from you. :-\ Regards Saanj
Either you love IT or leave IT...
-
the button which is calling the popup is insid the update panel while the popup is outside the update panel. May be this is the cause? How can I solve it?
-
Do you set the text property of the label control on the button click event?
Either you love IT or leave IT...
-
Hey Abhijeet, Congrats to you as well and thanks for your wish and support. Cactus is the band which I might have missed in my list but I am quite sure that Fossils is in your list right? It feels great to hear from you. :-\ Regards Saanj
Either you love IT or leave IT...
Ya.. I like both of them even many more in the list. ;) Keep in touch.
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net
-
Please correct me if I got anything wrong. You are doing two tasks on button submit. One is setting the text of the label control on server side. The second one is to show the modal popup on client side. If the second one is true, then you will never be able to set the text property of the label control because the server side code to set the text will never be executed. :( If I got the right situation then I may suggest you to call the ModalPopup from code-behind so that you can also set the text of the label control in one go: ModalPopupExtender1.Show(); Label1.Text = "Yeppi, blah, blah, blah"; But showing the modal popup on a server side event may not be a best case. Check it and revert back to me in case of any confusion. Regards Saanj
Either you love IT or leave IT...
-
Please correct me if I got anything wrong. You are doing two tasks on button submit. One is setting the text of the label control on server side. The second one is to show the modal popup on client side. If the second one is true, then you will never be able to set the text property of the label control because the server side code to set the text will never be executed. :( If I got the right situation then I may suggest you to call the ModalPopup from code-behind so that you can also set the text of the label control in one go: ModalPopupExtender1.Show(); Label1.Text = "Yeppi, blah, blah, blah"; But showing the modal popup on a server side event may not be a best case. Check it and revert back to me in case of any confusion. Regards Saanj
Either you love IT or leave IT...