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

Postback problem

5 Answers 71 Views
New Product Suggestions
This is a migrated thread and some comments may be shown as answers.
Muhammad Arsal
Top achievements
Rank 2
Muhammad Arsal asked on 19 Jun 2014, 08:31 AM
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

5 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 19 Jun 2014, 09:59 AM
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.

 
0
Muhammad Arsal
Top achievements
Rank 2
answered on 19 Jun 2014, 12:15 PM
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
0
Muhammad Arsal
Top achievements
Rank 2
answered on 19 Jun 2014, 12:18 PM
sorry correction*
but when i clicked a grid then grid disable/postback
please reply asap !!
0
Muhammad Arsal
Top achievements
Rank 2
answered on 19 Jun 2014, 01:03 PM
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
0
Pavlina
Telerik team
answered on 24 Jun 2014, 11:03 AM
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.

 
Tags
New Product Suggestions
Asked by
Muhammad Arsal
Top achievements
Rank 2
Answers by
Pavlina
Telerik team
Muhammad Arsal
Top achievements
Rank 2
Share this question
or