Jun 17, 2014, 11:16 AM
[CLOSED] Dynamic checkboxselectionmodel direct event
In dynamic checkboxSelectionModel creation direct event not getting fired.
From grid when select the checkbox following error occurs
-> checkBox1 is not found
From grid when select the checkbox following error occurs
-> checkBox1 is not found
RowSelectionModel chksRowSelect = null;
chksRowSelect = new CheckboxSelectionModel { CheckOnly = true, ID = "checkBox1" };
chksRowSelect.Mode = SelectionMode.Multi;
chksRowSelect.DirectEvents.Select.ShowWarningOnFailure = false;
chksRowSelect.DirectEvents.Select.Event += new ComponentDirectEvent.DirectEventHandler(GetSelectedOrder);
protected void GetSelectedOrder(object sender, DirectEventArgs e)
{
try
{
string strJSON = e.ExtraParams["SelectedOrder"];
string strindex = e.ExtraParams["SelectedOrderIndex"];
string currentPageIndex = e.ExtraParams["CurrentPageIndex"];
}
catch (Exception)
{
}
}
Last edited by Daniil; Jun 24, 2014 at 2:13 PM.
Reason: [CLOSED]