Usually, web applications should be available in multiple languages other than English. In this blogpost, I am going to walk over creating a sample application that will be localized in French and Dutch. Usually, the preferred language is picked from the user’s browser settings. To make it a little tougher, we will allow the user to switch languages at runtime. To enable runtime switching of languages, we will add three link buttons in the master page.…
Tag: Webforms
Repeater displays a list of items with a custom template. Our repeater shows the top 10 items. Instead of regular pagination, we have a Show More
link. On clicking the link, we show all the remaining items.
We create a repeater with HeaderTemplate
, ItemTemplate
and FooterTemplate
. HeaderTemplate
begins an unordered list using the ul
tag. ItemTemplate
uses the li
tag to show a list of items.…
Captcha differentiates between humans and bots accessing our website. In this post, we will create a simple Captcha using ASP.NET. The captcha has an image with text. This is similar to the captcha used in Google, Yahoo and other websites.
We have an Image
control which has the captcha. There is a TextBox
that prompts the user to enter the text embedded within the captcha.…