I am trying to make a simple add-in to sharepoint online with some pictures.
But all the pictures is not showing beacuse the iframe is defualt set to 300x200px in sharepoint and i canr acces it from visualstudio, but i can change the height in the browser window to get it to work. So is there a way with CODE and not in the edit webpart page that can change the size of the "box" the content is in?
this is how it looks now.
this is how i want it to look.
Related
Looking to integrate a basic iframe into a website not hosted by me and wondering what are the risks and things I need to ask the other party to do who are managing the website? Also, their site is responsive and my page isn't, so when their site scales down for mobile and tablet, they want to replace my page (because it's not responsive) within an image. Is it JavaScript that just changes the DOM depending on screen size and so in a conditional statement will just show up either an i-frame tag or image src tag in the html? help!
I am using Telerik's KendoUI framework for an HTML5/JS mobile app. When I have views I want to link to inside my app, I do a standard link such as Link which is of course as basic as it gets. The question I have is whether there is a way to make that path an external link, but have the page load inside the content area of the app (such as in an iFrame)? I'm not finding any examples of that online and when I make the link external, my whole app disappears if you click it. The end goal is keeping the link's site content (already mobile friendly) in between the header/footer of my app so they can still navigate it.
Thoughts?
After working through Telerik support, this wasn't natively possible with their framework. I ended up doing a Kendo view and utilized the data-init option to dynamically build an <iframe /> via jQuery and put the link in there so it loaded appropriately. Some might say that's a security concern, however in our case the link is something we put in for them so it's something that will always be trusted.
My Scenario,
I'm using Visual Studio 2005. In my website Page I'm trying to browse a image and display in image control and then i need to insert to Database, But I'm Unable to bring the image to control.
1.Browse image
2.View in the control and then insert in Database.
This What I want and I'm searching for code.
This is difficult to do on the client side without sending the image to the server at all without using a technology like Flash to display the preview of the image before uploading it.
If you wish to use Flash, then there is a donationware component called Agile Uploader that even has a jQuery plugin available that allows you to display a preview of the image wherever you like before uploading, as well as being able to resize the image on the client side first, so you don't have users uploading massive files. It's well worth a look.
I have been working on a project where I need to load a ssrs site within an iframe. The iframe is acutally using the telerik spitter panels but the DOM refers to it as an iframe when rendered. The issue I am coming into is when referencing the SSRS site it loads wihtin the iframe but the view tiled multiple times over. In reading I have seen mention that the SSRS site also uses iframes which causes an issue when loaded into another iframe. Does anyone know of a solution for this type of scenario or can you point me in the right direction of where to look? In essence I have to wrap an asp.net wrapper around the SSRS site as it is a part of a larger site and users need to be able to navigate to this section of the site using the main navigation. I need to avoid pop-up windows or redirects as the user needs to get the expereince that they are in the same site even though I am loading ssrs from another server. Attached is a screen shot of what the tiling looks like. The site is small so I am not using masterpages it is loaded directly within an asp.net document.
Any tips or suggestions are always appreciated. Thank you
from experience I've found IFRAMEs and FRAMEs with SSRS 2008 did not work reliably (admittedly I had IE6 issues too).
Eventually I settled on using JavaScript/jQuery to create a DIV at the top of the page that looked like the top nav bar of my home page, using behaviors (IE) or bindings (FF) that can be loaded in using the "ReportingServices" style sheet e.g.
/* add in behavior file for IE */
body {
behavior: url("/Reports/IE-frame.htc");
}
/* Firefox-only XBL */
body {
-moz-binding: url("/Reports/FF-frame.xml#initFrame");
}
i want to develop our site in such a way user can choose theme. when user will choose theme then i want show the images of our site' home page with various look and user will just choose the images and theme of our site will be change. i know how to change theme from the code behind.
my question is that how could i display the various images of my site's home page with different look which user choose. please tell me the way out. if possible give me a small code to generate the images of my site's home page with different theme attach which user will choose. if anyone know any sample of such things according to my requirement then please give me the url from where i can download the sample.
thanks
I think I know what you're trying to say, and I would go about it like this:
Apply a theme to your site, then run it
Take a screenshot of your homepage
Open Paint and paste the screenshot onto the canvas
Save the image as "MySite_Theme1" or something like that
Once you have followed these steps for each of your themes, do the following to apply each preview to a button
Add the screenshots to your site's Images folder.
Go back into your site and create an <asp:ImageButton> for each theme. Apply ID, ImageURL, ImageAlign, runat, Height, and Width. The control should resize the image based on the button's height & width.
Go to changing themes with buttons, how? for coding the code behind.
I hope this helps you out
EDIT: I would also look for the book Beginning ASP.NET in C# & VB. Wrox is the publisher. I have found that and a lot more at www.wowebook.com :)
You could use ASP.NET Themes which could be changed dynamically at runtime.