.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Post New Web Links

PowerPivot: embed URL into iFrame

Posted By:      Posted Date: October 13, 2010    Points: 0   Category :SharePoint
 

I am trying to embed a powerpivot URL into a custom web app via an iFrame.

my URL looks like this: https://mycompanyURL/sites/2010BITools/_layouts/xlviewer.aspx?id=/sites/2010Tools/PowerPivot%20Demo/TerritoryDashBoard.xlsx

IE 8 gives me this message in iFrame: To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.

I tried running in compatibility mode with no luck.

do you know what we can do about this? 




View Complete Post


More Related Resource Links

Embed Youtube inside Ajax Html Editor- problem

  

Hi,

When inserting a simple embed of youtube inside the ajax editor, on firefox and chrome problems occur. On the other hand on internet explorer 8 everything works fine. I found this solution http://www.nopcommerce.com/boards/t/4228/bug-in-ajax-html-editor.aspx . 

My question is where do I find the DesignPanel.pre.js ?


Thanks,

Roderick Vella


Embed word document inside excel

  

Hi,

I am using ASP.NET and C# 2.0 and working on web application.

I want to embed a word document inside a excel sheet.

How to embed word document inside excel.

Thank you

 

 


JavaScript iframe resezing issue

  

Hi

I have an iframe that is supplied by another application, inside the iframe I have my .Net application. However, I am having sizing issues, where one minute that pages in the .Net fit the frame perfectly and the next minute they don't, with a vertical and horizontal scroll bars appearing. All the .Net Pages use a Master Page and I have also fixed the size of the pages, but with no luck. What I would was thinking if possible is to pass some javascript between the .Net application and the iframe which will make the pages and the iframe resize themselves. Has anyone done this before and have some code that I could use?



iframe and setfocus problem

  
Hi,

I have a page with an iframe on it in which I load another page.
On this iframe page I have some textboxes above eachother.

When the first textbox is filled with a code the textchanged event is called 
and the code is checked with the database.
After the code has been changed to the right one (if needed) I want the 
focus to go to the next textbox.

So at the end of the event I do: Page.SetFocus(txtbox2)

But after the postback refresh, the focus is gone.
I have also put the control to be focussed in a session variable and then in the page_load event I set the focus to the control in the session variable, but still no focus on the textbox.
How can I put it on the 2nd textbox? 
all is done in the Iframe page codebehind.
I need this focus because the two textboxes are filled via bar code reader and after the scan an "enter press" is done automatically and to be able to allow two scans after each other this focus change is needed.
rg,
Eric

how to embed image in mail body while sending mail in c#.net uisng Exchange2007_SP1.

  

 Hi,

I am uisng ExchangeVersion.Exchange2007_SP1 EWS to send mail through my c#.net application. I want to embed image in mail body so tht user can see body message along with image in its inbox mail .currently I am uisng image tag to show image but in the email body its just showing image url instead of image.
Thanks,
sachin


Do Post to Iframe in same page, and Password Field

  

Hi all,

I need do post of a form in my page to Iframe in the same page.

I set target in form tag.

<body onload="document.formuno.submit()">

                               <form name="formuno" method="post" action="http:\\externalCompany.WebForm.aspx" target="framename"  >

                                               <input type="hidden" name="prueba"  value="pruebatxt" runat="server">

<input type="hidden" name="prueba2"  value="pruebatxt" runat="server">

<input type="hidden" name="prueba3"  value="pruebatxt" runat="server">

<input type="hidden" name="password"  value="MY PASSWORD" runat="server">


       &nbs

IFrame onload event

  

The code below I am having problems with. I have a page with multiple views. When the 2nd view loads up I want an animated gif to appear untill the pages loads up in the iFrame.

In the onload event inside the iframe I try to call a javascript function. I get the following error when I try to call the javascript function:

'ASP.applications_onlinebillpay_payment_aspx' does not contain a definition for 'hideLoading' and no extension method 'hideLoading' accepting a first argument of type 'ASP.applications_onlinebillpay_payment_aspx' could be found (are you missing a using directive or an assembly reference?)

If I take out the runat="server" part it will work but I need to assign the src of the iframe in my c# code.

The code is:


<asp:View ID="View2" runat="server">
         <script type="text/javascript">
            function hideLoading() {
               alert('hi')
            }
         </script>
      &

thickbox iframe

  

Hi,

i facing scenario is that i want to call my page in thickbox using i frame  in server side code

below the code  i tried. i want to pass the my aspx page

protected void Button1_Click(object sender, EventArgs e)
    {
      ShowDialog(this, "Security Question & Answer", 500, 300, "sampleContent");
      TextBox1.Text = "workingmaster";
 
    }

public static void ShowDialog(Page page, string title, int width, int height, string divTag)
    {
      string script = "$(document).ready(function() {tb_show('";

// i want to pass my aspx page here

      script += title + "', '#TB_iframe=true    height=" + height.ToString();
      script += "&amp;width=" + width.ToString();
      script += "&amp;inlineId=" + divTag + "', null);});";

      ScriptManager.RegisterStartupScript(page, page.GetType(), "", script, true);
    }


determine the screen height within javascript and set a property on an iframe

  

I have a webform  that has a header and iframe,  what I need to do is on load detemine the users screen height and then  set the height on the iframe. Can someone explain  or show me an example of how to do this.


Thanks in advance.


Clicking button and view in iframe

  

When i place the button in the website and i click the button,it runs as a full page.But i ant the website to run in the iframe.How do i do that?Because i want to place many button for different uses so i need it to view in iframe instead of a full page


