473,396 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Coding issue

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
Dec 6 '05 #1
4 958
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

Dec 6 '05 #2
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.
Dec 6 '05 #3
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

"Keith Patrick" <ri*******************@nospam.hotmail.com> wrote in message
news:e5****************@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.

Dec 6 '05 #4

"John" <Jo**@nospam.infovis.co.uk> wrote in message
news:ur****************@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
Dec 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

144
by: Natt Serrasalmus | last post by:
After years of operating without any coding standards whatsoever, the company that I recently started working for has decided that it might be a good idea to have some. I'm involved in this...
4
by: Josh Golden | last post by:
i lead a small development team (based on some of my posts that might cause some people to choke themselves, but have no fear, i am NOT the lead developer, the people on my team are great - i'm...
7
by: Jim Michaels | last post by:
This is a simple coding tip I learned to prevent comparisons from becoming assignments (and this becoming a hair-pulling session during debugging): in comparisons, try to put your constants on...
13
by: benben | last post by:
Is there an effort to unify the c++ coding standard? Especially identifier naming. Not a big issue but it would be annoying to have to incorporate different coding styles simultaneously when...
4
by: Brent | last post by:
I am having a problem with the coding of my website and I am very inexperienced with PHP. When using my web browser to go to my site. I notice that none of my images are appearing and any link that...
7
by: Mark | last post by:
Hi, I am creating application in VB 2005. and when I print report it adds extra 0.45 cm margin on left and top, and the reason for this is physical margins of printer. Is it possible to change...
17
by: M.Siler | last post by:
I'm trying to get my head around a conversation I had with a developer the other day. We were talking about Codesmith vs. Hand coding. He's position is Codesmith is for junior to mid level...
7
by: Robert Seacord | last post by:
The CERT/CC has just deployed a new web site dedicated to developing secure coding standards for the C programming language, C++, and eventually other programming language. We have already...
23
by: LayneMitch via WebmasterKB.com | last post by:
Hello. It's me again with another question that should generate a lot of responses. As mentioned before, I'm working on my first site (hopefully I'll be done soon and can move on to other...
4
by: gentsquash | last post by:
On some of my course pages, I quote (with attribution) small sections of Wikipedia and the like. E.g, the top of http://en.wiktionary.org/wiki/entropy has "entropia" in Greek font, ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.