Hi,
if I ll bind 500 rows to rad-grid with set property allowpaging is true ,after that I pass the 2nd pageDataKeyName value as a parameter. but I can not retrieve the 2nd page DataKeyName item index.
what can i do for this problem?
this is my code
if I ll bind 500 rows to rad-grid with set property allowpaging is true ,after that I pass the 2nd pageDataKeyName value as a parameter. but I can not retrieve the 2nd page DataKeyName item index.
what can i do for this problem?
this is my code
Private
Sub
GRD_NewsList_PreRender(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
GRD_NewsList.PreRender
If
Not
Page.IsPostBack
Then
Dim
val
As
String
= GetNumeric(Request(
"NewsId"
))
If
val = 0
Then
GRD_NewsList.MasterTableView.IsItemInserted =
True
Else
For
Each
Items
As
GridDataItem
In
GRD_NewsList.MasterTableView.Items
If
GetNumeric(Items.GetDataKeyValue(
"NewsId"
)) = val
Then
Items.Edit =
True
Exit
For
End
If
Next
End
If
GRD_NewsList.Rebind()
End
If
End
Sub