Replies
Please check this forum post where the same issue were discussed.
Here is what happens when you disconnect from remote desktop. When using remote desktop, the OS recognize the connection and changes the OS theme to disable Aero (glass). UltratoolbarsManager listens for this change, which is broadcasted to all windows when Aero is enabled/disabled. When the Aero is enabled, we would force the form to recreate it's handle and be able to render the glass frame correctly. Unfortunately, the .NET Framework causes modal forms to close when it recreates its handle.
This is exactly what Michael described in his answer. Also, he has attached a sample with no Infragistics, where the issue is still reproducible.
As you can see there is nothing we can fix here. The issue is in .NET and not in our components and there is no way to workaround this.
Hi Phan,
I have spent some more time on your sample trying to reproduce this issue with no success. Please if you are able to reproduce it in isolated sample send the sample to us so we can investigate it further.
Hi Phan,
I have inspected your new StackBlitz sample. What I saw is you are showing your popup-form after dialog isOpen becomes true. This may force the issue you are facing. At the moment we are show the dialog it has no any content, but a single title. The width of this dialog is about 280px. This is what we are trying to render. In the same time Angular detects that dialog is already shown and puts inside the popupFormComponent. If this happens fast enough we are showing the dialog with the correct size, otherwise we use the size of the initial dialog.
The question here is why you put the *ngIf in your popup form here:
If you remove this *ngIf I think you should not face this issue.
Sincerely,
Milko
Software Developer
Hello Phan,
I have taken a look at the StackBlitz you provided and was not able to reproduce this issue. I opened the dialog several times and each time overlay content div had no width. I have also recreated your sample with Ignite UI for Angular 8.1.0 in this StackBlitz. As you can see the issue does not reproduce and in 8.1.0 – again I have opened the dialog several times and no width appear in the overlay content div. I have also removed the min-width and width of the dialog and still was not able to reproduce the issue.
Can you provide a sample where this issue reproduces as well as steps to reproduce it?
Looking forward to your reply with samples and steps included.
Hi Vaishnavi,
If you are assigning the cells' values you should convert them to dates, so what you did is correct. However, WebExcelExporter does this for you out of the box. Here is how I have exported the grid to Excel in my sample:
string fileName = "result";
this.WebExcelExporter1.DownloadName = fileName;
this.WebExcelExporter1.WorkbookFormat = Infragistics.Documents.Excel.WorkbookFormat.Excel2007;
var wb = new Workbook();
var ws = wb.Worksheets.Add("MyGrid");
ws.Columns[INDEX_OF_DATE_COLUMN].CellFormat.FormatString = @"mm/dd/yyyy h:mm AM/PM";
ws.Columns[INDEX_OF_DATE_COLUMN].].CellFormat.Alignment = HorizontalCellAlignment.Right;
this.WebExcelExporter1.Export(this.WebDataGrid1, ws);
As a result WebExcelExporter exports the date column of my grid correctly.
Hi Tom,
In your sample you are using input. The input is limited to only one property – value. Whatever you set to value this will be shown in the input and send to the server on form submit. To solve this you may add one additional hidden input. In this hidden input you should set the value of the drop down item and in the visible one the text of the drop down item. Please check updated StackBlitz here showing how to achieve this.
Please keep in mind you may also use our IgxCobo or IgxSelect components. First one is multi select drop down while the second is single select.
Please let me know if any additional questions on this matter arise.
Hello Tom,
Looking at the pictures you provided this looks like an issue in our input component. Using the code you provide I have created small sample in StackBlitz here. I was not able to reproduce the issue you are showing in my sample. Can you try to modify my sample and reproduce this issue so I can investigate it further?
Looking forward to your reply and sample provided.