or
Protected Sub chkLocationArrival_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs)
Dim chk As CheckBox = DirectCast(sender, CheckBox)
Dim item As GridDataItem = DirectCast(chk.NamingContainer, GridDataItem)
Dim DestinationLocationEvent_ID As Int32 = CInt(item("Call2LocationEvent_ID").Text)
Dim CurrentLocationEvent_ID As Int32 = CInt(item("CurrentLocationEvent_ID").Text)
The problem is that the items Call2LocationEvent_ID & CurrentLocationEvent_ID have visible=false in the grid, and on postback only return a   not any value.
Has anyone else found this?
Andy
RadAjaxManager ram = RadAjaxManager.GetCurrent(Page);
ram.AjaxSettings.AddAjaxSetting(RadGrid1, RadGrid1, RadAjaxLoadingPanel1);
<
telerik:RadScriptManager
id
=
"ScriptManager"
runat
=
"server"
EnableScriptCombine
=
"true"
EnablePageMethods
=
"false"
EnablePartialRendering
=
"true"
EnableScriptGlobalization
=
"false"
EnableScriptLocalization
=
"true"
>
<
Scripts
>
<
asp:scriptreference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Core.js"
></
asp:scriptreference
>
<
asp:scriptreference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQuery.js"
></
asp:scriptreference
>
<
asp:scriptreference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQueryInclude.js"
></
asp:scriptreference
>
</
Scripts
>
</
telerik:RadScriptManager
>
protected
override
void
OnInit(EventArgs e)
{
base
.OnInit(e);
// Add an RadAjaxManager to the page.
SetUpAjaxManagerOnPage();
// Create child controls (if necessary).
EnsureChildControls();
}
protected
void
SetUpAjaxManagerOnPage()
{
// Check if there is already an Ajax Manager somewhere on the page.
RadAjaxManager currentAjaxManager = RadAjaxManager.GetCurrent(Page);
if
(currentAjaxManager ==
null
)
{
Page.Form.Controls.AddAt(0, AjaxManager);
Page.Items.Add(
typeof
(RadAjaxManager), AjaxManager);
}
}
protected
virtual
RadAjaxManager AjaxManager
{
get
{
if
(_ajaxManager ==
null
)
{
_ajaxManager = RadAjaxManager.GetCurrent(Page);
if
(_ajaxManager ==
null
)
{
_ajaxManager =
new
RadAjaxManager() { ID =
"RadAjaxManager1"
};
}
}
return
_ajaxManager;
}
}
<
telerik:RadListBox
runat
=
"server"
ID
=
"RadListBoxCharacteristicValues"
DataValueField
=
"CharacteristicValuedID"
DataTextField
=
"CharacteristicVal"
AllowReorder
=
"true"
AllowDelete
=
"true"
EnableDragAndDrop
=
"true"
Height
=
"150px"
Width
=
"240px"
/>