Change Width of WinForms user control on Web page

Discussion in 'ASP .Net' started by Joe, Jan 21, 2005.

  1. Joe

    Joe Guest

    I have a WinForms user control and I want to change the width using a client
    script on a when page. Can this be done?

    I was thinking something along the lines of:

    function resize()
    {
    var o = document.myobject;
    o.Width = 800;
    }
     
    Joe, Jan 21, 2005
    #1
    1. Advertisements

  2. Joe

    Joe Guest

    Never mind. The function works as expected.

    "Joe" <J_no_spam@_no_spam_Fishinbrain.com> wrote in message
    news:uj3koW#$...
    > I have a WinForms user control and I want to change the width using a

    client
    > script on a when page. Can this be done?
    >
    > I was thinking something along the lines of:
    >
    > function resize()
    > {
    > var o = document.myobject;
    > o.Width = 800;
    > }
    >
    >
     
    Joe, Jan 21, 2005
    #2
    1. Advertisements

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. Joe
    Replies:
    1
    Views:
    600
  2. Reny J Joseph Thuthikattu
    Replies:
    1
    Views:
    826
    =?Utf-8?B?UHJha2FzaC5ORVQ=?=
    Dec 30, 2004
  3. Joe
    Replies:
    0
    Views:
    470
  4. AndrewF
    Replies:
    1
    Views:
    1,039
    Bruce Barker
    Oct 10, 2005
  5. =?Utf-8?B?REo=?=
    Replies:
    2
    Views:
    619
    =?Utf-8?B?REo=?=
    Dec 1, 2005
  6. Replies:
    0
    Views:
    654
  7. Replies:
    0
    Views:
    597
  8. Joe
    Replies:
    2
    Views:
    361
Loading...