When I press "Enter" key in Infragistics web html editor(which is inside a user control), it causes the page to submit. It is working fine in the pages where html editor is used directly on page, problem occurs only when it is on user controls.
Also, the problem is in IE9, Firefox and IE8 does not create this behaviour.
Any help will be appreciated.
Hello Riffat,
Thank you for posting in our community. Please take a look at the attached from me sample created via NetAdvantage 11.2.20112.2055. Sample contains a user control with WSM and WHE inside and a Default page in which the control is used. I tested the sample with IE 7,8,9, FF 10 and Chrome. In every browser when I click on the control and press Enter postback is not occuring but a new line is inserted as expected. Please modify the sample in order to reproduce the issue or create a new one.
Hello Riffat,Please let me know what is your progress with this issue. Did you manage to resolve it? Did you have the chance to look at the attacked from me sample?
Hi Nikifor
Thanks for your support. My scenario was bit complicated, developed by some other developer. I had a webpage inside master page and on my webpage there is a control which is dynamically loading another control, which actually contained the webeditor.
Ayways, by setting the "UseLineBreak" property to true solved the problem. Form is no more submitting on pressing enter in webeditor.
Thanks for help.
Hello Riffat,Thank you for commiting the full scenario and the resolution you have found on your own. Please let me know if you need any further suggestion regarding this issue.
Hi
I cam across the same problem again but not with simple enter. I mean if I directly type anything in editor and press Enter, form is not submmitted but if I try to create list and press enter, form is submmitted.
Need urgent help.
Regards
Hello Riffat,I ran the sample i attached in my previous post and created both - ordered and unordered list. Both acted as expected and when i pressed enter they were moving to a new line and creating a new item from the list. Did you have the chance to look at this sample? Please modify it in order to be reproducing the behavior you are facing in order to be able to provide you further assistance.
Hello Rifat,Please let me know if you have any further questions regarding this issue.