Showing posts with label parts. Show all posts
Showing posts with label parts. Show all posts

Wednesday, March 21, 2012

please help Im a designer not a network guy

I'm trying to edit a share point services site in front page but it won't let me use any of the web parts on the server. When I try to add a webpart or open a page with webparts added through the browserI keep getting this message:

A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered on this site as safe.

When I click on details it further explains:

soap:Server Exception of type Microsoft.SharePoint.SoapServer.SoapServerException was thrown. A Web Part or Web Form Control on this Web Part Page cannot be displayed or imported because it is not registered as safe on this site. You may not be able to open this page in an HTML editor that is compatible with Microsoft Windows SharePoint Services, such as Microsoft Office FrontPage. To fix this page, contact the site administrator to have the Web Part or Web Form Control configured as safe. You can also remove the Web Part or Web Form Control from the page by using the Web Parts Maintenance Page. If you have the necessary permissions, you can use this page to disable Web Parts temporarily or remove personal settings. For more information, contact your site administrator.

I contacted my site administrator and she doesn't want to help me so I figure if I can tell her exactly how to fix the problem she might be more inclined to hear me out. I might need it explained as simply as possible because I'm not a networking genius and I don't think our systems administrator is either.You may want to hit up a Sharepoint site for more help... but it sounds like the new webpart you have (I'm assuming you wrote it?) isn't added into Sharepoint... not sure how to do it personally but I would think a post to a Sharepoint site/newsgroup/forum may get you better/more results.

Friday, March 16, 2012

please help me!

hi all,
i wanna create a page which has two parts.
in the first part,i have header and menus and logo...
when i click on any thing in the firs part it shows the result
in the second part without any refresh in page.
could you please help me?
i would be apprecited any suggestion.

thanks


Even if you did do something like have panels and just toggled the visibility, it would still refresh the page because of postback

So I'm not sure if theres any method to change whats being displayed on an ASP.NET page without refresh from a postback.


Hi,
It seems you'll need to do all that in JavaScript, as there is presently no way to run .net languages on the client browser.
You could cheat a bit and put the right side content in an IFRAME sothat you could reload that one only. You'll need to get your handsdirty with even more javascript for this one, however.
John

two words. Java Script.

You can create <div></div> regions and set the display value to none or block. here is a start for you. you will have to create a button to fire the javascipt.

<script language="javascript">

function showView(divID){

document.getElementById('span1').style.dispaly = 'none';

document.getElementById('span2').style.display = 'none';

document.getElementById(divID).style.display = 'block';

}

<html>

<div id="span1" style="DISPLAY: none">Hello</div>

<div id="span2" style="DISPLAY: block">Good Bye</div>


You could also use IFRAMEs. When the user clicks on the selectedoption, it loads the selected page in the IFRAME. All you have to do isadd a target="<iframeName>" attribute to the anchor. Thecontainer page never needs to refresh.
Also,Javascript is one word.
Regards,
Sam

I stand corrected.

Hi All,
thanks for your suggestions,really i didn't know how to start?Wink [;)]
all of your solutions were useful and i used themGeeked [8-|]
AGAIN MANY MANY THANKS GUYSSmile [:)]