We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

error with focus on gridGrouping control

Thread ID:





58284 Mar 21,2007 04:53 PM UTC Mar 26,2007 11:59 PM UTC ASP.NET Web Forms (Classic) 5
Tags: GridGroupingControl
Rachael Smith
Asked On March 21, 2007 04:53 PM UTC


I have a web page with a grid grouping control. When i run the page and click on the grid i get the message:

A Runtime Error has occured.
Error: 'id' is null or not an object

I have debugged into this and it occurs in the focus of the grid.


function EG_OnFocusIn(evt)
evt = evt || event;
evt.srcElement.onfocus = null;
eg_focusineventtype = "focusin";

function EG_OnFocusChange(evt)
var gridObj = GetEGridObj(GetEventSourceElement(evt));

function GetEGridObj(srcElement)
while(srcElement != null)
_indexOf = srcElement.id.indexOf("~");

It is the id here which is null.

How can i prevent this error occuring for your control?

Many Thanks,

Gokul B [Syncfusion]
Replied On March 21, 2007 08:18 PM UTC

Hi Rachael,

We couldn't able to reproduce the issue as you mentioned. We created one sample in which the GridGroupingControl is placed inside web page. And we populate the Grid data from the AccessDatasource. We afraid it doesnt reproduce any issue even if we click the GridGroup. To ensure this we have attached our sample. However could you please send us the sample which causes this issue. It will help us for further investigation.


In the mean while Please download our sample and do let us know if you are able to reproduce the issue.

Thanks for using Syncfusion products.


Administrator [Syncfusion]
Replied On March 22, 2007 09:05 AM UTC


I have found how to reproduce my issue. I am filling my grid from a datatable which is the result of a query. Therefore when the page is initially rendered the datatable is empty as the user has not made any selections yet and I have not bound any data to the grid so the grid is empty. If in your example you leave the page init method blank and then you click on the table you will get the same error as me.


Gokul B [Syncfusion]
Replied On March 24, 2007 01:06 AM UTC

Hi Rachael,

Thanks for your update. It helps us to reproduce the issue.

We can able to reproduce the issue as in attached image file. we noticed that whenever a GridGroup get rendered with no data throws javascript error. So could you please update us is this the one you are mentioning?


We have attached image file to double check the issue.


Rachael Smith
Replied On March 26, 2007 08:54 AM UTC

Yes that is the error I am also seeing. In ie tools>internet options>advanced i have unchecked disable script debugging and therefore i was able to debug and fing the cause of the problem as the focus method. Please let me know when you find a way to resolve this problem.


Gokul B [Syncfusion]
Replied On March 26, 2007 11:59 PM UTC

Hi Rachael,

Thanks for your update.

This seems to a bug. Could you please open an new incident in the direct trac with the Forum Id - Forum Subject as the subject line, so that we could update you with more information regarading this issue.

Let us know if you have any other queries.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon