page

how to load a page and then run a jquery function

on master page i put this code to load page in same master page and then run jqeury function This is my Master Page code <%@ Master Language="VB" CodeFile="MasterPage.master.vb" Inherits="MasterPage" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html x...

How to get the client ip address in ASP.Net MVC?

hi guys, i'm totally new to the asp.net mvc stack and i was wondering what happened to the simple Page object and the Request ServerVariables object? basically what i wanted to do is to pull out the client's pc ip address. but i fail to understand how the current MVC structure has changed all of this. as far as i can understand, most o...

question about asp.net lifecycle

how can i programmatically restart page lifecycle? i do some stuff in controls events which affects these controls. to see changes i have to draw page again. how can i do it? ...

Split PDF documents into separate pages using PHP (or possibly perl)

Can anybody point me towards a PHP library or script that would allow me to split a pdf consisting of multiple pages into separate files, each containing 1 page. The PDFLib documentation doesn't appear to allow this and Google hasn't been particularly helpful. I could possibly also use Perl, but it would be very inconvenient to do so. ...

javascript popup reloads parent page -

I have a popup function in a program that works well, be re-loads the parent page as it loads the child. Is there a way to prevent this behaviour. // popup window function function newPop(url, myWin, width, height, left, top, scrollbars) { parms = 'toolbar=yes, scrollbars=no, location=no, menubar=no, resizable=no, width= ' + width ...

"do it all" page structure and things to watch out for?

I'm still getting my feet wet in PHP (my 1st language) and I've reached the competency level where I can code one page that handles all sorts of different related requests. They generally have a structure like this: (psuedo code) <?php include 'include/functions.php'; IF authorized IF submit (add data) ELSE IF update (update data)...

wcf metadata service page url

I have a service with the metadata exposed. Trouble is when I browse to the wsdl the service page it has the machine name as below: MasterLibrary Service You have created a service. To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command li...

php page navigation by serial number

Can anyone help in this php page navigation script switch on counting normal serial number? In this script there is a var called "page_id" - I want this var to store the real page link by order like 0, 1, 2, 3, 4, 5 ... <? $onpage = 10; // on page /* $pagerecord - display records per page $activepage - current page $records - total ...

Using AJAX to load WordPress pages

Hi, I am trying to get it so that when a link is clicked in my WordPress template, it will load that page content with AJAX without changing the page. It needs to load dynamically into my content area depending on which link is clicked. I have never used AJAX before so I would love it if someone could help me out or point me in the rig...

When should I use a UserControl instead of a Page?

I notice that many of the WPF MVVM frameworks seem to avoid using the NavigationWindow and Page controls in favor of composing pages using nested UserControls. The NavigationWindow and Page provide easy ways to enable back and forward navigation in the journal as well as providing an easy way to pass data among pages. Most MVVM framewo...

How to add .aspx page at runtime?

How can I add a webform (aspx page) at runtime in ASP.NET? ...

Preferred method to reload page with JavaScript?

Hey Guys, which way to reload a current page (using a button) would you prefer? 1 <input type="button" value="Reload" onClick="history.go(0)"> 2 <input type="button" value="Reload" onClick="location.reload(true)"> 3 <input type="button" value="Reload" onClick="window.location.reload(true)"> 4 <input type="button" value="Reload" onClick=...

Web page width on LG mobile phone

Hi I'm trying to develop a site for mobile phones. At the moment it seems to work on iphone and android htc desire and an n95. When I try it on an LG renoir instead of the page fitting the width of the screen the page displays at least twice as wide as it should meaning you can scroll left and right. Has anyone come across this be...

Is the iPad "page turn" transition included in the SDK?

Is there a "page turn" transition included in the iPad SDK that I can use? Or is that all coded by hand with core graphics? ...

How can I make a JavaScript alert before a page closes?

I want to write JavaScript code that would, when I close the current HTML page, display an alert message like "Are you sure?" I want to take the value of the button from the alert message, whatever the user pressed. How can I do this? ...

How can one create a org.eclipse.jface.preference.BooleanFieldEditor with a multi-line label?

The ff. does not work. "Second line" is rendered on the same line as "First line". What's more is that there is no space between the two. new BooleanFieldEditor("Name", "First line\nSecond line", getFieldEditorParent()); ...

How to refresh a webpage in IE

HI all, I have Ishare URL " www.example.com\ishare " which i opened it thru wshshell. I want this page to be reloaded every 10 seconds. any help on this would be much appreciated. following is the script, Dim WSHShell Dim oShell Set WSHShell = WScript.CreateObject("WScript.Shell") WSHShell.Run("iexplore https://Infrastructure/IA/Lis...

Changing URI suffix in Joomla when adding child php pages

I have added a new directory in my joomla website: http://sitedomain.tld/xxx/ then I have added index.php in that directory here is the code define( '_JEXEC', 1 ); define('JPATH_BASE', '..' ); define( 'DS', DIRECTORY_SEPARATOR ); require_once ( '../includes/defines.php' ); require_once ( '../includes/framework.php' ); //JD...

Is there any analog of ASP.NET master page in pure JSP?

Pls give a link with sample if possible ...

Can a memory page be moved by modifying the page table?

Is it possible (on any reasonable OS, preferably Linux) to swap the contents of two memory pages by only modifying the page table and not actually moving any data? The motivation is a dense matrix transpose. If the data were blocked by page size it would be possible to transpose the data within a page (fits in cache) then swap pages to ...