html - AspxSplitter set contenturl in javascript -
im going use aspxsplitter set content url in javascript , when press button automatically change content in splitter. problem had facing after set contenturl in javascript not refresh content in splitter. thanks
function activetabchanged(e) { var index = e.item.name; if (index == "menu2") { var pane = contacttab.getpanebyname('pane1') // contacttab.getpanebyname('pane1').setcontenturl("default.aspx"); pane.setcontenturl("default.aspx"); pane.refreshcontenturl(); } }
here splitter setting
<dx:splitterpane name="pane1"> <contentcollection> <dx:splittercontentcontrol> </dx:splittercontentcontrol> </contentcollection> </dx:splitterpane>
solved setting contenturl in splitter. thanks
<xf:xfsplitter id="xfsplitter1" runat="server" width="100%" fullscreenmode="true" clientinstancename="xfsplitter1"> <panes> <dx:splitterpane showcollapsebackwardbutton="true" name="pane1" contenturl="frmmasterentry.aspx"> <contentcollection> <dx:splittercontentcontrol id="splittercontentcontrol3" runat="server"> </dx:splittercontentcontrol> </contentcollection> </dx:splitterpane> </panes> </xf:xfsplitter>
Comments
Post a Comment