Table Width 100% Problem with Update Panels

Last post 07-10-2009 11:11 AM by ddNils. 3 replies.

Sort Posts:

  • Table Width 100% Problem with Update Panels

    07-10-2009, 10:01 AM
    • Member
      32 point Member
    • ddNils
    • Member since 06-22-2008, 2:22 PM
    • Posts 23

    Hi there,

    I have a pretty complex page, inside a MasterPage which basically consists of 3 Update Panels.

    Inside the first Update Panel there is a Table which positions a few dropdowns and TextBoxes.

    The other two Update Panels show Master - Detail GridViews which are dynamically loaded. Content is based on selection of first UpdatePanel.

    My problem is, that whenever I show my Master Detail GridViews the Table inside the first UpdatePanel is growing extremly in size (width only). Though this happens only in IE, it still bothers me, because my page design is totally messed up.

    I think this is caused by one or both of the GridViews (both widths are 100% too). Maybe they are bigger in one state of the pagecycle, but get smalled, when some columns get invisible, but whole width stays.... I can't explain this behaviour, but hope someone could explain to me...


  • Re: Table Width 100% Problem with Update Panels

    07-10-2009, 10:16 AM
    • Contributor
      5,624 point Contributor
    • RatheeshC
    • Member since 04-25-2008, 6:05 PM
    • Posts 1,198

     Hi,

    Try to set the width by setting

    style = "width:auto"

    Check this works for you or not

    Thanks

     

     

    Thanks
    Ratheesh

    Please mark it as answer if it resolves your issue.
  • Re: Table Width 100% Problem with Update Panels

    07-10-2009, 10:29 AM
    • Member
      32 point Member
    • ddNils
    • Member since 06-22-2008, 2:22 PM
    • Posts 23

    no, it does not work, the Table now is smaller than the page... but I dont want that... by the way, the gridviews are still getting too big.

  • Re: Table Width 100% Problem with Update Panels

    07-10-2009, 11:11 AM
    Answer
    • Member
      32 point Member
    • ddNils
    • Member since 06-22-2008, 2:22 PM
    • Posts 23

    Damn it, I was working on this for days, just now figured it was a problem with the MasterPage Setup.

Page 1 of 1 (4 items)