open Word document in iframe without open/ save dialouge

  
Hello All! In my application users upload their word document and user has been given an option to preivew the uploaded document. Inorder to  preview  the document  i put the following code in my page_load eventdiv1.InnerHtml = "<iframe name='iframe4' src='DocumentUuploaded/report.doc ' target='iframe4'  frameborder='no' height='500' scrolling='no' width='800'></iframe>";The problem is it is asking Do you want to open or save this file. How can i get rid of this dialouge box . Pls helpThanks in advance.

Work around cross scripting issue (iframe)

  
I want to know how I can get the button in the iframe to send the selected item in the dropdown box to a text box that is out side of the iframe. The setup is as follows This is the source of the Php page. The iframe receives the controls from the aspx page on another website. 2 separate websites. The asp.net site sends a dropdown box a label and a button to the page below (php page):<iframe id="hdnFrm" name="hdnFrm" src="" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="width:90%; height:50px"></iframe> <form action='http://www.link-exchangers.com/adv_links_addbycustomer.aspx' target='hdnFrm' method='post'> <table width=90% align=center cellpadding=2 cellspacing=0 border=0> <tr><td valign=top>Contact email: </td><td><input type=text name=web_email value="" style='width:250px'></td></tr> <tr><td valign=top>Web site title: </td><td><input type=text name=web_title value="" style='width:250px'></td></tr> <tr><td valign=top>Your url: </td><td><input type=text name=web_url value="http://" style='width:

Is there an official and supported forum where I can ask a PowerPivot question?

  
I have a question about installing the SQL Server PowerPivot for Excel add-in. I realize that there is a Microsoft forum specifically for this add-in at http://social.msdn.microsoft.com/Forums/en-US/sqlkjpowerpivotforexcel/threads, however, that forum is not listed on the MSDN Subscriptions page of forums with Priority Subscriber Support. I asked my question there but no one responded to me. Is there a forum with Priority Subscriber Support where I can get an official response for my question? Basically, I can't get the add-in to install on Windows 7 64-bit, for either the 32-bit version of Excel 2010 (my preferred scenario) or even the 64-bit version of Excel 2010. I mean, it installs fine but Excel won't load it. Thanks, Chuck

Javascript to pass var in iframe to parent form

  
Why doesn't this form work when the button is clicked? It is inside an iframe. I sent the controls to an iframe from  a different website. When I hover my mouse over the Resubmit button, I can see the correct url in my browser bar. (lower left) This is the same one as the save button. Does the fact that the Resbmit button is in an iframe create a problem?  Is this a security issue?   I was trying to use the Copy url to clipboard button to copy the selected url in the dropdown to the clipboard. Then the user could paste it into the Recipcocal url field in the form and click the Save button again. (see picture) The form is on the page with the iframe. The copy button doesn't work either.  <form name="ctl01" method="post" action="http://www.link-exchangers.com/adv_links_addbycustomer.aspx" id="ctl01" target="hdnFrm"> <div> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUaUXIyTcD6f05q0zIbv4QVbpto4s=" /> </div> <div> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="//2DwKU+M6MDwK8m8+dCQKy8rjSBwLD+aWMBALcwYfHCALrp+eHDwKggI3ODAKvtqqBBgKjs8y4CAKqiLHeDgK34agCBNfAteTeI3XoiXVXjCs/J0yEnNM=" /> </div>

How to resize iframe when content loads..

  
I have an iframe on website A which receives the controls from website B once the form is processed on website B. Here is the page on website A with the iframe. I have hard coded the height at 100px:<iframe id="hdnFrm" name="hdnFrm" src="" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="width:90%;height:100px"></iframe> <form action='http://www.link-exchangers.com/adv_links_addber.aspx' target='hdnFrm' method='post' name='form1'> <table width=90% align=center cellpadding=2 cellspacing=0 border=0> <tr><td valign=top>Contact email: </td><td><input type=text name=web_email value="<?=$web_email;?>" style='width:250px'></td></tr> <tr><td valign=top>Reciprocal link: </td><td><input id=web_recip type=text name=web_recip value="<?=$web_recip;?>" style='width:250px'></td></tr> <tr><td colspan=2 align=center><input type=submit value="Save" style='width:100px'></td></tr> </table></form> Once the Save button is clicked, website B processes the data in this form, and sends messages and a

javascript not working in iframe on remote site

  
<html> <body style="background-color: White;"> <form name="ctl01" method="post" action="adv_links_addbycustomer.aspx" id="ctl01"> <div> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/</div> <div> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/dfdafa" /> </div> <div style="background-color:White;"> <span id="lblMsg" class="ErrorText" style="font-weight:bold;"></span> <center> <span id="Label1" style="font-size:X-Small;font-weight:bold;">Valid Urls</span> <select name="DropDownList1" id="DropDownList1" style="background-color:#EFEFEF;border-color:#898989;border-width:1px;border-style:Solid;font-size:8pt;padding:0px;"> <option value="0"> - Select - </option> <option value="http://www.fha-home-loans.us/index.htm">http://www.fha-home-loans.us/index.htm</option> <option value="http://www.fha-home-loans.us/jumbomortgage/apply.htm">http://www.fha-home-loans.us/jumbomortgage/apply.htm</op

How to embed my css into the control?

  
Hi!I want to simply embed my stylesheet file(css-file) to my custom control..I have read some about it but I didnt get it to work for some reason...how is this made?The namespace is "EspiritCustomControls.Phasma" and the class/name of the control is TopMenuButton and the css-files name is TopMenuButton.css and is placed in the same dir as the C# code-fileThanks in advance!
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend