473,800 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 977
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******** ********@TK2MSF TNGP15.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.in fovis.co.uk> wrote in message
news:ur******** ********@TK2MSF TNGP11.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
6980
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 initiative. Typically I find that coding standards are written by some guy in the company who has a way of coding that he likes and then tries to force everybody else to write code the way he likes it, not for any rational reason, but simply for the...
4
2017
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 just the manager) for my company. although we attempt to use good practices for development, we have no real experience in documentation of a project _before_ it's coded. Are there any great books out there on how to document a project before we...
7
1401
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 the left hand side of the operator and variables on the right hand side. example if (3==$x) { //do something }
13
2062
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 using more than one library. The standard library seems to have everything lower-cased while a lot of other libraries do their own way. Ben
4
1185
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 you click on will display an address similar to the one below: http://www.vet-homes.comvet-homes.com/searchlisting.php?SF=t&property_for=sale If you check the picture properties they are showing a similar link as well.
7
20732
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 printer's physical margins using VB coding? Cheers -- Osmotion Blue
17
1671
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 developer who perfer "wizards" to write code for them. That these types of code generators produce substandard developers who don't have real skills. I don't have a position one way or the other until I have a bit more information, but if I was to take...
7
4969
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 developed significant content for the C programming language that is available at: https://www.securecoding.cert.org/ by clicking on the "CERT C Programming Language Secure Coding Standard"
23
2088
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 stuff...caus I'm tired of looking at the same graphics). :-) But, I've been running into all of these different HTML/CSS code debacles, after which I've been advised to go back and "add 'this' default coding to your stylesheet", or "IE sees your code...
4
1846
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, http://en.wikipedia.org/wiki/Goedel has the o-umlaut from German, and
0
9551
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10504
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10274
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10251
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7576
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5469
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.