Hi,
I recently upgraded infragistics controls from v15.2 to v16.2 and for some reason my html editor is not showing the contents which i set. It seems the hidden control gets the test but its unable to set the HTML content.
</tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr><tr><td id="MainContent_wheProgNote1_td_" height="100%" width="100%" align="center"><table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:White;"><tr><td height="100%" width="100%"><table cellspacing="0" width="100%" height="100%"><tr><td height="100%" width="100%" align="center" style="border:solid 1px #7F9DB9;"><iframe frameborder="0" width="100%" height="100%" id="MainContent_wheProgNote1_tw" style="background-color:White;">
</iframe><input type='hidden' id='MainContent_wheProgNote1_t_a' name='MainContent_wheProgNote1_t_a' value="%3Cbody bgcolor='White' style='font-family:sans-serif;font-size:10pt;' spellcheck='True'%3E TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TEST TESTT=. %3C/body%3E" /></td></tr></table></td></tr></table></td></tr></table><div id="iged_0_rcm" style="visibility:hidden;position:absolute;display:none;"><table border="0" cellpadding="0" cellspacing="0" sts="#C1D2EE" style="color:Black;background-color:white;border-style:solid;border-color:#8E8E8E;border-width:1px;font-family:sans-serif;font-size:8pt;text-align:left;"><tr>
I set the editor.text from the code behind but nothing shows up on the editor. I checked the source and i can see the text is set on the hidden field not the frame body. Not sure whats the issue.
Hello Mathew,
I am not sure I understand the scenario that you want to achieve correctly. I tested your code and the text (“TEST TEST …”) is rendered inside the WebHtmlEditor when opening it inside the browser. Can you please provide more information on your case and it would be great if you attach a sample and a screenshot that shows what is rendered when you run the sample.
However, take a look at the provided code as this is not a valid HTML and this cause unexpected troubles when running it.
Please, attach a sample reproducing your issue so that I will be able to reproduce it on my end and help you with achieving the desired behavior.
I am looking forward to your response!
Alexander Marinov
I am glad that you have fixed your issue!
According to the Version Utility (I guess you are using this tool to upgrade your project to an upper version), it only updates the references in your web.config file as well as those in the .aspx file.
Thank you for using Infragistics ASP.NET controls! If you face any other issue – do not hesitate to contact us again.
Best regards,
Hi Alex,
I found the issue and fixed it. I updated infragistics using the tool but the javascript files were not updated. I updated them manually and the control is now working. Do you know if the tool is supposed to upgrade the script files also when upgrading a version?
Thanks
Mathew George