Home All Groups Group Topic Archive Search About
Author
6 Dec 2005 2:41 AM
John
Hi

I am using the following for a check box;

<asp:CheckBox ID="KeepLggedin" runat="server" Text="Keep me logged in"
Height="1px" Width="302px" EnableTheming="True" />

The problem is that the text "Keep me logged in" always appears under the
tick box and not next to it on the right. What should I do to fix it?

Thanks

Regards

Author
6 Dec 2005 4:32 AM
Venkat_KL
Hi Dear John,


I just copied your code which i have copied again below and paste it on to a
test project. It is working fine. The Text is comming next to the tick box.

But only thing is, I tried this one on Visual Studio 2003, not on Visual
Studio 2005.

Only for  EnableTheming="True" it gave me as error in the sense, red
underline, but with that also I got my page in the browser.

You can do one thing like, in the designer window pull the checkbox
horizontally, so that text can fit well on to the side of the tick box.

> <asp:CheckBox ID="KeepLggedin" runat="server" Text="Keep me logged in"
> Height="1px" Width="302px" EnableTheming="True" />


You can see the text comming to the side in the designer window only the
moment you expand it horizontally.

For Anything and Everything, Please Let Me Know,

Bye
Venkat_KL
Author
6 Dec 2005 8:23 PM
Keith Patrick
This isn't an answer per se, but just to let you know, that functionality is
included in the new Login control.  It will keep the user logged in for the
duration of the session, handle null usernames, passwords, etc.
Author
6 Dec 2005 11:15 PM
John
My login look and feel is quite different from the login control and when I
tried to customise the login control on my content page (I am using master
page) the customised/template login control does not show at design time. I
have to run the app to see the changes in the login control customisation,
bit inconvenient.

Regards

Show quoteHide quote
"Keith Patrick" <richard_keith_patrick@nospam.hotmail.com> wrote in message
news:e5gahLq%23FHA.2464@TK2MSFTNGP15.phx.gbl...
> This isn't an answer per se, but just to let you know, that functionality
> is included in the new Login control.  It will keep the user logged in for
> the duration of the session, handle null usernames, passwords, etc.
>
>
Author
12 Dec 2005 11:33 PM
J. Buelna - Houston, TX
Show quote Hide quote
"John" <John@nospam.infovis.co.uk> wrote in message
news:urG2T6g%23FHA.1032@TK2MSFTNGP11.phx.gbl...
> Hi
>
> I am using the following for a check box;
>
> <asp:CheckBox ID="KeepLggedin" runat="server" Text="Keep me logged in"
> Height="1px" Width="302px" EnableTheming="True" />
>
> The problem is that the text "Keep me logged in" always appears under the
> tick box and not next to it on the right. What should I do to fix it?
>
> Thanks
>
> Regards


Hello John,

Sounds like the width of a parent element is causing the text to wrap
underneath the checkbox.  Try increasing the width of the tag's parent
element or move the checkbox tag to see if it behaves differently.

J. Buelna - Houston, TX