|
Hi,
I have scoured the web high and low looking for code/a method to display the top 4 headlines from my RSS Feed in a list within my webpage.
Obviously being in RSS i want the headlines to update themselves, only ever displaying the latest Four titles from posts (ie: News headlines)
Also if anyone can help i would be eternally greatful!
Thank you..
Phil
EXAMPLE:
Headline 1
Headline 2
Headline 3
Headline 4
|
|
|
|
|
hi friends i am prj trainee.
i want to transfer data from one sqlserver to another server in text format with help of soap protocol(means one machine to another machine)in Asp.net.
how can i do??????
plz guide me .
plz help me.
give me basic knowledge abt this
Thanks in advance
|
|
|
|
|
Stay well clear of soap my friend.
Brad
Australian
I assume Microsoft would not use doors, because using Windows is faster.
|
|
|
|
|
Hi,
Use XML files and ftp to transfer the files from one server to another.
If you fail for the first time , call it version 1.0.
|
|
|
|
|
Hi,
I want to get the file name with the path from "open file dialogbox" at runtime by clicking on a buton. I am making it in Actionscript 3.0 - in flash 9 -. But I can't do the same . Please help me.......to solve it.
Thank you in Advance.
|
|
|
|
|
I haven't done any Actionscript at all, but I'm pretty sure that you have no access what so ever to the file system of the client computer.
---
b { font-weight: normal; }
|
|
|
|
|
Question:
How can I access to Images whitch are stored in the main directory /images/button2b.gif in a website that is stored in a subdirectory /member/default2.aspx?
My Problem:
I have a site in a subdirectory /member/default2.aspx
with the following code:
<input type=image id="InputImage2" src="~/images/button2b.gif"
onmouseover="this.src='~/images/button2c.gif';"
onmouseout="this.src='~/images/button2b.gif';"
runat="server" onserverclick="InputImage2_ServerClick"/>
My images are in the main directory ../images/button2c.gif
The code onmouseover="this.src='~/images/button2c.gif';" doesn't go. It search the image in the subdirectory /member/image/button2c.gif but the image is in the main folder /images/button2c.gif.
Do you have any tips?
Best regards
ullk
-- modified at 17:50 Sunday 3rd December, 2006
|
|
|
|
|
Take out the squiggly?
Brad
Australian
I assume Microsoft would not use doors, because using Windows in faster.
|
|
|
|
|
Dear Brad
I tried it without ~, but it search the images in the subfolder /member/images instead of /images, because the website is in the folder /member/default.aspx
<input type=image id="InputImage2" src="/images/button2b.gif"
onmouseover="this.src='/images/button2c.gif';"
onmouseout="this.src='/images/button2b.gif';"
runat="server" onserverclick="InputImage2_ServerClick"/>
Best regards
ullk
|
|
|
|
|
That is weird..
prefixing a url with a '/' should make it go to the root directory. try '../'
Brad
Australian
I assume Microsoft would not use doors, because using Windows in faster.
|
|
|
|
|
The tilde (or squiggly) is used by APS.NEY server controls to resolve paths, it won't work for html elements.
only two letters away from being an asset
|
|
|
|
|
The squiggly thing is an asp.net construct for server side web controls that tells the web app to reference the root directory of your application, the client side (eg. web browsers) won't understand what it means.
If you use just /folder/file.gif instead the client browser will know to reference the root instead. However, what that root is depends on how you're developing your application. If you're developing inside a virtual directory, or using Visual Studio built in web server, using slash / will always refer to the root localhost path. Eg. http://localhost:1413/ and NOT http://localhost:1413/YOURAPPNAME/. So if you reference a file as /images/myPic.jpg, it will look in http://localhost:1413/images/myPic.jpg and NOT http://localhost:1413/YOURAPPNAME/images/myPic.jpg. This will work fine once you upload it to your web server to the root address (www.yoursite.com/images/myPic.jpg) but is obviously a problem during development.
You can solve this a number of ways. One is to use server web controls like <asp:Image> tag and reference them as ~/folder which ASP.NET understands and translates automatically for you. Alternatively try using Parent paths such as ../folder, the dot dot tells the browser to go back one directory the look it 'folder'. Finally, try outputting application name dynamic eg. YOURAPPNAME when developing on your server, and nothing (or blank string) for the root for when you deploy it. I think the ASP.NET web control is the best root (pardon the pun).
|
|
|
|
|
Thanks a lot to all for your support . Now I could solve the problem with the following code:
<input type=image id="InputImage1" src="~/images/button2b.gif"
onmouseover="this.src='../images/button2c.gif';"
onmouseout="this.src='../images/button2b.gif';"
runat="server" onserverclick="InputImage1_ServerClick"/>
Best regards
ullk
|
|
|
|
|
guys!
need ur advice I'm a Computer Science graduate and presently working in a bank as a customer servcie representative, and I'm planning to shift a career, Because my interest is really in IT , but I'm not confident enough to shift a career maybe because I'm not good in programming and I don't have work exposure in IT which really bothers me a lot.
What are the things should I have to do in order to find a job that fits me?
Does taking short courses (related in IT; such as Web designing and etc.) will help me to find a suitable job?
I'm looking forward with your advice.
good bless!
-- modified at 23:24 Saturday 2nd December, 2006
catie.cutie
|
|
|
|
|
Ok two things,
1.0: Wrong forum!!
2.0: It depends on what qualifications you want to get. I wouldn't care if you had a doctorate in HTML coding, because anyone can do that. The best way in my opinion is to create a portfolio with examples of your work. (If it's a smallish company then JS (especially Ajax) really impresses people.) (also xml and XSLT's are quite impressive).
Brad
Australian
I assume Microsoft would not use doors, because using Windows in faster.
|
|
|
|
|
Catie,
Shifting a carrier is never easy and it’s 100% normal not to feel very confident with your skill set. One thing to keep in mind is that you will have to start climbing the ladder again from the very first step. The good thing is that you have already started climbing a different ladder so it will be a familiar process for you.
My advice is to be clear and direct about your skill set. Start learning proper HTML and CSS. Start reading blogs and articles about the web industry.
I would suggest:
www.alistapart.com
www.sitepoint.com
www.9rules.com
I could go on for ever here…
I say… as long as you are confident about yourself and about you wanting to change carrier path (the skill set will be built as you go) you have nothing to worry about.
Hope you get on well
|
|
|
|
|
I'm writing a custom web component that allows you to explicitly specify the options in nested tags inside of the component's begin and end tags. My component is inheriting from System.Web.UI.WebControls.DropDownList so that it can read in the properties and item tags, and supports selecting an item by adding Selected to the items tag.
Unfortunately, when none of the items are selected, the component is being rendered with the first item selected anyway.
Anyone seen this happen before?
|
|
|
|
|
More information -
I created a minimum costom component for the drop down list with no additional properties, using only the following, other than the imports:
<code>Public Class cwcDropDownList
Inherits System.Web.UI.WebControls.DropDownList
Protected Overrides Sub Render(ByVal output As System.Web.UI.HtmlTextWriter)
MyBase.Render(output)
End Sub
End Class
With the Render method my control renders fine, but using the RenderControl method causes the first option in the drop down list to be selected, even if it isn't in the controls definition in my the webpage. If it is selected then the control is rendered fine.
My webpage to test the custom drop down list contains:
<%@ Page Language="vb" AutoEventWireup="false" Inherits="cwcDropDownListTest.cwcDropDownListTest" CodeBehind="cwcDropDownListTest.aspx.vb" %>
<%@ Register TagPrefix="cwc" Namespace="cwcDropDownList" Assembly="cwcDropDownList" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>cwcDropDownListTest</TITLE>
<META content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<BODY>
<FORM runat="server">
<cwc:cwcDropDownList id="cwcDropDownList1" runat="server">
<ASP:LISTITEM Value="1" Text="one" />
<ASP:LISTITEM Value="2" Text="two" />
<ASP:LISTITEM Value="3" Text="three" />
</cwc:cwcDropDownList>
</FORM>
</BODY>
</HTML>
In my real custom control I can't use the MyBase.Render as that's not actually what I want my component to be. Instead I build my ComboBox component inside of a table, along with a number of other contols (a textbox, a listbox, an image, etc.), and then use the table.rendercontrol method to output the whole thing, and like the above simple drop down list, if you don't have a selected option, the render control "will appoint one for you".
Anyone know if there is a switch or something to turn off this behavior?
Thank you.
|
|
|
|
|
While digging in to this deeper I found out that inheriting from DropDownList caused this behavior, so I changed my custom object to ListBox, which doesn't automatically select an option for you.
|
|
|
|
|
Hi....
I have devoloped website in asp.net.
I just upload the project using ftp. Its works,
but i dont know how to upload sql database on server.
Can anybody please help me, Pls give me full details.
I used connectionstring in web.config which works for localhost.
but what connection string i should use for uploding on net.
|
|
|
|
|
Don't cross post and you will have a better chance of getting an anwser.
only two letters away from being an asset
|
|
|
|
|
Hello folks,
I have a question about a nasty thing or 'hack'?
type "codeproject" in google and you will get a result:
The Code Project - Free Source Code and TutorialsC++, C# and .NET (including VB.NET) articles, code snippets, discussions.
www.codeproject.com/ - 47k - 30 nov. 2006 - V pamäti - Podobné stránky
ASP.NET - www.codeproject.com/aspnet/
Advanced Search - www.codeproject.com/info/search.asp
C# - www.codeproject.com/index.asp?cat=3
MFC/C++ - www.codeproject.com/index.asp?cat=2
, so how must be the website content or menus created to reach a search result
in this shape (the small submenu under the main link)
thanx, tibiz
|
|
|
|
|
I can run the ASP website below and others from VS 2005 (not using IIS), but not from IIS without getting the error message below. I am running IIS on my desk PC which has XP Professional as an OS. Can anyone solve this mystery?
Thanks,
Art
-------------------------------------
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A name was started with an invalid character. Error processing resource 'http://localhost/HelloWorld/default.aspx'. Line 1...
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
-^
Art
|
|
|
|
|
Here is the solution for my particular situation from on-line sources:
1)
Repair the IIS mappings so that the file name extensions for ASP.NET are properly associated:
To repair IIS mappings for ASP.NET running under XP, run the Aspnet_regiis.exe utlity. To do so, follow these steps: 1. Click Start, and then click Run.
a. Type cmd, and then click OK.
b. At the command prompt, type the following command, and then press ENTER:
"\WindowsFolder\Microsoft.NET\Framework\VersionNumber>\aspnet_regiis.exe" -i
Note Replace WindowsFolder with the name of the directory where the operating system is installed. Replace VersionNumber with the .NET Framework version installed on your computer.
2)
You need to select the appropriate ASP.NET version for your website. You can do so by following these steps using XP:
a. Go to Control Panal --> Administrative Tools --> IIS and right-click on your website's root virtual directory.
b. Click on Properties and go to the ASP.NET tab.
c. Select the appropriate version for your website (if you're running v5.x or older, you need ASP.NET v1.1; if you're running v6.x, you need ASP.NET v2.0).
|
|
|
|
|
I'm trying to write a simple javascript script that will enable the web page to send commands to my proxy server that I'm developing.
However it appears that both Firefox and IE block any attempt to use the XMLHttpRequest object to send web requests.
Is there ANY way I can get javascript to send ANY kind of information over the wire that my proxy server can intercept and provide custom services?
--------------------------------
"All that is necessary for the forces of evil to win in the world is for enough good men to do nothing" -- Edmund Burke
|
|
|
|