Issue in RadGrid

2 posts, 0 answers
  1. : Arumuga Vignesh
    : Arumuga Vignesh  avatar
    21 posts
    Member since:
    Jul 2013

    Posted 23 Sep 2013 Link to this post

    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

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 26 Sep 2013 Link to this post

    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.
Back to Top