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. Advertising

  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. 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. Joe
    Replies:
    1
    Views:
    504
  2. AndrewF
    Replies:
    1
    Views:
    811
    Bruce Barker
    Oct 10, 2005
  3. Replies:
    0
    Views:
    564
  4. Replies:
    0
    Views:
    500
  5. Joe
    Replies:
    2
    Views:
    255
Loading...

Share This Page