I have wriiten alert message as below in my webdatagrid_rowUpdating event.
if(APUtility.ToDateTime(e.Values["PTOStartDate"]) < System.DateTime.Now || APUtility.ToDateTime(e.Values["PTOSEndDate"]) < System.DateTime.Now)
{
String Message = PtoPopUpMessages(clsKeyDatesAndMetrics.clsKeyDatesAndMetricsRepalcementString.PTO_POPUP_VAL_PASTPTONONEDIT);
ScriptManager.RegisterStartupScript(wdgPTODetails, wdgPTODetails.GetType(), "Alerts", "alert('" + Message.ToString() + "')", true);
}
wdgPTODetails is my gird name. i am getting the message from database and wantted to show as alert. during debug i found that control goes to the statement but the alert message not popping up. please help.
my Design page looks like as below
<ig:webdatagrid id="wdgPTODetails" runat="server" autogeneratecolumns="False" height="350px"onrowadding="wdgPTODetails_RowAdding" onrowupdating="wdgPTODetails_RowUpdating" width="557px" ondatabound="wdgPTODetails_DataBound" DataKeyFields="PTOID">
<Columns>
<ig:BoundDataField DataFieldName="PTOID" Hidden="true" Key="PTOID"
DataType="System.Int32">
<Header Text="Pto_id" />
</ig:BoundDataField>
<ig:BoundDataField DataFieldName="UserID" Key="UserID" DataType="System.Int32">
<Header Text="TM Name" /></ig:BoundDataField>
<ig:BoundDataField DataFieldName="PTOStartDate" Key="PTOStartDate"
DataType="System.DateTime"><Header Text="Start Date" />
<Footer Text="Start Date" /></ig:BoundDataField>
<ig:BoundDataField DataFieldName="PTOEndDate" Key="PTOEndDate"
DataType="System.DateTime">
<Header Text="End Date" />
<ig:BoundDataField DataFieldName="PTOStatus" Key="PTOStatus">
<Header Text="Status" />
<Footer Text="Status" />
</Columns>
behaviour section as below
<ig:EditingCore AutoCRUD="False">
<ig:CellEditing EditModeActions-EnableF2="true" EditModeActions-MouseClick="Single" EditModeActions-EnableOnKeyPress="true"
Enabled="true">
<EditModeActions MouseClick="Single"/>
<ig:EditingColumnSetting ColumnKey="UserID" ReadOnly="true" ValidatorID="RequiredFieldValidator1"/>
<ig:EditingColumnSetting ColumnKey="PTOStatus" ReadOnly="True" />
<ig:EditingColumnSetting ColumnKey="PTOStartDate" EditorID="PTO_DatePicker" ValidatorID="RequiredFieldValidator1"/>
<ig:EditingColumnSetting ColumnKey="PTOEndDate" EditorID="PTO_DatePicker" ValidatorID="RequiredFieldValidator1"/>
</ColumnSettings>
</ig:CellEditing>
Hello vasiharan,
I have been looking into your code and I believe that this code snippet will work only during a full postback or if the control is inside UpdatePanel. In the case of updating- WebDataGrid makes async call to the server in order to commit its changes therefore your alert won’t pop up as expected.
However If your WebDataGrid is placed inside of UpdatePanel you can just set the EnableAjax property of the WebDataGrid to false and then show the message like this:
void WebDataGrid1_RowUpdating(object sender, Infragistics.Web.UI.GridControls.RowUpdatingEventArgs e)
String Message = "daaa";
ScriptManager.RegisterStartupScript(updatePanel1, updatePanel1.GetType(), "Alerts", "alert('" + Message.ToString() + "')", true);
Please let me know if this helps.
Hi Elena,
Thanks a lot.
Its works fine. i already have update panel. i made the EnableAjax property = false in my gird and did changes in scrimt code as you suggested. Its working now.
One more issue is when the javascript alert comes , the Grid goes blank, after clicking of "Ok" button of alert messgae , the grid loads back.
Please help us to solve this issue.
Hello vasiharan ,
You can resolve this issue if you display the alert directly on the client using Initialize event of the WebDataGrid. For this scenario you can place HiddenField in your UpdatePanel where you can store the message from your database.
in the markup:
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:HiddenField runat="server" ID="hidden1" Value="" />
<ig:WebDataGrid ID="WebDataGrid1" ClientEvents-Initialize="init" runat="server" Height="350px"
Width="400px" AutoGenerateColumns="False" EnableAjax="false" DataKeyFields="ID">
..
in js:
function init(sender, args) {
alert($("#hidden1").val());
in C#:
String Message = "myMessage";
hidden1.Value = Message;
// ScriptManager.RegisterStartupScript(UpdatePanel1, UpdatePanel1.GetType(), "Alerts", "alert('" + Message.ToString() + "')", true);
Thanks for you reply.
We have two more queries related to WebDataGrid
1. We required Filter functionality for WebDataGrid.
2. Deletion of Multiple Record on Multiple Selection
Actually we have WebDataGrid with morethan 2000 records with 50 columns. need to apply filter functionality for each column.
we have added the below code
<ig:Filtering FilterType="ExcelStyleFilter" Alignment="Top" Visibility="Visible"/>
but it will always gives the below error.
"a script on this page is causing your browser to run slowly. if it continues to run, your computer might become unresponsiveness."
after tried with the below code. but only "contain" rules is working remaing rules are not working.
Could please help us to achieve the filter fuctionality in WebDataGrid.
<ig:WebDataGrid ID="WebDataGridUSCSProducts" runat="server" DataKeyFields="KeyField" AutoGenerateColumns="false" Height="650px" DefaultColumnWidth="100px" Width="1000px" OnRowUpdating="WebDataGridUSCSProducts_RowUpdating"> <Columns> <ig:BoundDataField DataFieldName="USCSProductID" Key="PROD_ID"> <Header Text="PROD_ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ProductGroupID" Key="PROD_GRP_ID"> <Header Text="PROD_GRP_ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ProductGroupDSTX" Key="PROD_GRP_ID_DS_TX"> <Header Text="PROD_GRP_ID_DS_TX" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="FamilyID" Key="FMLY_ID"> <Header Text="FMLY_ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="FamilyDSTX" Key="FMLY_DS_TX"> <Header Text="FMLY_DS_TX" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ConfigID" Key="CONFIG_ID"> <Header Text="CONFIG_ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ConfigIDDSTX" Key="CONFIG_DS_TX"> <Header Text="CONFIG_DS_TX" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="IAID" Key="IA_ID"> <Header Text="IA_ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="IaDSTX" Key="IA_DS_TX"> <Header Text="IA_DS_TX" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ColorID" Key="COLOR_ID"> <Header Text="COLOR_ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="CardProdLocCD" Key="CARD_PROD_LOC_CD"> <Header Text="CARD_PROD_LOC_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="MktGrpProdCD" Key="MKT_GRP_PROD_CD"> <Header Text="MKT_GRP_PROD_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="CardSubProdCD" Key="CARD_SUB_PROD_CD"> <Header Text="CARD_SUB_PROD_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ProdAcctTypeCD" Key="PROD_ACCT_TYPE_CD"> <Header Text="PROD_ACCT_TYPE_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="SubAcctTypeCD" Key="SUB_ACCT_TYPE_CD"> <Header Text="SUB_ACCT_TYPE_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="StudentIn" Key="STUDENT_IN"> <Header Text="STUDENT_IN" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="PremAcctTypeCD" Key="PREM_ACCT_CD"> <Header Text="PREM_ACCT_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="PlstcInCD" Key="PLSTC_IN_CD"> <Header Text="PLSTC_IN_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="EemProdID" Key="EEM_PROD_ID"> <Header Text="EEM_PROD_ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="LegalEntityID" Key="LEGAL_ENTITY_ID"> <Header Text="EEM_PROD_ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="LegalEntityNM" Key="LEGAL_ENTITY_NM"> <Header Text="LEGAL_ENTITY_ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="LegalEntityAbbrNM" Key="LEGAL_ENTITY_ABBR_NM"> <Header Text="LEGAL_ENTITY_ABBR_NM" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ProdLongNM" Key="PROD_LONG_NM"> <Header Text="PROD_LONG_NM" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ProdMrEmbedIN" Key="PROD_MR_EMBED_IN"> <Header Text="PROD_MR_EMBED_IN" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ProdMrEligIN" Key="PROD_MR_ELIG_IN"> <Header Text="PROD_MR_ELIG_IN" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="IaCdLnchDt" Key="IA_CD_LNCH_DT"> <Header Text="IA_CD_LNCH_DT" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ProdPerfTrkCd" Key="PROD_PERF_TRK_CD"> <Header Text="PROD_PERF_TRK_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ProdPayTypeCd" Key="PROD_PAY_TYPE_CD"> <Header Text="PROD_PAY_TYPE_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="RewardTypeCd" Key="REWARD_TYPE_CD"> <Header Text="REWARD_TYPE_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="LobCode" Key="LOB_CD"> <Header Text="LOB_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ViewFundInstAgtIn" Key="FUND_INST_AGT_IN"> <Header Text="FUND_INST_AGT_IN" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ViewFundInstAgtNm" Key="FUND_INST_AGT_NM"> <Header Text="FUND_INST_AGT_NM" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ViewAcctLvlCd" Key="ACCT_LVL_CD"> <Header Text="ACCT_LVL_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ViewCustLvlCd" Key="CUST_LVL_CD"> <Header Text="CUST_LVL_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ViewCardRollupHier" Key="CARD_ROLLUP_HIER"> <Header Text="CARD_ROLLUP_HIER" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ViewMrCardRollupHierCd" Key="MR_CARD_ROLLUP_HIER_CD"> <Header Text="MR_CARD_ROLLUP_HIER_CD" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ViewCardRollupDsTx" Key="CARD_ROLLUP_DS_TX"> <Header Text="CARD_ROLLUP_DS_TX" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ViewCardSlctRolupTx" Key="CARD_SLCT_ROLUP_TX"> <Header Text="CARD_SLCT_ROLUP_TX" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ViewConsFriendlyDsTx" Key="CONS_FRIENDLY_DS_TX"> <Header Text="CONS_FRIENDLY_DS_TX" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ViewProdPerfTrkCdDs" Key="PROD_PERF_TRK_CD_DS"> <Header Text="PROD_PERF_TRK_CD_DS" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ViewProdPerfTrkLongDs" Key="PROD_PERF_TRK_LONG_DS"> <Header Text="PROD_PERF_TRK_LONG_DS" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ActBasicAcctCt" Key="ACT_BASIC_ACCT_CT"> <Header Text="ACT_BASIC_ACCT_CT" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="InactBasicAcctCt" Key="INACT_BASIC_ACCT_CT"> <Header Text="INACT_BASIC_ACCT_CT" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="ActSuppActCt" Key="ACT_SUPP_ACCT_CT"> <Header Text="ACT_SUPP_ACCT_CT" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="InactSuppActCt" Key="INACT_SUPP_ACCT_CT"> <Header Text="INACT_SUPP_ACCT_CT" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="LstUpdtUserid" Key="LST_UPDT_USERID"> <Header Text="LST_UPDT_USERID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="LstUpdtTs" Key="LST_UPDT_TS"> <Header Text="LST_UPDT_TS" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="DispIn" Key="Display_IN" DataType="System.Char"> <Header Text="Display_IN" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="UnicaMacroNm" Key="UNICA_NM"> <Header Text="UNICA_NM" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="CecChngIn" Key="CECChangeIndicator" DataType="System.Char"> <Header Text="CEC Change Indicator" /> </ig:BoundDataField> </Columns> <EditorProviders> <ig:DropDownProvider ID="DisplayIndicatorProvider" EditorControl-DropDownContainerHeight="100px" EditorControl-DropDownContainerWidth="120px"> <EditorControl ID="EditorControl1" runat="server" DisplayMode="DropDownList" TextField="DispIn" ValueField="KeyField" /> </ig:DropDownProvider> <ig:TextBoxProvider ID="TextBoxProvider1" EditorControl-MaxLength="100" EditorControl-Rows="3"> </ig:TextBoxProvider> </EditorProviders> <Behaviors> <ig:Activation Enabled="true" /> <ig:VirtualScrolling ScrollingMode="Virtual" DataFetchDelay="500" RowCacheFactor="3" ThresholdFactor="0.5" Enabled="true" /> <ig:ColumnResizing Enabled="true"> </ig:ColumnResizing> <ig:ColumnFixing> </ig:ColumnFixing> <ig:Filtering FilterType="RowFilter" AnimationDurationMs="5000" Enabled="true" Alignment="Top" Visibility="Visible" AnimationEnabled="true"> <ColumnSettings > </ColumnSettings> <EditModeActions EnableF2="true" EnableOnActive="true" /> <ColumnFilters></ColumnFilters> </ig:Filtering> <ig:Selection CellClickAction="Row" Enabled="False" RowSelectType="Multiple" /> <ig:EditingCore AutoCRUD="false" EditingClientEvents-RowUpdating="cancelRowSaving" Enabled="true"> <EditingClientEvents RowUpdating="cancelRowSaving" /> <Behaviors> <ig:CellEditing EditModeActions-EnableF2="true" EditModeActions-MouseClick="Single" Enabled="true">
<ColumnSettings> <%--<ig:EditingColumnSetting ColumnKey="KeyField" EditorID="KeyField" ReadOnly="true" />--%> <ig:EditingColumnSetting ColumnKey="PROD_ID" EditorID="PROD_ID" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="PROD_GRP_ID" EditorID="PROD_GRP_ID" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="PROD_GRP_ID_DS_TX" EditorID="PROD_GRP_ID_DS_TX" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="FMLY_ID" EditorID="FMLY_ID" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="FMLY_DS_TX" EditorID="FMLY_DS_TX" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="CONFIG_ID" EditorID="CONFIG_ID" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="CONFIG_DS_TX" EditorID="CONFIG_DS_TX" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="IA_ID" EditorID="IA_ID" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="IA_DS_TX" EditorID="IA_DS_TX" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="COLOR_ID" EditorID="COLOR_ID" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="CARD_PROD_LOC_CD" EditorID="CARD_PROD_LOC_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="MKT_GRP_PROD_CD" EditorID="MKT_GRP_PROD_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="CARD_SUB_PROD_CD" EditorID="CARD_SUB_PROD_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="PROD_ACCT_TYPE_CD" EditorID="PROD_ACCT_TYPE_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="SUB_ACCT_TYPE_CD" EditorID="SUB_ACCT_TYPE_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="STUDENT_IN" EditorID="STUDENT_IN" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="PREM_ACCT_CD" EditorID="PREM_ACCT_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="PLSTC_IN_CD" EditorID="PLSTC_IN_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="EEM_PROD_ID" EditorID="EEM_PROD_ID" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="LEGAL_ENTITY_ID" EditorID="LEGAL_ENTITY_ID" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="LEGAL_ENTITY_NM" EditorID="LEGAL_ENTITY_NM" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="PROD_LONG_NM" EditorID="PROD_LONG_NM" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="PROD_MR_EMBED_IN" EditorID="PROD_MR_EMBED_IN" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="PROD_MR_ELIG_IN" EditorID="PROD_MR_ELIG_IN" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="IA_CD_LNCH_DT" EditorID="IA_CD_LNCH_DT" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="PROD_PERF_TRK_CD" EditorID="PROD_PERF_TRK_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="PROD_PAY_TYPE_CD" EditorID="PROD_PAY_TYPE_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="REWARD_TYPE_CD" EditorID="REWARD_TYPE_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="LOB_CD" EditorID="LOB_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="FUND_INST_AGT_IN" EditorID="FUND_INST_AGT_IN" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="FUND_INST_AGT_NM" EditorID="FUND_INST_AGT_NM" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="ACCT_LVL_CD" EditorID="ACCT_LVL_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="CUST_LVL_CD" EditorID="CUST_LVL_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="CARD_ROLLUP_HIER" EditorID="CARD_ROLLUP_HIER" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="MR_CARD_ROLLUP_HIER_CD" EditorID="MR_CARD_ROLLUP_HIER_CD" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="CARD_ROLLUP_DS_TX" EditorID="CARD_ROLLUP_DS_TX" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="CARD_SLCT_ROLUP_TX" EditorID="CARD_SLCT_ROLUP_TX" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="CONS_FRIENDLY_DS_TX" EditorID="CONS_FRIENDLY_DS_TX" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="PROD_PERF_TRK_CD_DS" EditorID="PROD_PERF_TRK_CD_DS" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="PROD_PERF_TRK_LONG_DS" EditorID="PROD_PERF_TRK_LONG_DS" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="ACT_BASIC_ACCT_CT" EditorID="ACT_BASIC_ACCT_CT" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="INACT_BASIC_ACCT_CT" EditorID="INACT_BASIC_ACCT_CT" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="ACT_SUPP_ACCT_CT" EditorID="ACT_SUPP_ACCT_CT" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="INACT_SUPP_ACCT_CT" EditorID="INACT_SUPP_ACCT_CT" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="LST_UPDT_USERID" EditorID="LST_UPDT_USERID" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="LST_UPDT_TS" EditorID="LST_UPDT_TS" ReadOnly="true" /> <ig:EditingColumnSetting ColumnKey="Display_IN" EditorID="DisplayIndicatorProvider" ReadOnly="false" /> <ig:EditingColumnSetting ColumnKey="UNICA_NM" EditorID="TextBoxProvider1" ReadOnly="false" /> <ig:EditingColumnSetting ColumnKey="CECChangeIndicator" EditorID="DisplayIndicatorProvider" ReadOnly="false" /> </ColumnSettings> <EditModeActions MouseClick="Single" /> </ig:CellEditing> </Behaviors> </ig:EditingCore> </Behaviors> <EditorProviders> <ig:WebTextEditProvider ID="WebTextEditProvider5" /> </EditorProviders> </ig:WebDataGrid>
Actual requirement is Multiple Selection of rows need to delete multiple records. i have achieved on one selection of the row. single record is deleting.
could you please see the below code and please help to me how to achieve deletion of records on multiple selection in WebDataGrid.
<ig:WebDataGrid ID="grdSaltListMgt" runat="server" Height="310px" Width="900px" DataKeyFields="Seq_NO,SaltGroupCode" AutoGenerateColumns="False" EnableViewState="true" OnRowsDeleting="grdSaltListMgt_RowsDeleting" EnableAjax="true" EnableAjaxViewState="true" OnRowSelectionChanged="grdSaltListMgt_RowSelectionChanged"> <Columns> <ig:BoundDataField DataFieldName="Seq_NO" Key="Seq_NO" Hidden="true"> <Header Text="Seq_NO" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="SaltGroupCode" Key="SaltGroupCode"> <Header Text="Salt Group Identifier" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="DartID" Key="DartID"> <Header Text="DART Request ID" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="SaltGroupDesc" Key="SaltGroupDesc"> <Header Text="Salt Group Description" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="SaltLevel" Key="SaltLevel"> <Header Text="Salt Level Code" /> </ig:BoundDataField> <ig:BoundDataField DataFieldName="LastUpdateTime" Key="LastUpdateTime"> <Header Text="Last Update Timestamp" /> </ig:BoundDataField> </Columns> <Behaviors> <ig:Activation Enabled="true"> </ig:Activation> <ig:Selection Enabled="true" RowSelectType="Single" CellClickAction="Row"> <SelectionClientEvents RowSelectionChanged="onRowSelectionChanged" /> </ig:Selection> <ig:EditingCore AutoCRUD="false"> <Behaviors> <ig:RowDeleting Enabled="true" /> </Behaviors> </ig:EditingCore> <ig:RowSelectors Enabled="true"> </ig:RowSelectors> <ig:Filtering AnimationDurationMs="4000" Enabled="true" Alignment="Top" Visibility="Visible" AnimationEnabled="true"> </ig:Filtering> </Behaviors> </ig:WebDataGrid>
Thanks in Advance.
Vasiharan
Hello Vasiharan,
I have been looking into your requirements and I am not sure what may cause the first issue on your side. Could you please provide me with small sample where it is reproducible so I can investigate it further.
Regarding the second question you could check the following forum thread which seems to discuss the same topic:
http://es.infragistics.com/community/forums/t/73771.aspx
I am still following your case. Have you been able to resolve the issue?If you still have any concerns or questions I will be glad to help.
If you need any additional assistance do not hesitate to ask.