Update Subgrid dynamically when text change in textbox

This question has suggested answer(s)

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

All Replies
  • 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

  • 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

  • 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