Feb 18, 2009, 9:44 AM
SelectionModel Rowselect
hey cooliters
i have a small problem concerning rowselect in a selectionModel.
When i click a row in the gridpanel i use a function OnEvent="RowSelect".
Now the problem is that onEvents keeps firing the function "RowSelect" after i have clicked a row.
This is my selection model :
i have a small problem concerning rowselect in a selectionModel.
When i click a row in the gridpanel i use a function OnEvent="RowSelect".
Now the problem is that onEvents keeps firing the function "RowSelect" after i have clicked a row.
This is my selection model :
<SelectionModel>
<ext:RowSelectionModel ID="RowSelectionModel1" runat="server" SingleSelect="true">
<AjaxEvents>
<RowSelect OnEvent="RowSelect" Buffer="250" >
<EventMask ShowMask="true" Target="CustomTarget" CustomTarget="#{SouthPanelPersonID}" />
<ExtraParams>
<ext:Parameter Name="personID" Value="this.getSelected().id" Mode="Raw" />
</ExtraParams>
</RowSelect>
</AjaxEvents>
</ext:RowSelectionModel>
</SelectionModel>
And this is my RowSelect function :Public Function RowSelect(ByVal sender As Object, ByVal e As AjaxEventArgs)
MsgBox("this keeps popping up instead of only once", MsgBoxStyle.OkOnly, "Warning")
Return False
End Function
in this case the message box keeps popping up