I'm preparing a series of reports in ssrs 2008. In order to comply with the requirements the first page of the report has to be in portrait orientation, while the rest of the document must use landscape orientation. I know there is no way to do this OOTB ( or perhaps you can prove me wrong :P ). I was wondering if there was a way to implement a custom renderer that could play with Page Orientation based on page breaks, or any other solution you knew of. I was reading through the questions and found this one Different orientation in a Multiple page PrintDocument (How to) Dunno if it could help me out with my reports. Any help will be greatly appreciated.
Maybe a workaround could be to create the report in landscape and for the header page, use vertical text.
Related
I have spent two days for Phonegap-iOS tutorial to handle different screen size for iOS devices(iPhone4,iPhone5,iPad etc). I have not found any good tutorial for this.
I would appreciate for any help. Please let me know if any anyone has any idea on how to achieve it.
Thanks,
Nitin.
If I am not wrong you must be developing your front pages using HTML5? If so give height and width of elements in %. Your pages will automatically resize according to screen size. Search for responsive web design you will get a lot of stuff to read.
Another solution is to use media queries.
I am developping a swipe gallery for mobile devices. Users can change images by sliding the screen, as any normal images gallery in most iPhone app.
Here is a demo:
http://daviddarx.com/stuffs/work/custom/swip/
To debug the iOS orientation bug (which let the content zoomed when you change the orientation), I used the only library that correct that:
http://scottjehl.github.com/iOS-Orientationchange-Fix/
Unfortunately, this library is working perfectly most of the time, but it happens to fail and not work correctly. This happen around 1 time on 10 times, and the result is then the same as if the library wasn't here.
This is not a huge problem on most of the mobile and responsive website, as the user can manually dezoom and then get back to the normal display.
But the problem here is that I had to disable the zoom function, to make my system work correctly. So, when the bug happen, once on 10 times, the gallery is then just bugged and stay like that....
So, here are my questions:
-do you know any other library that manage that bug fix, and is 100% completely reliable?
-if not, do you know a way to correct the used library to get a 100% support rate?
-if not, do you have any idea or solution for me?
Thank you in advance for your help!
David
There's an outstanding pull request on Scott Jehl's repo that uses slope detection instead of absolute values which seems to not suffer from the intermittent-ness of the original solution.
https://github.com/PeterWooster/iOS-Orientationchange-Fix/
Regards to everybody here I am with another problem. I have some screens which basically have several search filters and search results are displayed accordingly in a table. Now I have orientation issues cause this search screen does not cover the full screen in landscape mode.
Solutions that I came across:
Two xibs for same view but I'll loose data if I do so as this data will be in bulk so I can store it locally.
write lots of coordinate related code which is again cumbersome as there will be lots of search filters.
Autoresizemask -> not able to implement this upto expectations. (I tried this but was able to move the screen to the center but I wanted the complete view expanded resizefill something)
Can anybody enlighten me on this so that screens can be prepared in standard ways.
Thnx in advance.
Refer the screen shots
ok it finally worked.. we just have to adjust resizing mask for xibs or set autoresizemasks for the view-- as Ole Begemann mentioned
While creating a website for iPad Mobile Safari, I have a few questions;
Does the orientation happen automatically or do we have to write code for that ?
What is the best approach in terms of CSS/JS..I mean create separate copy of the web CSS for iPad and just update for iPad specific. Also what about JS?
What is the best way to detect for iPad (CSS/JS) and how?
Any online references which specifically covers iPad Mobile Safari development will also be great.
Thank you.
The orientation happens automatically, but you can write code to intercept the event and do things.
I highly recommend using an existing JS library such as Sencha Touch to handle the UI for you; they automatically detect the client and will display the appropriate scale of the app.
I just added a few meta tags to my current project, based on this page - http://www.nczonline.net/blog/2010/04/06/ipad-web-development-tips/
It made a huge difference. The orientation media queries work great. I madea simple example by setting the body background colour different based on orientation.
Does anyone know how to make your website fill the entire screen in ActionScript?
If you mean full browser flash, there is an article on devnet, among many other online resources.
If you mean fullscreen mode, here's another devnet article on that.
You've got code, files and explanations there.
Goodluck.