What I want to do is fill out the "PasswordLabelText" and "UserNameLabelText" with a dictionary item. What would be my best approach to do this (since we are inside a server control)?
I usually click the Login task menu on the control in design view and select 'Convert to Template' to get full control of the markup. Here you can use the umbraco:item control as usual to insert dictionary items.
If you don't want to use Visual Studio but want full control over the login markup, you can try this package: RazorLogin - which renders a login form in Razor using standard HTML controls which you can change. You could also use Razor to insert items from the dictionary.
You could also check out the uLogin source if you want to use Visual Studio.
Multilingual LoginView control
Hi,
I am using the asp.net loginview control inside a template and would like to make it multilingual using dictionary items.
This is the code inside the Login template:
What I want to do is fill out the "PasswordLabelText" and "UserNameLabelText" with a dictionary item. What would be my best approach to do this (since we are inside a server control)?
Thanks in advance!
Chris
I usually click the Login task menu on the control in design view and select 'Convert to Template' to get full control of the markup. Here you can use the umbraco:item control as usual to insert dictionary items.
Thanks Kenneth!
That's a great tip! Not only did it solve my problem, but now i can also remove the dreadful visual studio markup. :)
Hi
I am having the same problem and I do not understand the solution you suggested Kenneth.
Can you post the code as you stay in umbraco.?
Hi fedar,
If you don't want to use Visual Studio but want full control over the login markup, you can try this package: RazorLogin - which renders a login form in Razor using standard HTML controls which you can change. You could also use Razor to insert items from the dictionary.
You could also check out the uLogin source if you want to use Visual Studio.
-Tom
Thanks Tom.
I'll try
is working on a reply...