Tag - C++

Confirmation message upon deleting an item from GridView control in ASP.NET

Lots of users click the delete button within the GridView with no attention then the result is that the item will be deleted from the GridView, so we can add confirmation message to appear to tell the user "Are you sure you want to delete this item?". First of all we have to attach the javascript code...

String functions StartsWith and EndsWith are case-sensitive in .NET

Did you know that String functions StartsWith and EndsWith are case-sensitive even in VB.NET? You will need to make sure you are looking for the correct string, since 'abc' with case-sensitivity is different than 'ABC'. So, if your function is looking for 'abc', you must make sure that you make adjustments to the string, in...

Password recovery web control

Password recovery web control can not send email via SSL mail servers in ASP.NET

We were using lately the login controls for ASP.NET in a website we are working on it. We discovered a bug or we can call it limitation in the password recovery web control. We used to use the membership provider and login controls, but we did not face this problem before since we were...