i already purchage your tool
my question is
1)how to replace igedit_getById('<%=stdFeeWebCurrencyEdit.ClientID%>') in javascript
2)stdFeeWebCurrencyEdit.getValue(); in javascript
3)stdFeeWebCurrencyEdit.setValue(0) in javascript
on
<ig:WebCurrencyEditor ID="enFeeWebCurrencyEdit" runat="server" CssClass="normalText" MinValue="0" Nullable="False" Width="100px" MaxValue="100000"> </ig:WebCurrencyEditor> control on version 15.1
please help width code
thanks.
Hello,
Thank you for the update. Did you change the index of the cell/column you are trying to access the item at? From your markup it appears to be the first column or index 0, in the code you set me you are accessing the 4th column or index 3.
hi,
i am usging
CheckBox check = (Checkbox)WebDataGrid1.Rows[0].Items[3].FindControl("Checkbox2");
but value return null
plase help
Thank you for the update. If you have a control in a template and you want the value from that control you have to find the control first. For example:
However since you want a checkbox column I recommend you instead use our bound or unbound checkbox column:
http://help.infragistics.com/doc/ASPNET/2015.1/CLR4.0/?page=WebDataGrid_Columns.html
http://ko.infragistics.com/samples/aspnet/data-grid/checkbox-column
http://ko.infragistics.com/samples/aspnet/data-grid/unbound-checkbox-column
Concerning adding rows to your database what do you mean it isn’t working for adding two rows? Is it not adding to your database? Or is it not being added to the grid? Either way I recommend you set EnableDataViewState set to false and rebind your grid on postback. Otherwise you can run into issues with the previous data being maintained.
i was not found ig:TemplateDataField <asp:CheckBox ID="CheckBox2" runat="server" ClientIDMode="AutoID" />
value =1 or 0 or true or false.
Please help me .
foreach (GridRecord row in listWebGrid.Rows) {
string itm = row.Items[0].text;
}
----------------------------
<ig:WebDataGrid ID="listWebGrid" OnRowAdded="listWebGrid_RowAdded" OnRowAdding="listWebGrid_RowAdding" OnRowUpdated="listWebGrid_RowUpdated" OnRowUpdating="listWebGrid_RowUpdating" EnableAjaxViewState="true" EnableDataViewState="true" EnableAjax="true" Width="99%" StyleSetName="Office2007Black" runat="server" AutoGenerateColumns="false"> <Columns> <ig:TemplateDataField Key="chkBox" Width="40px" > <ItemTemplate > <asp:CheckBox ID="CheckBox2" runat="server" ClientIDMode="AutoID" /> </ItemTemplate> </ig:TemplateDataField>
<ig:BoundDataField DataFieldName="MessageDescription" Key="MessageDescription" Header-Text="Message"></ig:BoundDataField> <ig:BoundDataField DataFieldName="NotesMessageId" Key="NotesMessageId" Hidden="true"></ig:BoundDataField> </Columns> <Behaviors> <ig:EditingCore AutoCRUD="false"> <Behaviors> <ig:RowEditing Enabled="true" EnableDialog="true" EditModeActions-EnableOnActive="true" EditModeActions-MouseClick="Double"> <ColumnSettings>
<ig:EditingColumnSetting ReadOnly="true" ColumnKey="chkBox" /> </ColumnSettings> </ig:RowEditing> </Behaviors> </ig:EditingCore> </Behaviors>
</ig:WebDataGrid>
-----------------------
i insert two row to grid and insert to database it is not working in new version