ClientID INamingContainer problem

Discussion in '.NET' started by sal_scozzari, Nov 8, 2007.

  1. sal_scozzari

    sal_scozzari

    Joined:
    Nov 8, 2007
    Messages:
    1
    Hi all, I'm looking for assistance with an ASP.Net issue.

    I have a fairly large web application ported from ASP.Net 1.1 to 2.0. Most of it works fine except for some date controls. It seems that usage of ClientID does not returns a fully qualified ID that contains the ancestor control names. All the relevant classes do implement INamingContainer. The clientID is retrieved during OnPreRender() or later. The parent control of the date control in question can retrieve a valid ClientID, but this date control cannot. And, this works fine for the ASP.Net 1.1 version.

    Are there any unwritten rules about how the framework traverses the control hierarchy to generate these clientID's? Any help would be appreciated.

    thanks,
    Sal.
    sal_scozzari, Nov 8, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SatinderGT

    Re: problem with INamingContainer

    SatinderGT, Jun 25, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,301
    William F. Robertson, Jr.
    Jun 27, 2003
  2. Maras
    Replies:
    1
    Views:
    3,101
    Cowboy \(Gregory A. Beamer\)
    Oct 15, 2003
  3. Sergio FLorez M.

    Problem with INamingContainer

    Sergio FLorez M., Jun 20, 2005, in forum: ASP .Net Building Controls
    Replies:
    2
    Views:
    128
    Sergio FLorez M.
    Jun 20, 2005
  4. Greg Woods
    Replies:
    2
    Views:
    1,135
    Peter Bucher [MVP]
    Apr 1, 2008
  5. R. Myers

    INamingContainer problem...can I work around this?

    R. Myers, Nov 27, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    164
    R. Myers
    Nov 27, 2004
Loading...

Share This Page