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

Dynamic created columns disappear from datagrid

3 Answers 43 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Imran
Top achievements
Rank 1
Imran asked on 06 Aug 2012, 07:53 AM
Hi, 

I have a dynamically created datagrid and two dynamically created button columns in that data grid as well. Whenever I press any of the custom button to perform an event the other columns get disappeared. I couldn't find any suitable solution. If anybody faced such type of problem and solved it could you please share it with me.


Looking forward for feedback.

Thanks

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 06 Aug 2012, 10:51 AM
Hello,

Can you specify how the grid is bound? Are you using declarative data sources or you are binding the grid through the NeedDataSource event?

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Imran
Top achievements
Rank 1
answered on 06 Aug 2012, 11:15 AM
Hello,

We are binding the grid through NeedDataSource event.

thanks
0
Pavlina
Telerik team
answered on 06 Aug 2012, 12:08 PM
Hi Imran,

Please verify that you have followed the instructions from the help article below to created your RadGrid programmatically:
http://www.telerik.com/help/aspnet-ajax/grid-programmatic-creation.html#Section2

Greetings,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
General Discussions
Asked by
Imran
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Imran
Top achievements
Rank 1
Share this question
or