Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
I

InvalidTypecast

@InvalidTypecast
About
Posts
42
Topics
15
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • AJAX updatepanel not preventing entire page postback?
    I InvalidTypecast

    I've read threads regarding the xhtmlconformance, but my webhost says the machine.config has it set to Transitional already and I've even added the Transitional line to the project's web.config so I'm still baffled. The same code works locally on the machine, but not on the production site.

    ASP.NET visual-studio sysadmin tools help question

  • AJAX updatepanel not preventing entire page postback?
    I InvalidTypecast

    Months ago in VS 2005 I did some demo projects with AJAX and everything worked. I'm now using VS 2008 with the built in AJAX tools and I am running into some difficulty where the entire page is refreshing even though I have my event inside an update panel. Here is my aspx page: <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> <br /> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label> <br /> <asp:Button ID="Button1" runat="server" Text="Button" /> </ContentTemplate> </asp:UpdatePanel> </div> </form> Here is the page load code behind set to refresh the time in both labels. protected void Page_Load(object sender, EventArgs e) { Label1.Text = System.DateTime.Now.ToString(); Label2.Text = System.DateTime.Now.ToString(); } The problem I am having is that even though the button click event occurs inside the update panel the entire web page is posting back. Both labels refresh with the current datetime. Any ideas?

    ASP.NET visual-studio sysadmin tools help question

  • Killing or launching a process remotely
    I InvalidTypecast

    Yes, these are just command line applications with no interactivity that I need to restart essentially. Do you know of an article that provides a noobie example on using WMI for this?

    C# sysadmin help tutorial question

  • Killing or launching a process remotely
    I InvalidTypecast

    So I am able to successfully enumerate the processes on a machine using the remote machine's name on the network such as: Process[] myProcesses = Process.GetProcesses("Machine_Name_Here"); However, I'd like to also use myProcesses[0].Kill() for example to kill the process and then after use something like Process.Start("blah") to start it again. The problem I am running into is that Process.Kill is not supported on remote machines. Additionally, I am not sure if I am able to launch the process through Process.Start either. Is there anything I can do for this desired functionality?

    C# sysadmin help tutorial question

  • i need some help
    I InvalidTypecast

    When I did that I did something like total += the cell value. I did that from RowAdded or RowDataBound. I can't remember the exact name, but every time a row is added the total would be increased by that cell's amount. Then I output that final value in the datagrid footer.

    C# tutorial question csharp database visual-studio

  • Using C# like remote desktop?
    I InvalidTypecast

    That's cool. I didn't know Process.GetProcesses could get the processes of a remote machine. I thought it was limited to where the exe was run from. "The More You Know..."

    C# csharp sysadmin performance question

  • How to make windows application like master page?
    I InvalidTypecast

    A tab control might work for what you are trying to do if I understand correctly.

    C# help tutorial question

  • Using C# like remote desktop?
    I InvalidTypecast

    I have network access to machines on the domain via remote desktop connection. I am trying to see if there is a way using C# to write an application that allows me to logon to the machine in such a way that it would allow me to check if a process is in memory. Essentially I am trying to automate the process of checking to see if an executable that is supposed to be running is in fact running on 20 or so different machines without having to use Remote Desktop to login and physically inspect them. Can someone point me in the right direction if it is possible?

    C# csharp sysadmin performance question

  • Really slow "getting files" in VS2005 all of a sudden
    I InvalidTypecast

    It turns out it was due to the fact these images being accessed were in a folder with 1,000 other images. Apparently this slowed down requests for these files for some reason. Once I moved these site images into a separate folder the problem went away.

    ASP.NET csharp help sharepoint visual-studio design

  • Really slow "getting files" in VS2005 all of a sudden
    I InvalidTypecast

    It isn't using PASV at the moment, but I can give that a shot.

    ASP.NET csharp help sharepoint visual-studio design

  • Really slow "getting files" in VS2005 all of a sudden
    I InvalidTypecast

    Saksida Bojan wrote:

    Use FTP Client, such as fileZilla For local, you woud have to configer database, or connection string

    Oh, I thought you meant there was some fancy way of downloading the site locally for some sort of cache'ing. I do know how to download it via FTP client. How would that help speed if I want to work on the remote site? I am going to check the size of the suo file when I get back to the PC.

    ASP.NET csharp help sharepoint visual-studio design

  • Object cannot be cast from DBNull to other types
    I InvalidTypecast

    What kind of variable is usrStatus?

    ASP.NET database mysql help question

  • Really slow "getting files" in VS2005 all of a sudden
    I InvalidTypecast

    How do I delete the suo file (not sure what that is)? How do I transfer the files locally? Thanks!

    ASP.NET csharp help sharepoint visual-studio design

  • Really slow "getting files" in VS2005 all of a sudden
    I InvalidTypecast

    2 gigabytes of memory. Plenty of it is free. There are no unnecessary startup items running. The CPU use is very low. Whatever it is is not resource related.

    ASP.NET csharp help sharepoint visual-studio design

  • Really slow "getting files" in VS2005 all of a sudden
    I InvalidTypecast

    I was wondering if any of you have experienced the following behavior because I can't figure out why it is occurring. When I switch between code view and design view for my site Visual Studio indicates "getting file xyz.gif" in the lower left before it renders the design view. It repeats this for any other necessary files needed to display this. That is all normal. The problem is that it is taking far too long. For example, files that are 1-2kb in size may take minutes to "get". The same thing happens if I CTRL + F5 to build my site. It takes way too long. Much longer than it did before to get the files. The other odd thing is that it seems like it requests files it shouldn't need because they haven't changed at all between edits. For example, I'll modify a gridview color and hit OK and it starts redownloading xyz.gif which it just downloaded moments prior. This never used to happen. I am using FTP instead of FrontPage extensions to connect to the site (c# asp) as I always have. The computer I am editing on just recently had Windows reinstalled from scratch with a fresh install of Visual Studio with all updates and SP's applied. It has also been several months since I have done development on the site so maybe something changed on the web host's end. If I use an FTP client and connect to download files from my site it seems to go very fast so I am not sure why this is occurring. Is there some cache'ing setting that I don't have turned on in my new Visual Studio install? Is there some other setting I need to toggle to improve performance? Any thoughts or ideas to help me drill drown the troubleshooting on this more? Thanks!

    ASP.NET csharp help sharepoint visual-studio design

  • How to upload a file to my webserver from another url?
    I InvalidTypecast

    I got it working using my example above. Thanks for the advice everyone.

    ASP.NET tutorial com question

  • If my GridView isn't bound to a SqlDataSource the edit control doesn't work
    I InvalidTypecast

    If I databind my GridView to a DataTable object instead of a SqlDataSource the Edit control doesn't change the non-readonly fields in my GridView to editable textboxes and change to Update/Cancel. It just executes the edit command without switching the UI of the GridView into textboxes so the user can edit the values. Is there a way to get it to get the Edit control in the GridView to behave the same way as when its bound to a SQL Data Source when its bound to a DataTable?

    ASP.NET database design question announcement

  • How to upload a file to my webserver from another url?
    I InvalidTypecast

    Ok I think this should work. I haven't had a moment to check it yet though. If I am iterating through a series of these will this wait for the download to complete? WebClient wc = new WebClient(); wc.DownloadFile("http://www.example.com/exampleImage.jpg", Server.MapPath("images"));

    ASP.NET tutorial com question

  • How to upload a file to my webserver from another url?
    I InvalidTypecast

    There must be a way of (it doesn't have to be via the file upload control) passing the url of a file to your program and having it download the file to a specific location on the web server.

    ASP.NET tutorial com question

  • How to upload a file to my webserver from another url?
    I InvalidTypecast

    I know how to upload a file from my local disk to the webserver, but how would I pass in a URL of a file located on a webserver instead of my local drive? In other words I want to be able to pass in "http://www.example.com/fileName.xyz" and have fileName.xyz upload to a location I want on my webserver. I was having trouble finding the right keywords to ask google :) Has anyone done this before?

    ASP.NET tutorial com question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups