Customizing the PasswordRecovery Control .Net
by Rizo on feb.19, 2009, under Developing
The PasswordRecovery control is very handy and you can pretty much use it out of the box. But the design might not fit in your site and the styles provided by the control itself might not be what you need. But it’s rather easy to customize the way you want it too. I posted earlier how you could set a PasswordRecovery up and here we’ll look how we can customize it a bit further more.
Here’s an example
[sourcecode language=’html’]
[/sourcecode]
There are three templates to customize, usernametemplate, successtemplate and questiontemplate. If nothing is changed the control will render a table which you can customize with the help of the inbuilt styles. But I reckon that it’s better to have full control on how you are rendering things. Basicly, you can take any of the ”xxxxxText” properties and make a literal or label out of it, just take away the Text part. e.g. UserNameTitleText is aquired by giving a literal/label the id of UserNameTitle and so forth (see the code above). The properties you might want to add is the success and failure text. Remember to add a literal for the failure text. The ID for UserNameFailure is FailureText. Also, last but not least, the button must have the CommandName ”Submit” or else it won’t work.
18 Trackbacks / Pingbacks for this entry
oktober 12th, 2023 on 19:56
… [Trackback]
[…] There you will find 54179 more Info to that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
oktober 22nd, 2023 on 16:35
… [Trackback]
[…] Find More to that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
november 18th, 2023 on 08:54
… [Trackback]
[…] Find More here on that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
november 29th, 2023 on 02:08
… [Trackback]
[…] Read More here on that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
januari 24th, 2024 on 00:44
… [Trackback]
[…] Read More to that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
februari 15th, 2024 on 01:56
… [Trackback]
[…] Find More to that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
februari 15th, 2024 on 04:11
… [Trackback]
[…] Information on that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
februari 29th, 2024 on 02:11
… [Trackback]
[…] Find More Information here to that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
mars 2nd, 2024 on 02:05
… [Trackback]
[…] Read More Information here on that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
mars 9th, 2024 on 01:40
… [Trackback]
[…] Information on that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
juni 5th, 2024 on 03:02
… [Trackback]
[…] Information to that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
juni 11th, 2024 on 19:03
… [Trackback]
[…] Read More here to that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
juli 7th, 2024 on 05:01
… [Trackback]
[…] Read More Info here to that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
juli 27th, 2024 on 03:32
… [Trackback]
[…] Read More Information here on that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
augusti 14th, 2024 on 00:49
… [Trackback]
[…] Find More on that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
augusti 17th, 2024 on 00:42
… [Trackback]
[…] Read More to that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
augusti 24th, 2024 on 02:16
… [Trackback]
[…] There you can find 51113 additional Info to that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]
oktober 22nd, 2024 on 03:35
… [Trackback]
[…] Read More Info here to that Topic: from-rizo.se/customizing-the-passwordrecovery-control-net/ […]