SitePoint Sponsor |
|
User Tag List
Results 1 to 12 of 12
Thread: help needed
-
May 30, 2009, 15:14 #1
- Join Date
- Feb 2009
- Posts
- 17
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
help needed
i have a website which connected to a rma, accounts and po system. the coder who made the site has left the company and we cant get in touch with him.
what i need help with is i want to change a few things on the sites homepage but all the files are aspx pages which i dont have a clue how to change or where to start.
i know a little about html coding but this i have no clue. can someone please give me some help.
thanks in advance
-
May 30, 2009, 18:38 #2
- Join Date
- Jul 2005
- Location
- West Springfield, Massachusetts
- Posts
- 17,290
- Mentioned
- 198 Post(s)
- Tagged
- 3 Thread(s)
Hi flux64, welcome to the forums, posting-wise
Do you have any experience with Visual Basic, C++, C#, or NET?
I only have a bit of VB myself, but if you take a look here you'll get a rough idea of what you're up against http://msdn.microsoft.com/en-us/magazine/cc301369.aspx
And I think you'll have a better chance of finding help in the .NET forum http://www.sitepoint.com/forums/forumdisplay.php?f=141Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse
-
May 30, 2009, 19:05 #3
- Join Date
- May 2006
- Location
- Aurora, Illinois
- Posts
- 15,476
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Moved to the .NET board.
Save the Internet - Use Opera | May my mother rest in peace: 1943-2009
Dan Schulz - Design Team Advisor | Follow me on Twitter
SitePoint References: HTML CSS JavaScript | Become A Guru
WordPress SEO Checklist | What WordPress Plugins Do You Use?
Web Standards Curriculum | Image Free Equal Height Columns
-
May 31, 2009, 04:56 #4
- Join Date
- Nov 2005
- Location
- Norway
- Posts
- 715
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi
What do you need to change?
-
May 31, 2009, 07:56 #5
- Join Date
- Feb 2009
- Posts
- 17
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
i just need to change some links on the homepage. i have no experiance of visual basic.
when i click on the homepage to check the source it shows in html but when i look at it via ftp it is a aspx page with maybe 20 lines of code which i dont understand
-
May 31, 2009, 07:58 #6
- Join Date
- Nov 2005
- Location
- Norway
- Posts
- 715
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Could you post the code here (all the code in the .aspx file)?
-
May 31, 2009, 16:30 #7
- Join Date
- Feb 2009
- Posts
- 17
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
here is the code for the homepage
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.IO;
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Request.QueryString["restart"] != null)
{
ApplicationStuff.Application_End(Application);
ApplicationStuff.Application_Start(Application);
}
if (Request.QueryString["rabbit"] != null)
{
Session["rabbit"] = true;
}
Session["showMe"] = true;
try
{
StreamReader sr = new StreamReader(Server.MapPath(".") + "/middle.htm");
String description = sr.ReadToEnd();
litContent.Text = description;
sr.Close();
sr.Dispose();
sr = null;
}
catch
{
}
}
} // End of class
-
May 31, 2009, 16:46 #8
- Join Date
- Jul 2005
- Location
- West Springfield, Massachusetts
- Posts
- 17,290
- Mentioned
- 198 Post(s)
- Tagged
- 3 Thread(s)
Can you find the middle.htm file at whatever the "Server.MapPath" is?
If so, is that the one with the links you want to change in it?Big Change Coming Soon - if you want your PMs save them now!
What you need to do to prepare for our migration to Discourse
A New SitePoint Forum Experience: Our Move to Discourse
-
Jun 1, 2009, 00:20 #9
- Join Date
- Nov 2005
- Location
- Norway
- Posts
- 715
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
If it is the description you need to change then yes have a look in middle.htm. Else we still need to see the code from your .aspx-file (you posted the code-behind code).
-
Jun 1, 2009, 04:05 #10
- Join Date
- Feb 2009
- Posts
- 17
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
i've just checked the middle.htm code and it is just css styling code, any other idea's guys
also this is the code for the aspx file
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default2" Title="Untitled Page" %>
<%@ Register Src="uc_right.ascx" TagName="uc_right" TagPrefix="uc1" %>
<asp:Content ID="mainContent" ContentPlaceHolderID="container" Runat="Server">
<asp:Literal ID="litContent" runat="server"></asp:Literal>
</asp:Content>
-
Jun 1, 2009, 04:45 #11
- Join Date
- Nov 2005
- Location
- Norway
- Posts
- 715
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Yes, check MasterPage.master and uc_right.ascx (or post the code here).
-
Jun 3, 2009, 07:03 #12
- Join Date
- Feb 2009
- Posts
- 17
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
thanks for the help guys, some really useful tips for the future.
finally got it sorted last night.
could not of done it without the help
Bookmarks