This is a migrated thread and some comments may be shown as answers.
can not get master table view before showing the grid???
2 Answers 36 Views
This is a migrated thread and some comments may be shown as answers.
Elton
Top achievements
Rank 1
Elton asked on 07 Aug 2008, 04:57 AM
Hello,

What I am trying to do is get master table view from client side without binding the grid.

The error I got is:

"Microsoft JScript runtime error: Sys.ArgumentNullException: Value cannot be null.
Parameter name: id"

The reason for doing this is I wanna use client side binding. And if I bind the grid from server side, even with empty data, there's a "No records found" row hounting there. Then If I bind data to grid from client side, "No records found" row  will be still there. Also the styles are not applied automatically to new rows...

Any idea?

Cheers,
Elton

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 11 Aug 2008, 07:48 AM
Hi Elton,

Please assign an empty event handler to the OnCommand client-side event similar to this example:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Client/LiveData/DefaultCS.aspx

All the best,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sameer Alibhai
Top achievements
Rank 1
answered on 14 Aug 2009, 07:48 PM
Hi Vlad.
I wasted about half a day until I found this thread, Please fix this bug, or make it very clear that client side binding does not work without putting an empty function in there.

Tags
Grid
Asked by
Elton
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Sameer Alibhai
Top achievements
Rank 1
Share this question
or