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 Chriss Miller 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. bstineman

    adding a user control to the form in code behind

    Ok, the question still remains then, how do I get the control to render its corresponding ascx file....
  2. bstineman

    adding a user control to the form in code behind

    Ok, I initially got this to work by using the Page.LoadControl method to essentially connect the control to its ascx file. Now I'm trying to put the control in its own control library so that other projects within the solution can referrence this common control. Any help would be appreciated. :)
  3. bstineman

    adding a user control to the form in code behind

    I use a special class to handle page templating (we'll call this class "BasePage"). This works all well and good. Now I'm trying to take it to the next level by creating a "PageHeader" user control. I can create this control and it appears to work fine. But... What I need to...
  4. bstineman

    InitializeComputer being altered by Form Designer

    Ug, title should have read "initializeCOMPONENT". its been a morning. :P
  5. bstineman

    InitializeComputer being altered by Form Designer

    I've run into an odd issue. I've got a page that inherits from a customer page class and recently, for yet unknown reasons, every time I work with the page in the form designer, the designer inserts lines into the Initialize Component Sub. Before: <System.Diagnostics.DebuggerStepThrough()>...
  6. bstineman

    How to define the Event handler for programatically created button

    Found a solution... AddHandler btnRemoveLoan.Click, AddressOf btnRemoveLoan_Click This allowed me to easily assign an event handler to my programatic button. It accomplishes exactly what I wanted to do with one simple line. :)
  7. bstineman

    How to define the Event handler for programatically created button

    Thanks Link9, I'll do the reading on the method and see what I can dig up. As or changing to c#, that's not an option. The company I work for is already strongly entrenched in VB and moved to .NET so that the web side (which I'm being asked to help expand) uses the same language (at least as...
  8. bstineman

    How to define the Event handler for programatically created button

    Thanks Link9, but unfortunately that code doesn't appear to be viable when using VB.NET for the code behind.
  9. bstineman

    How to define the Event handler for programatically created button

    Ok, php guy who's *trying* to make the switch to ASP/VB.NET. Running into the normal snags, but all in all I'm muddling through. Currently however I'm hung up on how to add/specify the event handler for a programmatically created button. According to MSDN...

Part and Inventory Search

Back
Top