You are very welcome and Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful. I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you ua-cam.com/users/kudvenkatplaylists?view=1&sort=dd If you need DVDs or to download all the videos for offline viewing please visit www.pragimtech.com/kudvenkat_dvd.aspx Slides and Text Version of the videos can be found on my blog csharp-video-tutorials.blogspot.com Tips to effectively use my youtube channel. ua-cam.com/video/y780MwhY70s/v-deo.html If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. ua-cam.com/users/kudvenkat If you like these videos, please click on the THUMBS UP button below the video. May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them. Good Luck Venkat
There remains one minor issue. When the “Edit” view is rendered, the “ConfirmEmail” property is empty. If you press Save, the message is displayed by validation stating that the email addresses do not match, which is as it should be. If you subsequently copy the email address into the “ConfirmEmail” field and click Save, the error message goes away but nothing else happens. But, if you click Save again, the form is posted. I discovered that if you click anywhere on the form after copying the email address into the “ConfirmEmail” field, the same thing happens: the message goes away, and if you then click on the Savebutton, the form is posted. I confirmed that the HTTP Post “Get” controller action is not being driven if you click Save right after copying the email address, but it is driven the second time. This strikes me as weird. BTW, I'm using VS 2017.
Please View Shashank's Comment : Include ConfirmEmail property in the Bind of Post action method of edit for those having issue if it is not working if values are same.
When i try to give the compare attribute, a custom errormessage, it doesn't change. Am i the only one with this problem? Anywhere else the errormessage seems to work fine..
i do exactly same as tutorial but, i always get error "'ConfirmEmail' and 'Email' do not match." even if i enter the same data, when i debug app ConfirmEmail value always null, can you help me sir?! iam using VS 2015
You always explain things from bottom, great work as usual.
Thanks very much mr Venkat!!
You are very welcome and Thank you very much for taking time to give feedback. This means a lot. I am very glad you found the videos useful.
I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you
ua-cam.com/users/kudvenkatplaylists?view=1&sort=dd
If you need DVDs or to download all the videos for offline viewing please visit
www.pragimtech.com/kudvenkat_dvd.aspx
Slides and Text Version of the videos can be found on my blog
csharp-video-tutorials.blogspot.com
Tips to effectively use my youtube channel.
ua-cam.com/video/y780MwhY70s/v-deo.html
If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
ua-cam.com/users/kudvenkat
If you like these videos, please click on the THUMBS UP button below the video.
May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
Good Luck
Venkat
I have issue where the error message is displayed even if both boxes contain the same value.
good morning sir...hv a gr8 day
There remains one minor issue. When the “Edit” view is rendered, the “ConfirmEmail” property is empty. If you press Save, the message is displayed by validation stating that the email addresses do not match, which is as it should be. If you subsequently copy the email address into the “ConfirmEmail” field and click Save, the error message goes away but nothing else happens. But, if you click Save again, the form is posted. I discovered that if you click anywhere on the form after copying the email address into the “ConfirmEmail” field, the same thing happens: the message goes away, and if you then click on the Savebutton, the form is posted. I confirmed that the HTTP Post “Get” controller action is not being driven if you click Save right after copying the email address, but it is driven the second time. This strikes me as weird. BTW, I'm using VS 2017.
Thank you so much
Please View Shashank's Comment : Include ConfirmEmail property in the Bind of Post action method of edit for those having issue if it is not working if values are same.
How to add this ConfirmEmail property in the Bind of Post action method of edit
This will fix the issue -
[HttpPost]
public ActionResult Create([Bind(Include = "Id,Name,Email,Age,Gender,ConfirmEmail")] tblEmployee tblEmployee)
Not working in real..Showing validation even if my both fields are same.
When i try to give the compare attribute, a custom errormessage, it doesn't change. Am i the only one with this problem? Anywhere else the errormessage seems to work fine..
i do exactly same as tutorial but, i always get error "'ConfirmEmail' and 'Email' do not match." even if i enter the same data, when i debug app ConfirmEmail value always null, can you help me sir?!
iam using VS 2015
Include ConfirmEmail property in the Bind of Post action method of edit