Results 1 to 2 of 2

Thread: Using MultiView to load Controls on to page

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2007
    Location
    England
    Posts
    64

    Smile Using MultiView to load Controls on to page

    Hi All,

    Im using MultiView to load Controls on to my default page.
    Each control is basically a form.

    Can i at runtime load any ascx Control file into the view without
    adding in at design time initially?

    So bascially I have a page with multiview control with some code which loads a control into the view (control exists im my project).

    Thanks

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Using MultiView to load Controls on to page

    You can use LoadControl to load the control, and then Controls.Add() it to your ListView. Is that what you mean?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width