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

using $find("#radRibbonBar") with JavaScript

1 Answer 52 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
guy
Top achievements
Rank 1
guy asked on 28 Mar 2016, 02:22 PM

hi,

i check if it possible to create asp .net ribbon bar component within HTML page in iframe tag

while i'm trying to create a single page with ribbon component, and call him from another HTML page 

i have a access problem at the HTML page call to the ribbon with (jquery) -> $("#ribbon");

how to get the original object like in the asp page but in the HTML page, with javascript ?

(Pictures attached)

thanks.

 

 

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 31 Mar 2016, 07:30 AM
Hello Guy,

As the HTML page is not an ASPX page and it does not have the life cycle and the structure of the aspx, there is no way to work appropriately with the ASP.NET controls on it. That is the reason why you cannot access the RadRibbonBar object within the HTML page.

I would suggest you to try using Master page and Content page, instead of using <iframe> on an HTML page, if that fits in your scenario.

Regards,
Veselin Tsvetanov
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
RibbonBar
Asked by
guy
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or