How to dynamically add radcontrols to page? c# ASP.NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saadkhan
    New Member
    • Aug 2008
    • 40

    How to dynamically add radcontrols to page? c# ASP.NET

    I am using rad controls in website and need to add them dynamically. I`v created my own class for control named radPhotoViewer drived from class radcontrol. So, this isn`t allowing me to add add that control to page using Page.Controls.A dd(radPhotoView er). Not even in the radcontrols like radtoobar.Items .Add(radPhotoVi ewer).
    Every method requires System.Web.UI.C ontrol to pass as a parameter although i know all radcontrols are inherited from System.Web.UI.C ontrol.
    Plz help me
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    Just to clarify, you are using ASP.NET with VWD 2005 (I am guessing)? What is your language of choice for programming?

    Jared

    Comment

    • saadkhan
      New Member
      • Aug 2008
      • 40

      #3
      Originally posted by jhardman
      Just to clarify, you are using ASP.NET with VWD 2005 (I am guessing)? What is your language of choice for programming?

      Jared
      My language of choice for programming is C#

      Comment

      • jhardman
        Recognized Expert Specialist
        • Jan 2007
        • 3405

        #4
        Originally posted by saadkhan
        My language of choice for programming is C#
        OK, I'm moving you over to the .NET forum. We have discussed adding an ASP.NET forum, but so far the ASP forum is for "classic" ASP only.

        JAred

        Comment

        Working...