Stop disappearing ModalPopup panel (shown by ModalPopupExtender ) on changing text of a textbox (TextChanged event fired by AutoPostback) - modalpopupextender

I have a html table inside of a panel control.
It will be shown by a ModalPopupExtender by clicking on a LinkButton.
inside of the panel, there is a textbox which its "AutoPostBack" property is Ture and when user enters a value in it, TextChanged event is fired but unfortunately, the panel also disapears.....
what's wrong?

Related

Delphi Form does not fire onActivate event when its parent is a TPanel

When I click on the form's caption the OnActivate event is not fired. The reason is apparently that the form parent is a TPanel. The form is brought to front when clicking its caption but the onActivate event is not fired.
My solution was radical, I set the border style to bsnone and I created my own caption with a panel aligned to the top of the form. Then I use the mouse event on the panel to move the form. But I now have the problem how to resize the form without the border. Please help, thanks.

Asp.net Ajax Tookit AutoCompleteExtender stops working in update panel after partial postback

I have an update panel with some text entry boxes, a clear button and a save button. Under the boxes I have a repeater that holds database entries. When a user enters data in the textboxes and clicks the Save, a database row is created and the repeater rebinds and shows the new dataset. There are buttons on each repeater row for "Delete" and "Edit". When the Edit button is clicked on a row, the data from that row is populated back into the text boxes. When I do that, the autocomplete extenders stop working. I have a button that simply clears the textboxes. If I click that button and clear the textboxes, the autocomplete starts working again. Even if I remove all code from that "Edit" button in the repeater command and don't have it populate the text boxes from the row clicked, the autocomplete stops working. Something is happening on the item command for the repeater row that is turning off the autocomplete. Any suggestions?
I had some javascript functions running from the code behind on page load. Moving that from the server side page load to the javascript pageLoad() function fixed the issue

Tinymce - Event on set the carret inside textarea

Which is the event when you set the caret inside tinymce editor? For some reason, Click event works only for the first click. Is there any other event except click?
You could use the focus onActivate event. For a full list of possible tinymce events check out this page and have a look on the right side of the page, there is a list.

Parent-Child Window Interaction GWT

There is parent window, which has a Panel. When user clicks on a button from parent window then a popup opens up. On popup user populates some fields and clicks on OK button then a new row should be created on parent window's panel and set values from popup window and close it.
Any Idea how to do this in GWT? Please post some example if you have. Thanks in advance for your help.
You must create a class representing the Popup and add a field to it referencing the Parent Window. In the constructor of the Popup, you pass the Parent Window as a parameter. When the user clicks ok in the popup, you call the PArent window and ask it to add a row via a method present in the ParentWindow

GWT label widget receiving focus when pressing tab key

Current solution:
user clicks on label and it is switched with a textarea to allow edit
user can leave edit with tab / enter and textarea is switched back to a label
The problem is the user has to click on the label with a mouse to get into edit mode.
I would like the label to recieve an onFocus event when the user clicks the TAB key and the label is the next widget in line.
Possible soulution (but have not tried yet) to inherit a new widget from the Label widget and implement the TabListener interface.
There is a panel called the focus panel. That panel allows widgets that normally dont receive events like keyboard events (e.g., a label is one) to have events.
checkout the docs here