on 02-19-2009 7:06 AM
HI,
Can any one please tell me how to get the screen resolution in webdynpro?
Regards
-Sandip
Hi,
Why not try to use the relative values? Could you please explain the scenario where you need this?
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandip,
- view size can be set by setting the 'width' of the RootUIElementContainer. By defalut, it will be 100% only. Also, It is always better to use the % coz it does not distort your view with different screen resolutions.
- while creating the iview, you have the property like 'HeightType'. There you can set the value as FIXED, AUTOMATIC & FULL_PAGE. If you wish, you may leave it as it is.
- All you have the properties like 'Fixed Height' etc to set the size values.
Regards
Chander Kararia
# Please close the thread once get the correct answer. Give rewards for answers.
Edited by: Chander Kararia on Feb 20, 2009 9:55 AM
Hi Sandip,
As you know the entire webdynpro page is generated on the server. The server has no idea about the clients screen resolution. The Screen resolutions are not available to the server. So you will have to live with percentage values. The browser will render the UI Elements according to the percentages provided.
If you explain why you need the screen resolution then we can thing of other ways to achieve your requirement.
Regards,
Sanyev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.