Watermark issue with On-line form using Widgets inside Editable Text WebPart in 8.1

Divyanshu Gupta asked on January 15, 2015 12:45

Hi! I am facing the following issue when i refresh the page everytime using ctrl+f5 :
TypeError: Sys.Extended is undefined

$create(Sys.Extended.UI.TextBoxWatermarkBehavior, {"ClientStateFieldID":"p_lt_ctl01_pageplaceholder_p_lt_ctl02_content_ucEditableText_widget1_ctl00_viewBiz_txtName_exWatermark_ClientState","WatermarkCssClass":"form-control WatermarkText","WatermarkText":"Name *","id":"p_lt_ctl01_pageplaceholder_p_lt_ctl02_content_ucEditableText_widget1_ctl00_viewBiz_txtName_exWatermark"}, null, null, $get("p_lt_ctl01_pageplaceholder_p_lt_ctl02_content_ucEditableText_widget1_ctl00_viewBiz_txtName_textbox"));

But after Submitting the form with balnk fields its working fine. I have tried a lot but not sure what could be the possible reason for resolving this issue. Any guidance would be helpful.

Recent Answers

Martin Danko answered on January 26, 2015 10:34

Hello Divyanshu,

Did you try to Google for a possible reason of this issue? Google -> TypeError: Sys.Extended is undefined

Because it seems that this issue is related to AjaxToolkit, not sure what your environment is and when version of .NET are you using but it seems that this could be also caused by some bug in AjaxToolkit.

Best regards, Martin

0 votesVote for this answer Mark as a Correct answer

Divyanshu Gupta answered on January 27, 2015 15:32

Hi Martin,
Yes, I tried on google for this issue and finding the same solution as you.
But In the same application if we are creating new page template and using On-line Form Webpart, its working fine.
So, i was wondering why its not working with widgets.

Please share your feedback.


0 votesVote for this answer Mark as a Correct answer

Martin Danko answered on February 23, 2015 03:48

Hi Divyanshu,

Could you please tell me what are the exact steps to reproduce this behavior? Describe step by step instructions what am I supposed to do to get the error you are receiving.

Regards, Martin

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.