Hello All,
I have a very simple list grid with one DAC is assigned to it. The DAC only has one Key Field and it is correctly defined. My data loads correctly without any error. The Row Selected event is fired when initially page is loaded. The problem I am facting is that the RowSelected event is not fired when I chnge row. below is the page.
<%@ Page Language="C#" MasterPageFile="~/MasterPages/ListView.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="HC3080DB.aspx.cs" Inherits="Page_HC3080DB" Title="Untitled Page" %>
<%@ MasterType VirtualPath="~/MasterPages/ListView.master" %>
<asp:Content ID="cont1" ContentPlaceHolderID="phDS" Runat="Server">
<px:PXDataSource ID="ds" runat="server" Visible="True" Width="100%" TypeName="HCL.Custom.Stockmeister.HCLEPEmployeeTrainingMaint" PrimaryView="EmployeeTraining">
<CallbackCommands>
<px:PXDSCallbackCommand Name="Save" CommitChanges="True" />
</CallbackCommands>
</px:PXDataSource>
</asp:Content>
<asp:Content ID="cont2" ContentPlaceHolderID="phL" runat="Server">
<px:PXGrid ID="grid" runat="server" DataSourceID="ds" Width="100%" Height="150px" SkinID="Primary" AllowAutoHide="false" AllowPaging="False" AllowSearch ="True" RepaintColumns="True" SyncPosition="True" AutoGenerateColumns="AppendDynamic">
<Levels>
<px:PXGridLevel DataMember="EmployeeTraining">
<Columns>
<px:PXGridColumn DataField="EmployeeID" CommitChanges="True" Width="120px" />
<px:PXGridColumn DataField="EmployeeCD" CommitChanges="True" Width="120px" />
<px:PXGridColumn DataField="EmployeeName" CommitChanges="True" Width="200px" />
<px:PXGridColumn DataField="CourseID" CommitChanges="True" Width="120px" />
<px:PXGridColumn DataField="ExpiryDate" CommitChanges="True" Width="120px" />
<px:PXGridColumn DataField="CourseExpiry" CommitChanges="True" Width="500px" />
</Columns>
</px:PXGridLevel>
</Levels>
<AutoSize Container="Window" Enabled="True" MinHeight="150" />
<ActionBar >
</ActionBar>
</px:PXGrid>
</asp:Content>