Hello all,
Has some one encountered this error : this._editor is null or not an object. I explain :
I have a webdatagrid in witch the first cell off the addingrow contains a dropdown editor. this drp is bounded on a simple table and it's role is to affect some other cells of addingRow when user select some item.
When i click my drp, the addingRow cells receive their values as i desire. The problem is just after. Wher i click anywhere on my page the javascript error (above) appear.
Is some one know the issue to this problem?
I'm on it since yesterday
Big thanks for your helps
Hi 362700,
Are you manually calling the code this._editor.closeDropDown() or is it getting called by the grid? If you have a sample you could attach that shows this problem, I'll be glad to take a look for you.
regards,David Young
Hello David,
This is a small test for my problem. For information, it runs under ie8 (8.0.6001.18702).
When I switch the default browser to Firefox it works good.
The table used in this sample contains 4 fields as follow :
ID_APPUSER varchar(20) (PK)
PWD char(8)
MEMBER_OF varchar(5)
RIGHT_LEVEL tinyint
PS : it works most quickly under Firefox!!!
I sended yesterday this message with a little sample, have you received it?
Best regards
Hafid
Hello 362700,
we didn't received your sample. Could you send it again?
Thanks
Hi All,
I have submitted this problem, but no received any answer. I need your help please.
Problem : I have a an editor drop down in webdatagrid. After i clicked the drop down and selected value, it become impossible to click any where in my page. I got this message in script ressource axd:
notifyLostFocus:
{
/// The method is called whenever the editor loses focus.
/// </summary>
/// <param name="e" type="Sys.UI.DomEvent">
/// Event object associated with the event that triggered losing focus by the editor.
/// </param>
this ._editor.closeDropDown(); <---------------IT STOP HERE!!!
the message is :
Microsoft JScript runtime error: 'this._editor' is null or not an object
could you tell us which build you are using and please provide aspx with steps to reproduceThanks
Hi,
this is fixed in versions later than:
10.1.20101.217810.2.20102.218810.3.20103.2088
I have submitted this as bug #65974. You will be notified automatically when it is fixed.
I removed the updatepanel and the problem disappeared. On the other hand I have buttons as to modify which serves to return the webdatagrid in edit mode
Its button and the others send all the page and benefit no more AJAX!If I put my buttons in an updatepanel by isolating the webdatagrid, there have no effect on the webdatagrid.
Have an idea?In any case your answer advances me a lot and I thank you for it
thank you for the provided code. I'm not sure what is this line for:
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server" AutoGenerateColumns="False" AutoCRUD="true" DataSourceID="SqlDataSource1" DataKeyFields ="ID_APPUSER" Font-Size="XX-Small" Height="138px">,but the error seems to occur because you are putting WebDataGrid in UpdatePanel and set DropDownProvider's AutoPostBack property to True. WebDataGrid has its own Ajax mechanism, which is enabled by default. so there is no need to use UpdatePanel.
Hope this helps
Hello and thank you for your help.
I send you a zip file test1.zip.
To resume this problem :
1 - webdatagrid with one dropdown as an editor provider
2 - in code behind (test.aspx.cs), the dropdown selction allow user to affect other cells od adding row.
3 - When the selection is done, the js bug is thrown. And all is blocked. Impossible to click any where in my page.
4 - the database i use is a test table with 4 fields as this
ID_APPUSER varchar(20) (PK)PWD char(8) MEMBER_OF varchar(5) RIGHT_LEVEL tinyint
note : in this sample i use the same table to bind webdatagrid and the dropdown editor
I use IE8.0 6001.18702
Infragistics4.Web.v10.3, Version=10.3.20103.2073
All my thanks