Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Jill on Mar 05, 2008 10:36
open dhtmlx forum
Dynamically load aspx from form with fields

I am evaluating the dhtmlxtabbar for a project. I want to submit a form from another frame and have the results show up within the tabbar. For instance, I select a address from a form in a frame that does not contain the tabbar. I want custom property information for this address to show up in the tabbar- so i need to dynamically load an aspx page (with fields posted from the submitted form) into one of the tabs. Is this possible and if so, how do I load the page?

Thanks,
Jill
Answer posted by Support on Mar 06, 2008 02:09
You can
a) load page, create tabbar and add content to it
    var tabbar= new dhtmlXTabBar(...
    tabbar.addTab(...
    tabbar.setContentHTML(tab_id,"<?=$content_text?>");

b) you can form necessary html layout and load tabbar from it
    <div mode="top" tabheight="20" align="left" class="dhtmlxTabBar" imgpath="../../codebase/imgs/" style="width:398; height:395;">
            <div id="a1" width="100" name="Properties" style="display:none"><?=$content_text?></div>
    </div>