Postback problem

6 posts, 0 answers
  1. Muhammad Arsal
    Muhammad Arsal avatar
    5 posts
    Member since:
    Apr 2014

    Posted 19 Jun 2014 Link to this post

    Hello,
    telerik radgrid dissapearing on postback ,
    when i click in radgrid , its postback and dissapear , plz anyone help asap.


    thanks in advance

    Regards,
    Muhammad Arsal Khan
  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 19 Jun 2014 Link to this post

    Hello,

    The described behavior can be observed if you are populating the grid with simple data binding calling DataBind(). If this is the case I recommend you use advanced data binding through NeedDataSource to populate the grid and this should resolve the problem. For more information about both approaches you can refer to the online example below:
    http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/simple-vs-advanced/defaultcs.aspx

    Regards,
    Pavlina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Muhammad Arsal
    Muhammad Arsal avatar
    5 posts
    Member since:
    Apr 2014

    Posted 19 Jun 2014 in reply to Pavlina Link to this post

    hello palvina,

    sory but it's not working on my desire ,I have an generate report form. After clicking the generate report
    button the code behind a stored procedure to query the database and return a dataset of records
    So far everything works great ,
    but when i when click a grid and grid disable , plz reply asap

    thanks,
    Muhammad Arsal Khan
  5. Muhammad Arsal
    Muhammad Arsal avatar
    5 posts
    Member since:
    Apr 2014

    Posted 19 Jun 2014 Link to this post

    sorry correction*
    but when i clicked a grid then grid disable/postback
    please reply asap !!
  6. Muhammad Arsal
    Muhammad Arsal avatar
    5 posts
    Member since:
    Apr 2014

    Posted 19 Jun 2014 Link to this post

    hello palvina,

    sory but it's not working on my desire ,I have an generate report form. After clicking the generate report
    button the code behind a stored procedure to query the database and return a dataset of records
    So far everything works great ,
    but when i clicked a grid then grid disable/postback ,now i again clicked on generate report button , grid shown and its perform action on given criteria. please help

    thanks
  7. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 24 Jun 2014 Link to this post

    Hi Muhammad,

    Based on your description it is hard to determine the cause of the problem. If your issue still persists you could record a video to show the problem. If possible you can also provide the problematic grid declaration and the related code behind, so we can examine your code locally. Once we get better understanding of your scenario we will get back to you with additional information.

    Thank you for your help.

    Regards,
    Pavlina
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for WinForms is Visual Studio 2017 Ready