Question Status

Suggested Answer
Kishore Jaddu asked a question on 24 Jun 2013 10:30 PM

Hello,

I have to update my subgrid dynamically when text change in the textbox immediately. for this iam using onkeypress event also.

I follow the below link as a reference.but i cannot get update my subgrid.

dynamicscrminfo.blogspot.in/.../bind-data-to-subgrid-dynamically-in-crm.html

Please help me.

Thank you

Reply
Suggested Answer
Jason Lattimer responded on 25 Jun 2013 6:18 AM

You might try debugging the JavaScript to see where the problem it:

How to Debug JScript in Microsoft Dynamics CRM 2011

At first glance - you might look at this line:

ProjectGrid.control.setParameter("fetchxml", fetchxml);

I think it should be (capital S on SetParameter):

ProjectGrid.control.SetParameter("fetchxml", fetchxml);

Jason Lattimer
My Blog -  Follow me on Twitter -  LinkedIn

Reply
Kishore Jaddu responded on 27 Jun 2013 10:40 PM

Hi Jason,

Yes you are right..i got it. But i have one doubt.

dynamicscrminfo.blogspot.in/.../bind-data-to-subgrid-dynamically-in-crm.html

My previous code(above link) is also working in other CRM server ,but not in my server.

what is the problem?

Thank you

Reply
Jason Lattimer responded on 28 Jun 2013 6:16 AM

I think you should look at debugging to determine what the actual error is - once that is determined it will be easier to find  resolution. If it works in one environment and not another you should start by looking at the things that could be different - like the grid and field names.

Jason Lattimer
My Blog -  Follow me on Twitter -  LinkedIn

Reply
Suggested Answer
Jason Lattimer responded on 25 Jun 2013 6:18 AM

You might try debugging the JavaScript to see where the problem it:

How to Debug JScript in Microsoft Dynamics CRM 2011

At first glance - you might look at this line:

ProjectGrid.control.setParameter("fetchxml", fetchxml);

I think it should be (capital S on SetParameter):

ProjectGrid.control.SetParameter("fetchxml", fetchxml);

Jason Lattimer
My Blog -  Follow me on Twitter -  LinkedIn

Reply