createPopup method problem
I talk about copying text with Ctrl-C from a control used as popup template for the grid cells.
Since the height of the rows is fixed due to possible crash of the scroll template in order to have an additional information available for certaing cells it will require adding a control that could handle the extra information (displayed for instance when clicking the cell).And the right approach it will be using the popup template I supposed.
I am talking of pure text/html content that should be available for copying all or partial. Limiting this kind of behaviour could put the developer in a situation where he cannot achieve the goals of the project.
In addition if you want to be able to select the content using the popup template you have to override popup template's onselectstart method and oncontextmenu (IE).
Making some minor changes it will alow firefox to select and copy the text. But for IE it seems that createPopup does not allow those kind of approaches. I guess that is a standard behaviour due to the security problems that appeared after the bugs in IE were exploited by some people.
I think that createPopup method is unappropriate for the popup template and it can only restrict the user to build the custom controls using the AW library.
The main issue is to allow the developer to give the same functionality on all the browsers supported and the createPopup it seems it falls to do this.
I guess, we can not abandon createPopup completely.
Why did you pick createPopup at the first place? Probably, because DIV on IE never goes over SELECT regardless of zIndex. Right?
For that I have added (for Firefox) an extra control property for the model of popup template that would allow to add the id of the html object to overlap for Firefox in order to get its zIndex.
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.