In any way to know when you are in a textbox or other control i aces double click to to show WebDialog how i now what the textbox or control name that was double click

In your webdialog, create a property, for example “CallerControl”, or whatever makes sense for you. In the double-click event, where you call the webdialog, set the value of YourWebdialog.CallerControl to the name of the calling control, or some other value that will be specific to that control. When the webdialog is dismissed, you can use the value in the property to branch your handler function to update the appropriate control. This is one manner that you can use the same webdialog to update more than one field. I use this technique to capture the date from a single date picker webdialog with several date fields on the same page.