Grid Loses Data after initial Grid.DataBind()

Hi All

I am having issues with my datagrid.

I can load the data ok using

 dt = PlayersLogic.GetPlayers(TeamNo)

PlayersGrid.DataSource = dt
PlayersGrid.DataBind()

But as soon as the data is displayed in the grid, it disappears, I have check my code using a trace file and everything flows as expected.

I am using aspx files with VB.Net

TIA

Colin

15 Replies 1 reply marked as answer

PK Padmavathy Kamalanathan Syncfusion Team July 9, 2020 02:24 PM UTC

Hi Colin,

Thanks for contacting Syncfusion Forums.

QUERY: Grid Loses data after initial rendering

Before proceeding, we need some details from you. Kindly share us the below details, 
 
  1. Complete Grid rendering code(both client and server)
  2. Video demonstrating the issue
  3. Screenshot of error with stack trace (if any)
  4. Essential Studio Version details
  5. You can also use actionFailure event to detect the error. Please check the below code snippet,


<ej:Grid ID="OrdersGrid" runat="server" AllowPaging="True"> 
            <ClientSideEvents ActionFailure="actionfailure" /> 
        </ej:Grid> 
<script type="text/javascript">function actionfailure (args) {          console.log(args.error);        }</script>

Please check the below API help documentation,
Regards, 
Padmavathy Kamalanathan 

  


Marked as answer

CO Colin July 9, 2020 03:44 PM UTC

Hi Padmavathy

I have enclosed the aspx and aspx.vb pages.

The action failure did not show any errors.

Many Thanks

Colin


Attachment: screenshot_4f4d8e4d.zip


PK Padmavathy Kamalanathan Syncfusion Team July 10, 2020 12:33 PM UTC

Hi Colin,

Thanks for your update.

We are unable to find the client and server end code file in your attachment from your last update. It contains a screenshot alone. Kindly share us the attachment file you have mentioned, which help us to proceed further. 

Also share us other details requested in our previous update.

Regards,
Padmavathy Kamalanathan



CO Colin July 10, 2020 03:20 PM UTC

Apologies

I have reloaded the aspx files

Thanks

-Colin

Attachment: SyncfusionPGLAX_314cc7ec.zip


PK Padmavathy Kamalanathan Syncfusion Team July 13, 2020 11:14 AM UTC

Hi Colin, 

 
Thanks for the details. 

 
We have created sample with your code and checked the issue. But we are unable to reproduce the issue at our end. We have shared the sample for your reference and you can download the same from the below location, 

 
If you face same issue even after referring the above sample, kindly get back to us with the below details, 
 
  1. You have also used some client end events of Grid(Action Complete, Record Click, End Add etc). But we could not find code related to those events. Kindly share those codes
  2. Also share us details requested in our previous updates.
  3. If possible, share us issue reproducible sample or reproduce the issue in the sample shared above.
NOTE: You can find the client and server page inside Grid Folder of the sample 

Regards,
Padmavathy Kamalanathan



CO Colin July 16, 2020 03:50 PM UTC

Thank you for your assistance and sample code, I know it will become very useful

Thanks

-Colin


PK Padmavathy Kamalanathan Syncfusion Team July 17, 2020 06:54 AM UTC

Hi Colin,

Thanks for your update. 

Kindly get back to us for further assistance.

Regards,
Padmavathy Kamalanathan



CO Colin July 17, 2020 08:49 PM UTC

Hi Padmavathy 

After modifying my code to better reflect your changes, this yet again does not work

I have enclosed all the files, ( less the bin, scripts etc ) folders, I have also tested using different browsers

Thanks

C

Attachment: SyncfusionPGLAX_6ed44273.zip


PK Padmavathy Kamalanathan Syncfusion Team July 20, 2020 02:09 PM UTC

Hi Colin,

Thanks for the update.

We could not run the sample you have shared since the packages are not installed and referred properly.

We request you to kindly share us a runnable sample again so that we can check the reported issue at our end.

Regards,
Padmavathy Kamalanathan



CO Colin July 20, 2020 04:03 PM UTC

Unfortunately

If I include the packages, the compressed file size is 80 Meg, where as the restricted files size is only 30Meg

I guess I will have to go back to the drawing board and use a different design away from your installed templates.

Thanks for you assistance

-Colin



PK Padmavathy Kamalanathan Syncfusion Team July 21, 2020 01:06 PM UTC

Hi Colin,

Thanks for the update.

QUERY:  If I include the packages, the compressed file size is 80 Meg, where as the restricted files size is only 30Meg

We suggest you to use "Google Drive" or "Drop Box" for sharing the sample.

Kindly get back to us for further assistance

Regards,
Padmavathy Kamalanathan



CO Colin July 23, 2020 03:04 PM UTC


Hi Padmavathy

https://drive.google.com/file/d/1cT04ASxhkTXllQVDgSfhVXjtlaAdrSKk/view?usp=sharing

This is the link to my sample file

Many Thanks for your persistence on this

-Colin


PK Padmavathy Kamalanathan Syncfusion Team July 24, 2020 07:49 AM UTC

Hi Colin,

Thanks for the update.

The Sample you have shared in google drive is asking for access permission. I have requested for access. But i have not received the access permission. Kindly provide access for the downloading the sample.

Kindly get back to us for further assistance.

Regards,
Padmavathy Kamalanathan



PK Padmavathy Kamalanathan Syncfusion Team July 28, 2020 12:16 PM UTC

Hi Colin, 
  
Thanks for providing access to the sample. 
  
We need time to validate the issue. We will get back to you with further details on or before July 30, 2020.  
  
Until then we appreciate your patience. 
  
Regards, 
Padmavathy Kamalanathan 



PK Padmavathy Kamalanathan Syncfusion Team July 30, 2020 01:32 PM UTC

Hi Colin,

In order to discuss the issue, we have created new incident. Please check the below link,

Note: To view the incident , kindly login into your account.

Regards,
Padmavathy Kamalanathan


Loader.
Up arrow icon