Displaying two different html documents in the same browser messes up the html

We are using GroupDocsViewer 3.6.0.0. and we are rendering and displaying the documents using html. If we only display one document, then everything is ok.


However, sometimes, if we show two documents at the same time, in the same browser, a css class of the first document overrides the css class with the same name in the second.

For example, class “pg1-02” may exist in both documents and this affects the display of the html (missing characters, etc).
I would suggest that instead of using only numbers to generate the css classes for your documents, to use a random guid or alphanumeric key, to make the mixup of css classes impossible. Like google does, so instead of having the class “pg1-02”, it would become something like “pg1-02-x4yzdg24”.

I will be waiting for your response,


Nicolas

Hi Nicolas,


Thanks for using GroupDocs.Viewer for .NET API.

Yes, you are right. The API generates CSS classes with same name for all the documents and, therefore, displaying more than one document at the same time overrides these classes. We appreciate your suggestion and I have logged it as an “Improvement” issue in our issue tracking system with ID: VIEWERNET-927. We shall further investigate it and once we have any updates, we’ll notify you here.

As a side note, GroupDocs.Viewer for .NET 3.7.0 has been released with new features, improvements and fixes. We recommend you to use the latest version for a better experience.

In case of any confusion, please feel free to let us know.

Warm Regards

Hi Nicolas,


Your requested improvement of unique CSS class names has been implemented and will be available in GroupDocs.Viewer for .NET 16.11.0. Whenever version 16.11.0 will be released, we will inform you here. Please stay tuned.

Warm Regards

The issues you have found earlier (filed as VIEWERNET-927) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by groupdocs.notifier.

Hi,


Is the version you entered correct?

Hi Nicolas,


Yes, the version number is correct. Currently, we have released GroupDocs.Viewer for .NET 16.10.0. The next version of the API will be 16.11.0.

If you still have any confusion, please feel free to contact us.

Warm Regards


isn’t the current version is 3.7.0?

Hi there,


Yes, previously it was. But today, we have released GroupDocs.Viewer for .NET 16.10.0. Please visit http://www.groupdocs.com/downloads/viewer/net.

Warm Regards