I am using this modelpopUp for multiple forms which contain diffrent contents
i set pannel width and height as 800px and 600 px;
i need auto resize pannel so i can use same css for multiple forms.
--pannel css-------------
.PopUp
{
position:relative;
background-color:#f3f3f8;
border-radius: 7px;
border-right-width:2px;
border-left-width:2px;
border-bottom-width:2px;
border-bottom-style:groove;
border-left-style:groove;
border-right-style:groove;
border-color:#f3f3f8;
width: 800px;
height: 600px;
overflow:auto;
}
---modal popUp-------------------
DynamicServicePath="" Enabled="True" TargetControlID="btnShow"
PopupControlID="pnlPopUp" BackgroundCssClass="backgroundModelPopUp" DropShadow="false"
OkControlID="btnSubmit" CancelControlID="btnclose" >
-----------------------------------
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Iftikar HussainRank #423 · 5.9K reputationPosted Aug 21, 2013, 1:19 AM EDT
Try like this
Regards,
Iftikar
Ramakrishna PathuriRank #2,431 · 580 reputationPosted Aug 21, 2013, 1:33 AM EDT