Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8475515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:54:53+00:00 2026-06-10T17:54:53+00:00

<div id=’popup’> <input id=’btnConfirm’/> </div> $(#btnConfirm).click(function () { var frame = $(‘#[id$=ReportViewer1ParameterArea]’); //get the

  • 0
<div id='popup'>       
  <input id='btnConfirm'/>                 
</div>                                    

   $("#btnConfirm").click(function () {                                 


                var frame = $('#[id$=ReportViewer1ParameterArea]'); //get the frame       

                //s57 is a table element in the viewer                            
                frame.contents().find("#Preview")                     
                .click(                  
                    function () {                         
                        alert('hover!');                 
                    }                    
                );                   



            });                       

Below is part of the HTML rendered by Telerik Report Viewer

<iframe id="ctl00_ctl00_MainContent_MainContent_ReportViewer1ParametersArea"               scrolling="auto" width="100%" height="0px" frameborder="0" align="left"               src="/Telerik.ReportViewer.axd?instanceID=0001be3494c046c69b091014203c2914&culture=en-US&uiculture=en-US&optype=Parameters" style="height: 26px;">               
<table id="parametersTable" cellspacing="0" cellpadding="0" border="0" style="width:100%;border-collapse:collapse;">               
<tr id="parametersRow">                 
<td valign="middle" align="center" rowspan="2">              
<input id="Preview" type="submit" onclick="return ParametersPage.Validate();"             value="Preview" name="Preview">              
</td>              
</tr>                

Question :
I need to access the Preview button ID=”Preview” in the Report Viewer from a DIV that contains button with ID= btnConfirm on the ASPX page as given above in the JQuery script. The ASPX page contains the Telerik Report Viewer. I put code in the
$(“#btnConfirm”).click(function () event but that does not work. Can you give me ideas please?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T17:54:55+00:00Added an answer on June 10, 2026 at 5:54 pm

    Try using this selector:

    var frame = $('[id$="ReportViewer1ParameterArea]"');
    

    Removing the # and adding quotes " around the value.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

$('div#Categories > div.categories a#showhide').click(function(){ // Get the subManufacturers list var subCatList = $(this).parent().find('ul#hiddenSubCategories'); //
$('div#Settings ul li').click(function () { var url, template; var self = $(this); if (!$(self).hasClass('selected'))
Parent Div Click Function gets called when Child Div Click is clicked. How to
var div = $(div); one(),two(),three() function one() {div.css(background, #f00).hide().fadeIn(1000)}; function two() {div.css(background, #ff0).hide().fadeIn(1000)}; function
$(div#foobar).live('click', function() { }); $(window).hashchange(function() { }); How can I stop firing hashchange event
Div box dimensions are measured using jQuery with following code: $(document).ready(function(){ var h =
$(div#buttonContainer ul li).live(click,function(){ if($(this).hasClass('selected')){ alert('selected'); } }); <div id=buttonContainer> <ul> <li class=selected></li> <li></li> <li></li>
$('#div_search').keypress(function() { var search_term = $(this).val(); $('.ticker_list').children('div').each(function() { var search_value = $(this).attr('search_term'); if (search_value.indexOf(search_term)
$('div').animate({ 'background':'yellow' }, 2000,'linear', function() { }) why?? thanks
I have a div which contain lots of input[type=text] fields. I want to put

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.