•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 426,186 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,789 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 8826 | Replies: 5 | Solved
![]() |
I have been playing around with Mozzila, and find it too be a rather nice speedy browser, but I do ASP.NET programming and such and seem to have some issues with ASP.NET pages displaying properly.
It seems to be with regards to coloring, I guess ASP controls as well
, since those are the things I have colored.
See example code below!
Anyone have a solution? Recommendation?
It seems to be with regards to coloring, I guess ASP controls as well
, since those are the things I have colored.
See example code below!
<%@ Page Language="C#" %>
<script runat="server">
// Insert page code here
//
void Submit_Click_1(object sender, EventArgs e) {
if (txtPassword.Text == "test")
{
Session["UserName"] = txtName.Text;
//Response.Redirect("Test.aspx");
Server.Transfer("Test.aspx");
}
else
{
lblFalse.Text = ("Incorrect Pasword Please try again");
}
}
</script>
<html>
<head>
</head>
<body>
<p align="center">
<asp:Label id="lblHeader" runat="server" head="head" height="25px" width="100%" backcolor="Black" forecolor="White" font-bold="true" text="ASPWEB Login Page" tooltip="Welcome to ASPWEB Login Page">ASPWEB
Login Page</asp:Label>
</p>
<form runat="server">
<!-- Insert content here -->
<table cellspacing="15" align="center" sytle="font:10pt verdana;border-width:2;border-style:solid;border-color:black;">
<tbody>
<tr>
<td>
<b>UserName:</b>
</td>
<td>
<asp:TextBox id="txtName" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
<b>Password:</b>
</td>
<td>
<asp:TextBox id="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr colspan="2">
<td>
<asp:Button id="Submit" onclick="Submit_Click_1" runat="server" Text="Submit" Width="77px"></asp:Button>
</td>
</tr>
</tbody>
</table>
</form>
<div align="center"><asp:Label id="lblFalse" runat="server" width="843px" backcolor="White" font-bold="True" font-size="Medium"></asp:Label>
</div>
</body>
</html>Anyone have a solution? Recommendation?
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
Well, I found some of the answer, but still not perfect. (see below). Anyone have any other suggestions?
What I did was add code (xml) to my web.config file in the <system.web> section
What I did was add code (xml) to my web.config file in the <system.web> section
<browserCaps>
<!--NETSCAPE 6 and 7 //-->
<case match="^Mozilla/5\.0 \([^)]*\) (Gecko/[-\d]+ )?Netscape[6|7]/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)).*">
tagwriter=System.Web.UI.HtmlTextWriter
browser=Netscape
version=${version}
majorversion=${major}
minorversion=${minor}
frames=true
tables=true
cookies=true
javascript=true
javaapplets=true
ecmascriptversion=1.5
w3cdomversion=1.0
css1=true
css2=true
xml=true
</case>
<!-- MOZILLA //-->
<case match="^Mozilla/(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*)).*">
<case match="^[5-9]\." with="${version}">
tagwriter=System.Web.UI.HtmlTextWriter
</case>
</case>
<!--OPERA 5+//-->
<case match="Opera[ /](?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*))">
<filter match="[4-9]" with="${major}">
<filter match="[5-9]" with="${major}">
tagwriter=System.Web.UI.HtmlTextWriter
</filter>
</filter>
</case>
</browserCaps> Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
browserCaps are the way to go. Thats the same browserCaps section I use for #Portal lol.
-Ryan Hoffman
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
•
•
Join Date: Jul 2005
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 1
Great Tip. It worked perfect for the problem I had with listbox sizes, control placement without html tables (not asp:table) and for textbox sizing (i had already figured out column setting for those though).
Nothing else would have worked except for some table nesting structures for control placement of my asp.net web form.
Thanks a lot.
btw...is there anything for safari? I haven't actually tested it yet, but our graphic designers use Safari exclusively and they would also like to use this web application I'm building.
gary_it@yahoo.com
Nothing else would have worked except for some table nesting structures for control placement of my asp.net web form.
Thanks a lot.
btw...is there anything for safari? I haven't actually tested it yet, but our graphic designers use Safari exclusively and they would also like to use this web application I'm building.
gary_it@yahoo.com
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
.net .net framework 3.0 access ajax asp browser browsers code combo custom data developer development dom dropdownlist email eudora europe feed firefox gecko internet internet explorer leak linux memory microsoft module mozilla msdn net news office open source patch penelope reader reuse security skin sql theme thunderbird users vista weather web windows workflow xml xoap
- Updated : Simple ASP.Net Login Page (ASP.NET)
- PHP vs. ASP.NET for development platforms (ASP.NET)
- ASP.Net VB Page to update a users profile not updating. (MS SQL)
- Clustered Cache in ASP.NET (ASP.NET)
- MySQL - ASP.NET - Issues.... (VB.NET)
- Question for ASP.NET/Mozilla Users...or anyone... (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: how to check mail address is exists or not
- Next Thread: I Need Sample ASP.NET Code



Linear Mode