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 Mike Lewis 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. wcormie

    trouble getting asp namespace to show in web application codebehind

    The actual user control itself checks for an id in a querystring. If it is greater than 0, the user control fires a method to grab data from a database, at the data layer, return the datatable, and sets the textbox value to a cell value in the datatable. This is all done in the user control...
  2. wcormie

    trouble getting asp namespace to show in web application codebehind

    ok, well when I create a new instance of the control in the code behind, and load that in the placeholder, then try and set a textbox in the control codebehind to a value returned by a database query, it tells me the textbox control is null. How do I initialize the control hierarchy after...
  3. wcormie

    trouble getting asp namespace to show in web application codebehind

    What dll is the asp Namespace contained in?
  4. wcormie

    trouble getting asp namespace to show in web application codebehind

    This still leaves me with the problem of having to register every control on the actual aspx page. What I'm trying to do, is have a gateway page with a placeholder. in the codebehind I check a querystring, and add the control based on that querystring. The controls are in a different project...
  5. wcormie

    trouble getting asp namespace to show in web application codebehind

    The problem is that my control is in another project under that solution, and doesn't have a virtual directory, how do I reference it in that case?
  6. wcormie

    trouble getting asp namespace to show in web application codebehind

    So no way to get it so that it I can reference it by asp.mycontrol then?
  7. wcormie

    trouble getting asp namespace to show in web application codebehind

    I'm trying to add a control to my webpage in the codebehind using something like this: placeHolder.Controls.Add(new asp.mycontrol_ascx); but the asp namespace isn't showing up, what do I need to do or reference to get it to show up?

Part and Inventory Search

Back
Top