Hi,
I am trying to get cell value in javascript and is working fine with IE but not with Firefox (7.0.1).
On error console
Error: Components.classes['@mozilla.org/extensions/manager;1'] is undefined
Source File: chrome://jqs/content/overlay.js
Error: masterTable.getCellByColumnUniqueName(masterTable.get_dataItems()[row], "Detail").all is undefined
Here is Template for Grid
<telerik:GridTemplateColumn UniqueName="Detail" HeaderText="Detail" HeaderStyle-Width="245"
ItemStyle-Width="245">
<ItemTemplate>
<asp:TextBox ID="txtDetail" CssClass="textfield" Width="245" Text='<%#Eval("Detail") %>'
MaxLength="100" runat="server"></asp:TextBox>
</ItemTemplate>
</telerik:GridTemplateColumn>
My JavaScript code is:-
var master = $find("<%=gvCommunication.ClientID %>").get_masterTableView();
var row = master.get_dataItems()[0];
alert(master.getCellByColumnUniqueName(row, "Detail").all[0].value);
Its working fine up to getting row but in getting cell value it shows error. Here I would like to mention also 'debugger;' not working while I'm working in debug mode. Is there something wrong with firefox settings.
Please help.
Thanks,
Sanjiv
I am trying to get cell value in javascript and is working fine with IE but not with Firefox (7.0.1).
On error console
Error: Components.classes['@mozilla.org/extensions/manager;1'] is undefined
Source File: chrome://jqs/content/overlay.js
Error: masterTable.getCellByColumnUniqueName(masterTable.get_dataItems()[row], "Detail").all is undefined
Here is Template for Grid
<telerik:GridTemplateColumn UniqueName="Detail" HeaderText="Detail" HeaderStyle-Width="245"
ItemStyle-Width="245">
<ItemTemplate>
<asp:TextBox ID="txtDetail" CssClass="textfield" Width="245" Text='<%#Eval("Detail") %>'
MaxLength="100" runat="server"></asp:TextBox>
</ItemTemplate>
</telerik:GridTemplateColumn>
My JavaScript code is:-
var master = $find("<%=gvCommunication.ClientID %>").get_masterTableView();
var row = master.get_dataItems()[0];
alert(master.getCellByColumnUniqueName(row, "Detail").all[0].value);
Its working fine up to getting row but in getting cell value it shows error. Here I would like to mention also 'debugger;' not working while I'm working in debug mode. Is there something wrong with firefox settings.
Please help.
Thanks,
Sanjiv