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

Issue in RadGrid

1 Answer 11 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
: Arumuga Vignesh
Top achievements
Rank 1
: Arumuga Vignesh asked on 23 Sep 2013, 02:57 PM
Hi ,

In my module there are 2 grids, first one is populated on the search button click.

in the grid the first column was select button, on click of that button popup window will be displayed with yes or no option.

 

If it is Yes then the another datasource will be binded in the 2nd grid.

If the datasource have records on click of AddNewRecord button, it display the edit form with insert and cancel buttons.

 

Issue:

On click of AddNewRecord option the 2nd grid is not visible when there is no datasource to bind, but it is working fine if the datasource have records. the 2nd grid will be disapper on click of any button in the grid.

 

Resolution Required:

Even though the data source has empty records, on click of AddNewRecord the edit form should be visible and we need to add the records in the Edit form and rebind the data in the grid.

 

Can u please give the solution for my issue also if you have code sample please share with me.
Thanks

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 26 Sep 2013, 11:00 AM
Hello Arumuga,

The described scenario is rather complex and form the provided information it would be difficult to isolate the root cause oft he issue you are facing.
The disappearance of the second RadGrid control on each postback leads me to the thought that the issue is caused by wrong data binding. Therefore could you please provide some more information on how the RadGrid controls are bound? Sending your page markup and related code behind will help us further research on the issue and advise you for possible solution.

Regards,
Maria Ilieva
Telerik
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 the blog feed now.
Tags
General Discussions
Asked by
: Arumuga Vignesh
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or