creating controls

Discussion in 'ASP.NET / ASP.NET Core' started by nature, Aug 11, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I'm trying to make a control but keep getting an error. Thanks!

    quote:Specified argument was out of the range of valid values. Parameter name: index </blockquote id="quote"></font id="quote">
    I've included the code.
    Ascx file:
     
  2. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    Did you upload the "webctrl_client" directory?
     
  3. quote:Originally posted by dasp

    Did you upload the "webctrl_client" directory?
    </blockquote id="quote"></font id="quote">

    No. As I understand, that is for the IE webcontrols like TabStrip. I'm just using standard controls.
     
  4. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

  5. not sure what your trying to do with the code but a few things come to mind.
    1) the code your using appears to be from a custom controls rather than a user controls.

    2)instead of setting the property directly to the control save it as a string and in your create sub call the property.At the time your calling the property i don't think the control is created yet.

    hope this helps, also not sure if you have visual studio but if you do saving in code behind will allow you to debug.

    Matt G.
    NMyVision.com
    Developer / Designer
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page