locked
Problem with custom add-in RRS feed

  • Question

  • Hi,

    We've developed a custom add in for CRM. Its quite simple and has a cascading dropdownlist for the user to select from. Testing it external to CRM it works perfectly however when we try and use it for real each time one of the dropdownlists generates a postback the other dropdownlists get cleared.

    Any help appreciated with this. We've deployed it as a virtual directory and application under the /ISV folder.

    Thanks

    Tuesday, June 15, 2010 8:44 PM

Answers

  • I think, you have to enable ViewState in your web.config file of your website or enable at the page Level in the page directive. Enabling at the page level will make sure and over-ride any settings in web.config.

     


    Muhammad Ali Khan
    http://malikhan.wordpress.com
    Wednesday, June 16, 2010 5:51 AM

All replies

  • I think, you have to enable ViewState in your web.config file of your website or enable at the page Level in the page directive. Enabling at the page level will make sure and over-ride any settings in web.config.

     


    Muhammad Ali Khan
    http://malikhan.wordpress.com
    Wednesday, June 16, 2010 5:51 AM
  • does it need to postback? is there code going on in the background?  if not append AutoPostBack="false" to the dropdown control or enable viewstate
    http://mscrmblog.net
    Microsoft Certified Business Management Solutions Specialist
    Microsoft Certified CRM Developer
    Friday, June 18, 2010 1:23 AM