Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
275
Updated to 2013.2; values set via javascript no longer display within igTextEditor elements.
posted


I updated an MVC4 project I have been working on to use the the new IgniteUI 2013.2 release. Since then I have been unable to display a value set via javascript within elements utilizing igTextEditor. The odd thing is I can actually see the value of the igTextEditor using .igEditor("value") while debugging, but it just doesn't display in igTextEditor.


For example:

I have a scenario where I use data from a selected row in an iGrid to populate a form within an igDialog prior to opening the dialog itself. However, when using igEditor or .val methods, nothing displays nor do I see a value set for the element when I inspect the element in Google Chrome.


1. Visual of scenario


2. Code used to set 'First Name' field.

$("#formEditPrimaryFamilyMember input[id='FirstName']").igEditor("value", selectedRowDataView.DictionaryMember.FirstName);

3. Value of 'First Name' igTextEditor as seen via dev tools in Google Chrome after execution of line of code above:

The above code worked flawlessly in 2013.1 and I can't puzzle out why the JavaScript set values are no longer displaying even though I can demonstrate the values can be retrieved and set via  igEditor("value"). I will include some of the relevant code files within an archive that I will attach to this post.

Any help would be appreciated.

igTextEditorDisplayIssue.rar
Parents
  • 3595
    Suggested Answer
    posted

    Hello Kristopher,

    Thank you for posting in our community!

    Could you please attach a project with the solution file which could be directly launched?

    Looking forwards to hearing from you.

Reply Children