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

How can I fire a refresh when I select a row, but not fire the refresh for the rest of the events

1 Answer 50 Views
Grid
This is a migrated thread and some comments may be shown as answers.
iomega 55
Top achievements
Rank 1
iomega 55 asked on 28 Feb 2011, 07:11 AM
I have a grid. When a "select"a row I fire a refresh of some of the panels in the webform. But when I move between the pages of the grid or order by one the columns, also the grid is firing the refresh of the panel.

How can I refresh the panel only when I "select" the row, and not for all the grid events.

<telerik:RadAjaxManagerProxy ID="AjaxManagerProxy1" runat="server">
<AjaxSettings>
    <telerik:AjaxSetting AjaxControlID="grdOne" >
        <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="txtOne" LoadingPanelID="RadAjaxLoadingPanel3" />
            <telerik:AjaxUpdatedControl ControlID="pnlOne" LoadingPanelID="RadAjaxLoadingPanel3" />
        </UpdatedControls>
    </telerik:AjaxSetting>

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 03 Mar 2011, 10:40 AM
Hello,

You could try by modifying your ajax settings so that the ajax manager updates the control in question. Then wire the OnRowSelected client-side event of the grid and manually fire an ajax request in order to update the needed controls. For more details, take a look at this help article.

Kind regards,
Tsvetina
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
iomega 55
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or