Trying to validate TextBox using Required field validation Control

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
2/4/2017 2:09:10 PM
Gravatar
Total Posts 4

Trying to validate TextBox using Required field validation Control

Hello there,

Joe, I hope you doing well.

I explored your HelloMojoSiteModule.ascx to use the same in my site. In that control I found one TextBox and one MojoButton.

then after as per my requirements, I used Required Field Validation Control to validate TextBox as required field.
But, it's not working a all.

I'm not providing any text to TextBox1 and clicking MojoButton and still Button1_Click event is being fired by the system. 
Actually it should not.

So, fix this issue for me by providing appropriate info.

Thanks!


Regards,
Hemang.

2/5/2017 10:23:37 AM
Gravatar
Total Posts 1981

Re: Trying to validate TextBox using Required field validation Control

Hi Hemang,

Can you post the code you are using? I can't help without seeing your code.

Thanks,
Joe D.