This is a migrated thread and some comments may be shown as answers.

RadWebBrowserItem

5 Answers 156 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Kenneth Jackson
Top achievements
Rank 1
Kenneth Jackson asked on 28 May 2008, 09:38 AM
I'm keen to use RadWebBrowserItems in carousel.

I can get multiple browser items - navigate them etc.

What I want is only the selecteditem to be full size and function as
a browser.
The others in the background i want to resize the WHOLE viewable
area of the webpage into the reduced background size . So ie: shrink
the non selected ones but keep everything on the page still showing.

I also want to get the non selected ones to be brought back as bitmaps
to disallow link clicking on background items.

Need help understanding how to use the getasbitmap methods.

5 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 28 May 2008, 01:56 PM
Hello Kenneth Jackson,

Thank you for writing.

Unfortunately, you cannot add a web browser as a CarouselItem because there is an issue with the Z indexes of Hosted items. They are always on top.

If you have any additional questions, please contact me.

All the best,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kenneth Jackson
Top achievements
Rank 1
answered on 29 May 2008, 09:16 AM
Thanks for the prompt response.

One question lies unanswered still in that I need to understand
how to use the GetAsBitmap method of the RadWebBrowserItem
and the GetAsBitmap method of the RadWebBrowser element.

Is there any code on the forums/site u could pls point me to or give
an example here. I don't seem to be able to find any sample code
for the use of this method.

Thanks
0
Peter
Telerik team
answered on 29 May 2008, 11:49 AM
Hello Kenneth Jackson,

Thank you for getting back to me.

Here is a simple call to the GetAsBitmap functon:

Bitmap itemBitmap = this.GetAsBitmap(Brushes.White, 0, new SizeF(1, 1));

Unfortunately, this function does not work for
RadWebBrowserItem, because this item is a simple wrapper for the IE COM library. The IE COM library does not allow taking a screenshot of the content of the browser it hosts.

Please, let me know, if you have other questions.

Greetings,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kenneth Jackson
Top achievements
Rank 1
answered on 29 May 2008, 12:19 PM
Perfect :)

Once again , thank u for your prompt response Peter.
0
Kiril
Telerik team
answered on 30 May 2008, 08:45 AM
Hello Kenneth Jackson,

I'm glad to hear the issue has been resolved. Please, do not hesitate to contact me with feedback on the RadCarousel. Your suggestions are an important factor in shaping the future development of our product.

Kind regards,
Kiril
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Carousel
Asked by
Kenneth Jackson
Top achievements
Rank 1
Answers by
Peter
Telerik team
Kenneth Jackson
Top achievements
Rank 1
Kiril
Telerik team
Share this question
or