M
milli9
Hi I'm developing sharepoint 2007 site. On my page when I click on
some zone, it opens up a dialog box at the corner of the page. At the
bottom of the dialog box there is a link which opens up a tool pane.
I want to open the tool pane directly on my page instead of opening
from the dialog box.
But when i put that part of the code on my page it is not working
properly.
The code is like this for that link on the dialog box.
Function code:
function SetOpenToolPane()
{
setModalDialogReturnValue(parent.window,
'OpenToolPane');
window.close();
}
Link Code:
<td><a
id="ctl00_PlaceHolderDialogBodySection_OpenWebPartGalleryInToolPaneButton"
class="ms-webpartpickerpagetext" href="javascript:SetOpenToolPane();"
style="font-weight:bold;font-size:8pt;font-
family:tahoma;color:#345BA7">Advanced Web Part gallery and options</
a></td>
When I click on Advanced Web Part gallery and options it opens up a
toolpane by closing this dialog box.
Can anybody give me an idea how to open this toolpane directly on the
page?
Really appreciate your help,
Thanks,
some zone, it opens up a dialog box at the corner of the page. At the
bottom of the dialog box there is a link which opens up a tool pane.
I want to open the tool pane directly on my page instead of opening
from the dialog box.
But when i put that part of the code on my page it is not working
properly.
The code is like this for that link on the dialog box.
Function code:
function SetOpenToolPane()
{
setModalDialogReturnValue(parent.window,
'OpenToolPane');
window.close();
}
Link Code:
<td><a
id="ctl00_PlaceHolderDialogBodySection_OpenWebPartGalleryInToolPaneButton"
class="ms-webpartpickerpagetext" href="javascript:SetOpenToolPane();"
style="font-weight:bold;font-size:8pt;font-
family:tahoma;color:#345BA7">Advanced Web Part gallery and options</
a></td>
When I click on Advanced Web Part gallery and options it opens up a
toolpane by closing this dialog box.
Can anybody give me an idea how to open this toolpane directly on the
page?
Really appreciate your help,
Thanks,