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 124987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:05:15+00:00 2026-05-11T05:05:15+00:00

I have a gridview inside of an updatepanel and would like to allow the

  • 0

I have a gridview inside of an updatepanel and would like to allow the user to select a row which would generate a call to a class that outputs a stream back to the client. It looks like I can’t do this because the grid is inside of an update panel. Any ideas?

C#

    protected void gvResults_SelectedIndexChanged(object sender, EventArgs e)     {         RMATagsReport rpt = new RMATagsReport();         rpt.GenerateReport();     } 

ASP.NET

<asp:UpdatePanel ID='upResults' runat='server' ChildrenAsTriggers='false' UpdateMode='Conditional'> <ContentTemplate>     <asp:GridView ID='gvResults' runat='server' AutoGenerateColumns='False' CellPadding='4'         ForeColor='#333333' OnSelectedIndexChanged='gvResults_SelectedIndexChanged' Width='100%'>         <RowStyle BackColor='#F7F6F3' ForeColor='#333333' />         <Columns>             <asp:BoundField DataField='CSTNO' HeaderText='DEALER' />             <asp:BoundField DataField='ORDNO' HeaderText='RMA NUMBER' />             <asp:BoundField DataField='CSTORD' HeaderText='DEALER PO NUMBER' />             <asp:BoundField DataField='ORDDTE' HeaderText='ORDER DATE' />             <asp:BoundField DataField='INVDTE' HeaderText='INVOICE DATE' HtmlEncode='false' />             <asp:CommandField SelectText='Print RMA' ShowSelectButton='True' />         </Columns>         <FooterStyle BackColor='#5D7B9D' Font-Bold='True' ForeColor='White' />         <PagerStyle BackColor='#284775' ForeColor='White' HorizontalAlign='Center' />         <SelectedRowStyle BackColor='#E2DED6' Font-Bold='True' ForeColor='#333333' />         <HeaderStyle BackColor='#3494CC' Font-Bold='True' ForeColor='White' HorizontalAlign='Left' />         <EditRowStyle BackColor='#999999' />         <AlternatingRowStyle BackColor='White' ForeColor='#284775' />         <EmptyDataTemplate>             <span style='color: Red;'>No RMA Tags Found With Specified Criteria. </span>         </EmptyDataTemplate>     </asp:GridView>     <div id='LoadingDiv' style='display: none; text-align: center;'>         <img src='Graphics/Icons/loading_lg.gif' />     </div>     <div id='ResultsDiv'>     </div> </ContentTemplate> <Triggers>     <asp:AsyncPostBackTrigger ControlID='btnSearch' EventName='Click' /> </Triggers> 

  • 1 1 Answer
  • 1 View
  • 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. 2026-05-11T05:05:15+00:00Added an answer on May 11, 2026 at 5:05 am

    I’m doing a response.redirect on the index change now with the new page handling the report generation… This seems to work OK.

    EDIT
    While this seems to work, I am still open to other possibilities as I don’t want to have a page that’s only purpose is to output this document.

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

Sidebar

Related Questions

I have a GridView inside an UpdatePanel that is populated when a search is
I have DropDownList inside GridView. Now I would like to add event handler for
I have a simple situation that does not work. Gridview is nested inside updatepanel
I have a gridview inside an updatepanel and I have a javascript that calls
I have a GridView that is inside of an UpdatePanel. I am using the
I have the following gridview that is inside an updatepanel: <asp:UpdatePanel ID=UpdatePanel1 runat=server> <ContentTemplate>
I have a gridview inside an updatepanel. It has a TemplateField column with radiobutton:
I've got an asp.net gridview inside an updatepanel. One of the fields I have
I have a gridview inside an update panel, that is doing inline editing. When
I have a GridView inside of a User Control populated from a List of

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.