page

Post status update to Facebook page (Fan site)

I've seen all the posts here on stackoverflow about posting status updates to a page's wall (not a user's wall); but all appear to be out of date as none of them address the issue with the new Open Stream API. All the research I've done on Google leads me to the same end: Out of date tutorials that end up saying that the current implemen...

Page_Init vs OnInit

Between handling the Page_Init event or overriding the OnInit method of a Page, which one is better to use? Thanks. ...

IText Lines Per Page?

I have used IText(Sharp) to make PDFs from raster images but have never used IText to build text based PDF's. In this new scenario, I have N words of ASCII text that I need to add as text pages to a new PDF. Each page should be 8.5 x 11, .5 margins, using some monospaced font. Is IText(Sharp) smart enough to automatically apply line...

WPF: Add Page w/functionality into a Window at runtime as XAML

I have created a WPF app where I dynamicly build XAML elements using c# code and then add them to a root "container" grid. What I'm trying to do is take advantage of the features in Blend and create some XAML Pages that have their own set of code behind logic, Storyboards, etc. I want to load that XAML at runtime, however for some rea...

Windows 32-bit virtual memory page mapping issue

Hello everyone, I am learning from here about Windows 32-bit virtual memory page mapping, (I am targeting modern Windows versions, like Vista, Win 7, Server 2003/2008 32-bit versions.) http://blogs.msdn.com/ericlippert/archive/2009/06/08/out-of-memory-does-not-refer-to-physical-memory.aspx Two confusions, user space virtual memory ...

How do i set the default page print size on a asp.net reportViewer control

Is there any way to set the default page print size in an ASP.NET report viewer control. I'm having an issue in which some users are forced to change the page size or scale in order to print correctly. I'd like to just make it so they can just click Print and it'll go. Thanks in advance. ...

ASP Page has data truncated

ASP page is not being displayed completely. When viewing, user cannot scroll to end of page, data is truncated. When viewing the web page source, all of the data is present. When I save the web page source as a html file, then load in browser, all data is scrollable. note: user can scroll to see most of the data, but not all. Canno...

Crystal Reports any way to change orientation of only one page?

I'm trying to change an individual page within a multi-page report so that the orientation is landscape instead of portrait. The page contains only images, and I'd like for them to be displayed sideways. Is there a way of doing this? Barring that, is there a way of rotating the images themselves? The images are dynamically added to the ...

Set Window.Content to a page by XAML?

<Window x:Class="MyWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:src="clr-namespace:WpfApplication1" Title="ContactsSelector" Height="300" Width="300"> <Window.Content> <src:MyPage> <!--MyPage is a page that I c...

How can I remove the first page of a PDF file with Java?

I was thinking about using a library such as PDFBox but I would like your input. SOLUTION With IText public void removeFirstPage(String input_filename, String output_filename) throws DocumentException, IOException { File outFile = new File(output_filename); PdfReader reader = new PdfReader(input_filename); int pages_number...

Page object problem

Hi, I have a class which generate a dynamic page. Panel myPanel = new Panel(); TextBox myTextBox = new TextBox(); myPanel.Controls.Add(myTextBox); Page thePage = new Page(); thePage.Form.Controls.Add(myPanel); return thePage; my class basically do this. I call my class and I get thePage object from code-behind. Now, How can I r...

How do I display HTML code (entities) on a web page?

how do you write html code so the user and see it on a webpage (like a how-to for html) ...

In Dashcode, with iPhone webkit, how to add a new page?

I'm working on a website for iphone using dashcode. But i don't know how to add a new html page to the 'site'. I could use stackLayout but it takes so much time to load the 'index.html' since it has all the stackLayout's views in it. enlightenment needed :) ...

JSP/ HTML page resolution

I have to make a JSP/HTML pages. How to fix height and width on JSP for resolution, which will work for all kind of monitor resolution. If you open page then that must be fit and look good in any kind of monitors. Please advise, how to put height and width in JSP. ...

How to catch "Cannot delete or update a parent row: a foreign key constraint fails" expression and throw it on to a new page ?

I use the following code to catch the SQL Expression, when i try to delete a primary key wich is also a foreign key and is mapped to another table, my question is, how do you forward this to a common error page ? To catch the expression, if(e.Exception is SqlException) { SqlException ex = (SqlException)e.Exception;...

Php - name of page parts

Hello, i need in naming like this: site.com/about site.com/contacts Could i do it without .htaccess? ...

How do I change the upload page for a particular document library in SharePoint?

For a particular document library I need to navigate to a custom page when I click on the upload button in the toolbar. For other libraries I need the default upload as it is. Any ideas? ...

How to prevent scrollbar from repositioning web page?

I have a website with center-aligned DIV. Now, some pages need scrolling, some don't. When move from one type to another, the appearance of a scrollbar moves the page a few pixels to the side. Is there any way to avoid this without explicitly showing the scrollbars on each page? ...

dynamic page caching- show redirected html cache page or show the dynamic page?

would like your comments. Eg: When user first visit www.testing.com/productdetailpage.asp I will use caching- store the whole page into productdetailpage.html When the user go to reopen productdetailpage.asp, user will be redirected to www.testing.com/productdetailpage.html It means they will see productdetailpage.html, not .asp Is ...

add a hash with javascript to url without scrolling page?

add a hash to url without scrolling page? with javascript i open page i scroll down i click link that adds a hash (maybe with a value #test) (example: http://www.example.com/#test) the page MUST not scroll back to the top. how can this be done? note: just checking if it's possible to disable the movement even if there is some tag wi...