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

RadGrid in ModalPopup extender not rebinding

1 Answer 34 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 16 Nov 2010, 12:16 PM
I have a RadGrid that with a that contains a GridButtonColumn defined as
<telerik:GridButtonColumn ButtonType="LinkButton" UniqueName="PaymentViews" 
                                   Text="Payments" CommandName="AddPayment" />
This Grid has a DataKey of DelRecordID

When the row item button is Clicked
If e.CommandName = "AddPayment" Then
    'If GridDeleiverables.SelectedItems.Count > 0 Then
    Dim DataKey As Integer = e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("DelRecordID")
    Session("DeliverableID") = DataKey
    GridPaymentDrawdown.Rebind()
    PanelPaymentDrawdown_ModalPopupExtender.Show()
    'End If
End If
The Grid that  i call to be rebound simply doesnt, If however i click the Refresh button on the Grid it rebinds as it should.


Am i missing something really obvious on this

Thanks in advance
The Grid that  i call to be rebound simply doesnt, If however i click the Refresh button on the Grid it rebinds as it should.Am i missing something really obvious on this Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 19 Nov 2010, 04:09 PM
Hello Anthony,

This indeed is unusual scenario. The code snippets look ok. Do you use RadAjaxManager and have configured it correctly as specified here? Also check whether the grid is bound correctly using the advanced databinding through the NeedDataSource event.
If the problem persists we will appreciate a full code sample or a runnable project that reproduces the issue so we can provide a better assistance.

Best wishes,
Marin
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Anthony
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or