Results 1 to 2 of 2

Thread: [RESOLVED] Building mobile Control in Runtime

  1. #1

    Thread Starter
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Resolved [RESOLVED] Building mobile Control in Runtime

    any one have an idea of how could i build a mobile control such as a label or text in the run time.

    using asp.net c#
    my (Ms visual studio) is 2005
    thx alot
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

  2. #2

    Thread Starter
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: Building mobile Control in Runtime

    i got the answer
    VB Code:
    1. System.Web.UI.MobileControls.Label label = new System.Web.UI.MobileControls.Label();
    2. label.Text = "Hi avrail";
    3. Form1.Controls.Add(label);
    this gives me what i want
    thanks alot
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

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