locked
Disable a sub grid RRS feed

  • Question

  • Hi,

        I have three questions,

    1. When a record is deactivated, all controls are read only by default, so when you click on sub grid it, "add new" and "add existing button" of that sub grid are disabled. But we need to have disable those buttons in an active record. I know that document.getelementbyId() is not supported. Is there any supported alternative?
    2. I want to refresh a form. I used Window.location.reload(true), but it is considered as an issue when i ran Microsoft Custom Validation Tool.  Is there any supported alternative?
    3. When i ran Microsoft Custom Validation Tool, it raised many issues in JSON and Jquery libraries files (the JS source code of the libraries). Is that normal



    Tuesday, November 19, 2013 3:53 PM

All replies

  • Hello,

    When a record is deactivated, all controls are read only by default, so when you click on sub grid it, "add new" and "add existing button" of that sub grid are disabled. But we need to have disable those buttons in an active record. I know that document.getelementbyId() is not supported. Is there any supported alternative?

    >you can disable ribbon buttons easily by modifying ribbonxml manually or can use custom tool check

    • I want to refresh a form. I used Window.location.reload(true), but it is considered as an issue when i ran Microsoft Custom Validation Tool.  Is there any supported alternative?
    • >I don't think we have another option for this
    • When i ran Microsoft Custom Validation Tool, it raised many issues in JSON and Jquery libraries files (the JS source code of the libraries). Is that normal
    • >Not seen any issue regarding this


    Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Tuesday, November 19, 2013 10:21 PM
    Moderator