Monday, April 30, 2012

[sharepointdiscussions] Digest Number 4434

Messages In This Digest (1 Message)

Message

1a.

Re: Getting subsite url from aspx page in page-viewer webpart

Posted by: "Peter Brunone" peter.brunone@gmail.com   peter_brunone

Mon Apr 30, 2012 8:10 am (PDT)



Are you allowed to get it client-side with JavaScript? That would make
things easy.

On Sat, Apr 28, 2012 at 10:50 PM, brother.gabriel <brgabriel@sspx.org>wrote:

> Salvete! Hopefully, someone might be able to help me out here. I posted
> in sharepoint stackexchange, but haven't come up with the right answer yet.
>
>
> http://sharepoint.stackexchange.com/questions/33617/how-to-get-the-url-name-of-a-subsite-from-a-webpart
>
> I have a custom aspx page (with code-behind) inside a page-viewer web
> part. I need the aspx page to get the url of the subsite. It works after
> page load, but when I interact with the aspx controls, it does its own
> postback and then can only get the subsite of the aspx's page and not the
> sharepoint page. I have explained it in detail on the link above.
>
> Right now I have found a workaround using cookies, but it doesn't seem too
> stable, and is a bit of a hack.
>
> Thanks for y'all's help.
>
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

[Non-text portions of this message have been removed]

Recent Activity
Visit Your Group
Need traffic?

Drive customers

With search ads

on Yahoo!

Check out the

Y! Groups blog

Stay up to speed

on all things Groups!

Yahoo! Groups

Small Business Group

Own a business?

Connect with others.

Need to Reply?

Click one of the "Reply" links to respond to a specific message in the Daily Digest.

Create New Topic | Visit Your Group on the Web

No comments: