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

RadGrid_ItemCreated not firing during second bind

1 Answer 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Harin Yadav
Top achievements
Rank 2
Harin Yadav asked on 26 Oct 2012, 02:51 PM
HI

in RadGrid_ItemCreated we have a logic to show and Hide controls in RadGrid.
we have button in RadGrid which wil load new data in RadGrid when we Click the button newly added data is shown
but RadGrid_ItemCreated is not firing so all the Controls are Getting Showed 

how to fire RadGrid_ItemCreated  during second   bind.

Qucik responce will be Highly Appriciated.

PL Help!

Thanks, Harin
 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 29 Oct 2012, 05:21 AM
Hi,

Try the logic of hiding/showing controls in ItemDataBound event instead of ItemCreated event. Please provide code if it doesn't help.

C#:
protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
   //Your logic
         
}

Thanks,
Shinu.
Tags
Grid
Asked by
Harin Yadav
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Share this question
or