Monday, 23 June 2008

Ajax Control Toolkit Popupcontrol and fieldsets

If you have

<fieldset> some content... including ajax popup </fieldset>

<fieldset> some more content </fieldset>

then the ajax popup pops up underneath the second fieldset,

to fix set the z-index on the first fieldset to be higher than the one on the second, ie as below.

<fieldset style="z-index: 2;"> some content... including ajax popup </fieldset>

<fieldset style="z-index: 1;"> some more content </fieldset>

1 comment:

LukeW said...

Thanks Paul. I just spent an hour trying to figure this one out. I kept thinking it was the div object and not necessarily the fieldset.