Hi!,
Attached there is a sample page to test this behavior.
It consists of a button and an update panel, when the button is clicked a new webdialogwindow is added to the page but the styles of the side borders is wrong only the first time. If you close the webdialogwindow and hit the button again it will appear normally.
It happens only on firefox, not in chrome or IE8/9
Thanks in advance.
Hi rickycl,
It has been some time since your post but in case that you still need assistance I will be glad to help.
I tested the sample you have provided but the WebDialogWindow is displayed correctly. However I would suggest you to upgrade to the latest service release of your product. Also you could take a look at the following online sample of the dialog window - http://samples.infragistics.com/aspnet/Samples/WebDialogWindow/EditingAndSelection/ResizableDialog/Default.aspx?cn=dialog-window&sid=e460edfd-9483-4dc6-b9ca-fa7bdb617076.
Please let me know if this helps.
I tested it again with the version we are currently using (11.1.20111.2158) on firefox 9.0.1 and it still occurs(only the first time you click the button). Could you confirm it works on that versions for you?
Something similar happens on Chrome (version 17.0.963.56 m)
Attached you will find a screenshot of the problem.
Thanks!
The problem with your suggestion is that the wdw would be already added on the page right? We want to avoid that besides we not always need the wdw. That's way we want to add it by code once we need it.
Is there any chance that this behaviour was a bug and could be fixed for future releases?
Thanks.
Hello rickycl,
I have made some research and it seems that the issue occurs only if the button initiates an asynchronous postback and the CSS file for styling the WebDialogWindow is not loaded. You could remove the AsyncPostBackTrigger of the update panel, linked to that button to make a full postback. Another approach would be to include the ig_dialogwindow.css file manually in the page.
<link href="ig_res/Default/ig_dialogwindow.css" type="text/css" rel="stylesheet" />
If you have any further questions, please feel free to contact me.
Let me know if you have any other questions.
Thanks for your answer, still I would have to something particular to the control (adding the style), I need to do it entirely by code and in response to an event.
Is there any other suggestion or the posibility that this is fixed in the near future?
Just add the WebDialogWindow in a response to an event, which initiates a full postback. I believe this is not something to be fixed.
Please let me know if I can be of further assistance.
If you have any other questions please feel free to contact me.