Search

You searched for the word(s): userid:798057

Matching Posts

  • Accessing "ImageID" on details.aspx page

    Hi, I have setup the PWS as my personal site and got it working pretty well. At this point I am making changes and additions. I am currently trying to add comment functionality to the photos in the different albums much like on Facebook for example. I have written all the middle tier logic to do this and created the required tables in the database however I am stuck when it comes to obtaining the "ImageID" which I need in order to pull up the comments for a given image in an album. If you
    Posted to Personal Site Starter Kit (Forum) by trevorkeast on 9/2/2009
  • Re: Personal website starter kit - download resume, resume picture

    Hi, The resume download issue - If you want to allow your users to download your resume you need to create a second resume that is in word document format. I believe the PWS has the download button already placed on the Resume.aspx page however it just isn't hooked up to anything so when you click it nothing happens. What you need to do is firstly create the word document, save it, and then place it on your server or somewhere where you can access it from the aspx page. Then, open the Resume
    Posted to Personal Site Starter Kit (Forum) by trevorkeast on 6/25/2009
  • Re: Problem with IE8

    What exactly is the problem? Can you give us more information? Is there a link to your site so that I can have a look at what is happening? Trevor Keast http://www.trevorkeast.com
    Posted to Personal Site Starter Kit (Forum) by trevorkeast on 6/25/2009
  • Re: retrieve user IP address

    Hi, Yes this is possible and I have done this exact thing on my website. You can take a look at www.trevorkeast.com. I basically log the IP address and then use a third party service to lookup the users longitude and latitude based off their IP address. I then use the longitude and latitude to plat a marker on an embedded Google maps object. Getting just the IP address is very simple indeed in ASP.NET. My code is as follows: String ipAddress = (Request.ServerVariables["REMOTE_ADDR"]); Once
    Posted to Getting Started (Forum) by trevorkeast on 6/25/2009
  • How do I initiate an FTP transfer?

    Hi all, I want to allow users to download files (some large) from my site. I would like to allow them to click on the file link and then initiate an FTP transfer in a similar fasion to many other sites that offer this functionality. How can this be achieved? A progress indicator would be a plus and it would be great if the user can close the web browser but keep the transfer active. Any pointers would be a great help! Thanks, Trevor Keast www.trevorkeast.com
    Posted to Getting Started (Forum) by trevorkeast on 3/8/2009
  • Re: Hardcoding Default Values in an object data source - Is there a better way?

    Why do you need to specify a default value at all? Could you not use a drop down list box and add your values to that? The user can then select the value they wish to pass to your object data source.
    Posted to Data Presentation Controls (Forum) by trevorkeast on 10/31/2008
  • Re: Hardcoding Default Values in an object data source - Is there a better way?

    Have you thought about using an enum? I believe this is the way I would handle your problem. Trevor Keast
    Posted to Data Presentation Controls (Forum) by trevorkeast on 10/31/2008
  • Re: Gridview SelectedIndexChanged not firing in Gridview with no Select button

    This is how I do it and it works just fine without the need for buttons: protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes["onclick"] = ClientScript.GetPostBackClientHyperlink(this.GridView1, "Select$" + e.Row.RowIndex); } } Hope this helps, Trevor Keast
  • Re: Generating Dynamic Table

    It's not working because you are declaring your table row object inside an if statement. The compiler wont allow you to do this because if the if statement is not true the table row object will never be created and that will break the code lower down where you are trying to add cells to it. Take the TableRow tr = new TableRow(); out of the if block and it will work. Alternatively put all the code in the if block so it either all runs or it doesnt. Hope this helps, Regards, Trevor Keast www.trevorkeast
    Posted to Getting Started (Forum) by trevorkeast on 8/5/2008
  • Re: System.OutOfMemory exception the second time a page is run

    Are you closing the stream after you are finished with it?
    Posted to Getting Started (Forum) by trevorkeast on 8/5/2008
Page 1 of 11 (105 items) 1 2 3 4 5 Next > ... Last ยป