473,387 Members | 1,431 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,387 software developers and data experts.

one label is not desplaid in mozilla.why?

indianmaestro
i have code like this in html

<tr align="left">
<td colspan="2">
&nbsp;</td>
<td align="left">
<font color="red">press ctrl for multiple selection</font>
</td>
</tr>
<tr align="left">
<td colspan="2">
&nbsp;</td>
<td>
<font size="2"><asp:Label ID="lblcnt" runat="server" Width="200"></asp:Label></font>
</td>
</tr>
<tr align="left">
<td colspan="2">
&nbsp</td>
<td>
<asp:Label ID="lblmessage" runat="server" Width="200" ForeColor="red" Visible="true"></asp:Label>
</td>
</tr>

the label lblcnt is not displaid in mozilla, while it works fine in internet explorer . please help me
Mar 11 '08 #1
3 1022
i have code like this in html

<tr align="left">
<td colspan="2">
&nbsp;</td>
<td align="left">
<font color="red">press ctrl for multiple selection</font>
</td>
</tr>
<tr align="left">
<td colspan="2">
&nbsp;</td>
<td>
<font size="2"><asp:Label ID="lblcnt" runat="server" Width="200"></asp:Label></font>
</td>
</tr>
<tr align="left">
<td colspan="2">
&nbsp</td>
<td>
<asp:Label ID="lblmessage" runat="server" Width="200" ForeColor="red" Visible="true"></asp:Label>
</td>
</tr>

the label lblcnt is not displaid in mozilla, while it works fine in internet explorer . please help me
There isn't any problem with the HTML you pasted above, working fine and displaying the values of label controls on Mozilla FireFox and IE. Check your code which is setting the Text property of lblcnt
Mar 11 '08 #2
yes actually my coding is correct...... since there is no text the label looks like it's not visible, but actually it is visible ......

any way thanks for the reply......

can you please help how to send some text to this lable from javascript.

i have tried this it's working fine in IE but not in mozilla......


document.getElementById('<%=lblcnt.ClientID%>').in nerText=count+" Student(s) selected";
Mar 11 '08 #3
kunal pawar
297 100+
may be problem due in ur code,set text property,
first try
to assign default text to lable and then check it wroks properly or not

<font size="2"><asp:Label ID="lblcnt" runat="server" Width="200"></asp:Label></font>
Mar 12 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: knoak | last post by:
Hi there, In my form, after validation, labels of wrong fields are turned into a red color. What i want now is when you hit 'reset', to make all the labels grey again. I have the next code:...
1
by: johngilmer | last post by:
I have three radio buttons that are possible answers to a question. I have put them in a table and there is a label that goes with each radio button as its text. I would like to make some of the...
5
by: Brian Foley | last post by:
Hello, I am used to using the label tag with check boxes and radio buttons in html forms. This allows me to click on the text of the label to activate/deactivate the check box / button, rather...
1
by: Jędrzej | last post by:
What a script should I use in my site, to show a label with description by moving the mouse over the image, the same as by using TITLE property, but not disappearing in a few seconds. It must work...
4
by: Mateo | last post by:
Hi! I have labels on my page (some are web forms controls, and some are plain HTML labels), and I need Mozilla compatibile way for reading label value. For example, in IE I can use this:...
1
by: Generale Cluster | last post by:
Hi, I've found this syntax in a script from rico, but I don't understand what do the ":" mean. This is the snippet of code where I've found it: var Class = { create: function() { return...
1
by: NancyASAP | last post by:
I have a label on my ASP.NET form. It has a cssclass that includes a background color. I am dynamically putting text in this label. The text contains some embedded html (I want to display part...
1
by: mail2madhur | last post by:
I need to display different text on label on click of button. <table> <tr> <td> ?????</td> </tr> <tr> <td> <TEXTAREA id="notesId" name="notesdescDisplay" rows=12 cols=83 value=""></TEXTAREA>...
4
by: jayasabari | last post by:
Hi all, i am working on asp.net. i am using label to display some text in multi line. In css i am giving "text-align: justify;". It is working in IE perfectly but in Mozilla not working. ...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.