» Home » Call » Page 1
Rhino Mocks error - “Invalid call, the last call has been used or no call has been made”
Category : Programming Languages

I am stumped. I am getting this error when I try to set a mock to have "PropertyBehavior()":

System.InvalidOperationException: System.InvalidOperationException:
Invalid call, the last call has been used or no call has been made (make sure that you are calling a virtual (C#) / Overridable (VB) method)..

I am trying to use only Rhino Mocks 3.5 (Arrange,

View Replies

In Silverlight 3 how can I get the call to HtmlPage.Plugin.SetStyleAttribute() call to call other code after the resize?
Category : Programming Languages

I'm trying to take a snapshot of my Silverlight control using WriteableBitmap and it works fine, however, it only takes a snapshot of what is showing. I'm trying to resize the Silverlight control so it will show everything and then take a screenshot, however, the code doesn't resize the control until after the code after the call all runs which is the snapshot code...

I can get thi

View Replies

How to call in android from code and when call will end it callback to activity, from call is started?
Category : Android

How to call in android from code and when call will end it callback to activity from call is started?

View Replies

how to make other ajax calls after one ajax call completes and second ajax call should not call the .stop function
Category : Programming Languages

actually i 'm calling multiple ajax calls but i want some ajax calls completes first and exectute the atsk defined in its stop function.but some ajax call should be made once function defined in stop method executes and those ajax call should not cal.stop method once again

alert("ajax rqst completed");

View Replies

jQuery ajax call not returning 'data' to redirected page on success call
Category : Web Design
<a href="PHP/LogOut.php" id="LogOut">Log Out</a>

the link a#LogOut calls a PHP script that ends all sessions and responds with data of "You have logged out".

$_SESSION = array();
if (ini_get("session.use_cookies")) {
$params = session_get_cookie_params();

View Replies

call perl script from python works in commands.getstatusoutput but not in subprocess.call
Category : Programming Languages

I have a python script which must call a perl script to get data from a remote server.
The perl script has to stay perl, it's third party and I don't have any options there.
I'm trying to remove all the obsolete and deprecated stuff that the previous developer stuck all around the code, so I'd like to replace the commands.getstatusoutput call with a subprocess call, but somehow I can'

View Replies

open a new window of view when call controller from Jquery Ajax post call
Category : Programming Languages

I'm using ASP.Net MVC2. I'm trying to open a new window of view when call controller from Jquery Ajax post call.
here is my code..
in ascx page..

$('#DeleteButton').click(function () {
var isLineChecked = $(':checkbox:checked', '#providerSearchResultsTable').length;
if (isLineChecked == 0) {
alert("Please select at

View Replies

How do I call javascript on host MVC page when ajax call in partial view is complete?
Category : Javascript

I have an Asp.net MVC partial view that is used for searching. It does an Ajax call to retrieve results. Once the results are retrieved and displayed in the result pane, the user can click on a link in any of the result rows to select one of the search results. When the user clicks on a link to select one of the search results, it will make an Ajax post request to update some state. Once this A

View Replies

incoming voip call (application don't become active, when call received, but code executed)
Category : Mobile Programming

I'm using pjsip, to receive incoming calls. Everything work fine(i receive logs and vibration for incoming call) instead of application don't become active.
I tried to using various codes like show alert, alarm, but all behavier working like app in background. How i can push it to re-sign active?

View Replies

Program Crashes on call to ExecWB in call to Internet Explorer ActiveX Control
Category : Programming Languages

I have a Visual Studio 2005 Project with a 'Microsoft Web Browser Control' (in a CDialog). Our users frequently need to print the created html page - and that works perfectly with Ctrl+P. There is also a 'Print' button that has been added to the the CDialog that has the following code:

void CHTMLDlg::OnBnClickedPrint(){
VARIANT parameter;
// m_ExplorerCtrl is declared i

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .