wet-boew / cdts-DotNetTemplates

Documentation for CDTS
9 stars 2 forks source link

WET form validation is broken for GoCWebTemplate.Master / GoCWebTemplate.LeftMenu.Master #65

Open james-roach opened 11 months ago

james-roach commented 11 months ago

When using GoCWebTemplate.Master or GoCWebTemplate.LeftMenu.Master the errors-frmMain section and updated error label doesn’t load in until after a click on the input occurs.

The issue doesn’t seem to affect GoCWebTemplate.Application.Master & GoCWebTemplate.Application.LeftMenu.Master.

GoCWebTemplate.Master - After Server Validation image

GoCWebTemplate.Master - Click input + click away image

GoCWebTemplate.Application.Master - After Server Validation image

ahmad-shahid commented 11 months ago

Hello, I need just a bit of info in order to reproduce this error.

  1. updated error label doesn’t load in until after a click on the input occurs. So you typed in a bad string, clicked/tabbed away and didn't see the error summary? what were the specific steps you took?

  2. would you be able to send me the source code of the page that has the issue?

ahmad-shahid commented 10 months ago

Hey, can you send me or post the source code of the page here? Thanks.

james-roach commented 10 months ago
Change MasterPageFile="~/GoC.WebTemplate/GoCWebTemplate.Master" to MasterPageFile="~/GoC.WebTemplate/GoCWebTemplate.Application.Master" to see change.

wet issue.zip

ahmad-shahid commented 10 months ago

I was able to reproduce this error on my end but i saw the same behaviour for both the regular layouts and application layouts.

Was there anything different on your end that you could think of causing the difference in behaviour between the layouts?