Search

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

Matching Posts

  • Re: Page Object is Null inside Dynamically Loaded Custom Control

    Are you accessing it in the prerender method of the control?
    Posted to Web Forms (Forum) by Jerbert on 9/13/2006
  • Re: Access Your Network Printer

    I'm having the "settings to access printer "networkprinter" are invalid" problem as well. Did anyone find a solution to this? I couldn't figure out how to setup a local printer to point to a network printer. Thanks, -Jerbert
    Posted to Tips & Tricks (Forum) by Jerbert on 8/21/2006
  • print on the server from asp.net

    The following code works fine from a windows app: public void Print() { Font printFont = new Font("Arial", 12); PrintDocument doc = new PrintDocument(); doc.PrinterSettings.PrinterName = @"\\share\printername"; doc.PrintPage += new PrintPageEventHandler(doc_PrintPage); doc.Print(); } void doc_PrintPage(object sender, PrintPageEventArgs e) { e.Graphics.DrawString("testing", new Font("Arial", 12), Brushes.Black, new PointF(50, 50)); e.HasMorePages = false; } but in a web app, I get this error: " Settings
    Posted to Web Forms (Forum) by Jerbert on 8/21/2006
  • Re: open ftp folder in browser

    As soon as I posted this, I figured it out. Here's the answer: ftp://ftpusername:ftppassword@ftpserveraddress.com You just separate the user and password with a colon. Very nice feature - you can open two explorers and put them side by side like an ftp client program. I can't believe I didn't know about this until now.
    Posted to Web Forms (Forum) by Jerbert on 8/17/2006
  • open ftp folder in browser

    I'd like to add a feature to my file manager that allows a user, who is logged in via forms authentication to open their "file dump" on the server through ftp. Is there any way to pass their credentials automatically and open it in a new window without doing anonymous access? Ideally, they'd login to their administration system using the security system I built on forms authentication, then when they click "ftp," they can go right to it without typing their windows credentials (I know they're legit
    Posted to Web Forms (Forum) by Jerbert on 8/17/2006
  • bar graph pen thickness

    I can't get the pen thickness to be thinner than 2 pixels for a bar graph I made. It works fine for the drawrectangle method to draw the border, but when I use it to draw the horizontal lines that represent each step in the range on the left, it draws it thicker than I want even with Pen pen = new Pen(Color.Black, 0); Here's the image:
    Posted to System.Drawing/GDI+ (Forum) by Jerbert on 8/8/2006
  • Really really frustrating error

    I wrote a provider-like logging system for an application I'm building. I have a custom IConfigurationSectionHandler-implementing class to load the settings for the various loggers. Each logger implements ILogger, and I add a logger in the config file like so: <add name="FileLogger" type="Logging.FileLogger, Logging" filePath="~/log.txt" /> I split the type string on comma and trim white space to get assembly name and type name, then I try to instantiate the logger with the activator class
    Posted to Configuration and Deployment (Forum) by Jerbert on 8/4/2006
  • Re: nitpicky html indentation question

    The more I look into this, the more I wonder whether it's possible. At least not elegantly possible.
    Posted to Web Forms (Forum) by Jerbert on 7/26/2006
  • nitpicky html indentation question

    when I have something like this: <div> <div> <custom:control id="somecontrol" runat="server" /> </div> </div> And let's say the control's render method just does this: protected override void Render(HtmlTextWriter writer) { writer.WriteLine("<div>"); writer.WriteLine("</div>"); } I want it to render in html like this: <div> <div> <div> </div> </div> </div> But instead it renders like this: <div> <div> <div>
    Posted to Web Forms (Forum) by Jerbert on 7/25/2006
  • Re: HttpHandler posted data validation

    Nevermind. When I put the httphandler on a live server and tried posting to it, then it wouldn't work. It only would let me post from another application when both apps were running on localhost.
    Posted to Web Forms (Forum) by Jerbert on 7/20/2006
Page 1 of 5 (49 items) 1 2 3 4 5 Next >