User Profile
Collapse
-
Font rendering differently in IE and FF
In my website fonts look way clear and nice in IE 7 than they do look in IE 8 or FireFox. I dont understand the reason why they are more bold in FF although I am using the same stylesheet for both IE and FF. Has anyone ever faced this issue? Also, padding is slightly different in FireFox. Is there a way to fix this issue of fonts rendering? -
Try this and see if it works
<%
for (int i=o;i<5;i++)
{
%>
<asp: link button id="<%=i+1%>" text="<%=i+1%>"/>
<%
}
%>
If it doesn't work then you can programmaticall y add controls in your code behind file. -
Sorting in gridview
I am getting a set of data from this webservice http://www.webservicex.net/stockquote.asmx?op=GetQuote. It returns a string. Following is my code.
...Code:stockQuote = stocks.GetQuote(txtStock.Text) quoteDoc.LoadXml(stockQuote) stockNode = quoteDoc.SelectSingleNode("StockQuotes/Stock") grdStocks.DataSource = stockNode grdStocks.DataBind() grdStocks.Sort("StockFields",Sort.Ascending) -
Don't mind. I called them again and they have asked me to used the proxy server. I inserted that in the web.config and it worked fine.Leave a comment:
-
Local machine vs server
Hi,
My website is working perfectly fine from my machine, but when I host it to the server 1and1.com, it gives me headache. Most pages are working fine on the server, but pages which are connecting to external site are getting timed out. I email support and they told me it can be configuration error since it is working fine on local and not on the server. Here is my website link www.omairtechdesigns.com. Click on the solution menu... -
Thanks Frinny and IA for your replies. Now I am clear about RSS. It is simply an xml document that is sitting on the server to be consumed by anyone. I wanted to use RSS feeds to display headlines and IT news in my website. Does anyone of you have links for headlines and microsoft IT news RSS feeds?Leave a comment:
-
RSS vs Webservice
I don't see any difference b/w rss and webservices. Both are getting information from another website. If RSS is just an xml file then all we need to do is use it as a datasource for gridview and bind it. Am I missing something here? -
This is what I have and it is working.
...Code:<img alt="" src="<%=Page.resolveUrl("~/images/Calendar.gif")%>" onclick="displayCalendar('startDate')" /> <div id="startDate"> <asp:Calendar id="calEventDate" OnSelectionChanged="calEventDate_SelectionChanged" Runat="server" BackColor="#6DB523"Leave a comment:
-
Changing stylesheet rules
I have a calender control on my page. It is a popup control, meaning when I click on calender image then it opens up. But the problem is when I am changing the month, it becomes invisible due to stylesheet rule. which is following.
and the...Code:#datePicker { display:none; position:absolute; border:solid 2px black; background-color:white; } -
What if I have two different portions of a page and both submit themselves to a different page, then one form tag won't work. Don't I need two form tags then?
Also, whats the reason that we shouldn't have form tag(s) in user controls? Any security or performance risk?
Thanks for the reply :)...Leave a comment:
-
Thanks for the answer. Actually the problem was that I have a page that is using different controls and those user controls are within a single form tag. And in the header user control (where the search bar is), I have another form tag, which wasnt working at all, thats why I used that "hack" of two forms to make that search form work. After some research I found out that I cannot have a form tag within another form tag. My main page looks...Leave a comment:
-
2 Forms to make 1 form work - ASP.NET
I never had this kind of issue before and it is completely surprising. I have a usercontrol where I need 2 forms to make 1 form. When I have only 1 form it submits the page to itself. I have spent hours on this and couldn't find the solutions, thats why I have to come with a hack. I have two forms, I made the first form invisible and let the second form visible.This form is for google custom search engine. I also tried with other test forms, but... -
This is the link to my original website www.omairtechde signs.com. And this is the site on my local machine, I am attaching the picture .
Your help will be appreciated....Leave a comment:
-
Layout difference b/w ASP and ASP.Net
Another problem I am having is that when everything (well almost everything) started working. I am seeing a huge difference b/w my classic ASP and ASP.Net website. I haven't changed anything in the stylesheet and havent touched the layout code. ASP.Net version in IE seems the same as my previous version in ASP (Firefox). When I am using stylesheet for Firefox in IE then it is working fine. Strange!!! I never had this kind of problem before. -
Actually I was able to fix it using following way
...Code:<%@ Control Language="VB" AutoEventWireup="false" CodeFile="topMenu.ascx.vb" Inherits="inc_topMenu" %> <% Dim home, solutions, services, support, about, contact, selectedPage As String selectedPage = Request.Url.ToString selectedPage = selectedPage.Substring(selectedPage.LastIndexOf("/")Leave a comment:
-
This is the default.aspx code
...Code:<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <%@ Register TagPrefix="uc" TagName="homeText" Src="~/inc/homeText.ascx" %> <%@ Register TagPrefix="uc" TagName="pageHeader" Src="~/inc/header.ascx" %> <%@ Register TagPrefix="uc"
Leave a comment:
-
Converting from ASP to ASP.net
Hi,
I am trying to convert my classic asp code to .net. I have created user controls and put following code in one of the user controls.
...Code:<div id="buttons"> <ul id="topImages" class="menu" style="margin-left: -2px;"> <li> <img id="home" alt="Home" class="top" onclick="javascript:location.href='default.asp'"
-
But I dont think he will be willing to buy some license for crystal reports. I need simple graphs created programatically ....Leave a comment:
-
Charts and graphs
Hi,
My manager wants me to create some charts and graphs for some of data we collect. I have never done it before neither on a desktop application nor web application. Do I need some special kind of software to create graphs on go? Any guidance will be helpful.
Thanks
P.S: I am developing a website in VB.NET ASP 2.0 -
I tried to research it but couldn't find any satisfying answer. If you or someone can help then it will be great....Leave a comment:
No activity results to display
Show More
Leave a comment: