Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. fadetoblack

    User Control Question

    I'm not sure how to integrate your code with mine. Can you show me using the header.ascx.cs code above?
  2. fadetoblack

    User Control Question

    I'm trying to dynamically load user controls based on click events. But, for some reason lb_websites in (listed below) header.ascx's click event doesn't register as being invoked. Default5.aspx <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default5.aspx.cs" Inherits="Default5" %>...
  3. fadetoblack

    master page question

    jbenson001: I had to change what you gave me a little to get it past the debugger but still no luck on locating user controls. private void CheckObjects(Control parent) { foreach (Control c in parent.Controls) { if (c.GetType() == typeof(UserControl)) {...
  4. fadetoblack

    master page question

    Why I would like to access the uc controls is an attempt to bypass the Event Bubbling concept. I don't understand it well enough to use it and haven't found ANY good examples. I ran across this example for EDP @ http://www.sitepoint.com/article/driven-asp-net-development-c using local controls...
  5. fadetoblack

    master page question

    The if statement still isn't capturing anything foreach (Control c in Page.Form.Controls) { if(typeof(UserControl).Equals(c.GetType())){ } }
  6. fadetoblack

    master page question

    The code below doesn't capture the usercontrols yet. What am I missing? foreach (Control c in Page.Form.Controls) { if(typeof(UserControl)==c.GetType()){ } }
  7. fadetoblack

    master page question

    I know that I can cycle through the controls of a standard .aspx form using the following: foreach (Control c in Page.Form.Controls) { } What do I use to find the controls of user controls on a master page?
  8. fadetoblack

    &quot;The path is too long after being fully qualified&quot;

    FileInfo copy_test=new FileInfo(@"C:\Inetpub\vhosts\intraflux.com\httpdocs\projects\hmgtesting\data\master.xml");
  9. fadetoblack

    &quot;The path is too long after being fully qualified&quot;

    I'm not creating a directory, I am trying to access one. Specifically this one: c:\Inetpub\vhosts\intraflux.com\httpdocs\projects\hmgtesting\temp\ and I am getting the "The path is too long after being fully qualified" error. Supposedly I have exceeded the 260 character limit. Is there another...
  10. fadetoblack

    &quot;The path is too long after being fully qualified&quot;

    I'm unsure how to make the question more clear. Is there any way to create a path to files or a directory that I haven't listed previously. I am using FileInfo and XmlDocument in several pages and am running into the 260 character limit. My problem and question could apply to any class that...
  11. fadetoblack

    &quot;The path is too long after being fully qualified&quot;

    2003 virtual server/asp.net 1.1 The workarounds that I have found aren't working. \\?\c:\Inetpub\vhosts\intraflux.com\httpdocs\projects\hmgtesting\temp\ .\temp\ and since it's a virtual server I can't set up a drive letter using diskpart Does anybody know another way of creating a path...
  12. fadetoblack

    Ajax/.Net 1.1 readyState problem

    The code below is working to a point. At the http_request.readyState statement I get a state of one. How do I complete the process so I can get a state of four and/or another means of getting a value back to the page? server-side C# private void Page_Load(object sender, System.EventArgs e){...
  13. fadetoblack

    Ajax/.Net 1.1 readyState problem

    I'll try the ASP.Net but everything I tried with Response.OutputStream didn't work.
  14. fadetoblack

    Ajax/.Net 1.1 readyState problem

    The code below is working to a point. At the http_request.readyState statement I get a state of one. How do I complete the process so I can get a state of four and/or another means of getting a value back to the page? server-side C# private void Page_Load(object sender, System.EventArgs e){...
  15. fadetoblack

    XPath

    I am looking for a means to store more data than cookies can handle. If you have any suggestions for that... I'm interested.
  16. fadetoblack

    XPath

    I am needing to update a client-side xml file. How do I use XPath in js to save changes?
  17. fadetoblack

    Connection must be valid and open

    MySqlConnection... to answer your question
  18. fadetoblack

    Connection must be valid and open

    using MySql.Data.MySqlClient; using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Web; using System.Web.Mail; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using...
  19. fadetoblack

    Connection must be valid and open

    am getting an "Connection must be valid and open" error. After some research I have found two possible reasons for this: malformed sql or bad connection string. Since the error is being thrown on a second .executescalar statement I will assume the connection string is working. I have two...

Part and Inventory Search

Back
Top