This is a migrated thread and some comments may be shown as answers.

EditForm Popup auto height increment

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Vinil
Top achievements
Rank 1
Vinil asked on 28 Oct 2011, 06:47 PM
Hi,

    We are using Telerik.Web.UI 2008.2.1001.35 dll.We are editing the grid data using user control Popup.In this Popup we are displaying some controls in thr runtime baased on few conditions using server side code and java script sometime.So that time we are expecting that the Popup will automatically adjusts its height and display all the controls with in the Popup.But this is not working .Popup is not adjusting its height.We tried in all the IE6,IE7 & IE8 versions.Please let us know what we need to do to adjust the Popup height in runtime.

  We have tried the below solution that we found in some of your forums.But this also didn't work for us.

.RadGrid .rgEditForm

{

height: auto !important;

}

 

.RadGrid .rgEditForm > .rgHeader + div

{

height: auto !important;

}



Thanks,
Vinil Narla

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 29 Oct 2011, 08:08 AM
Hello Vinil,

I tried the same scenario, but no avail. The following CSS worked as expected in my end. Make sure that you don't have any global CSS overriding the default CSS.

CSS:
.RadGrid_Default .rgEditForm
{
  height:50%!important;
}

Thanks,
Shinu.
Tags
Grid
Asked by
Vinil
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or