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

  • SEARCH
  • Home
  • 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 8087471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:47:14+00:00 2026-06-05T18:47:14+00:00

I have a RadGrid in a page which has a master page with an

  • 0

I have a RadGrid in a page which has a master page with an UpdatePanel wrapped round the Content.

I have successfully run RegisterPostbackControl for the Export buttons on it on first load, thus:

Private Sub uxGrid_ItemCreated(ByVal sender As Object, 
                               ByVal e As GridItemEventArgs)
    If TypeOf e.Item Is GridCommandItem Then
        Dim sc As ScriptManager = CType(Master.FindControl("Sc"), ScriptManager)
        RegisterPostBackControl(e.Item.FindControl("ExportToCSVButton"))
    End If
End Sub

This works, and if I press the export button it does a full postback and exports a file.

I have another control on that page (a date control), which changes the content of the grid, and that posts back asychronously.

The trouble is, once I’ve done one asynchronous postback, I cannot register the control again, and the export button no longer fires a full postback. I have tried putting the RegisterPostback in as many different places as I can think of – RenderComplete, Init, Load, PreRender, etc, but it seems to no avail. Once it’s in an asynch postback, I cannot register it.

Some other code I tried:

For Each cmdItem As GridCommandItem In 
                  uxResponse.MasterTableView.GetItems(GridItemType.CommandItem)
    sc.RegisterPostBackControl(cmdItem.FindControl("ExportToCSVButton"))

I know I can switch off asynchronous postback altogether, but I’d much rather have the responsiveness, and this is the only thing which is broken.

Has anyone else had this problem and sorted it?

  • 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-05T18:47:15+00:00Added an answer on June 5, 2026 at 6:47 pm

    I sorted this by bypassing the problem: I amended the aspx page to have an export button on it all the time (not dynamically created), registered that for postback, and used CSS to put the new button in the same place as the old button.

    Not particularly nice, but it works as a kludge.

    If no-one knows a better way, I’ll mark this as the answer in a while.

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

Sidebar

Related Questions

I have a radMenu on the main site.master form which shows on a page.
I have radGrid in .ascx page in which I want to find the control
I have grid in my ASP.NET page (actualy it's Telerik RadGrid). There is GridButtonColumn
I Have radgrid in my page. When i turn off view state and in
I have a radGrid on the page with the Add New Record button. When
I have a Telerik RadGrid on my aspx web page. I notice that when
I have a telerik radgrid-control on my page for showing a list of articles.
I have a telerik radgrid that has an allows inserts. After clicking the Add
The page has already run its' initialise/load sequences etc but then catches an event.
Say I have a RadGrid that shows info on what a customer has ordered.

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.