» Home » Call » Page 1
Rhino Mocks error - “Invalid call, the last call has been used or no call has been made”
by Thomas Plunkett in 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,

In Silverlight 3 how can I get the call to HtmlPage.Plugin.SetStyleAttribute() call to call other code after the resize?
by Pete in 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

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

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

how to make other ajax calls after one ajax call completes and second ajax call should not call the .stop function
by Copter in 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");

how to link static cells to Outlet/Actions - E.G tap the call cell to call the number
by Brainonska511 in Coding

The code I have. By the way, I can't get Call to work and Website does not open either!

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
NSString *urlToOpen = @"";
if( indexPath.section == 0 ){
// call number
urlToOpen = @"tel:442074036933";
} else if( indexPath.section == 1 ){
// open web

How do I call javascript on host MVC page when ajax call in partial view is complete?
by Douglas Stockwell in 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

IOS-how to determine carrier name of phone numbers and last call charge for outgoing call in iPhone
by ZsA in Mobile Programming

can anyone please tell me how to find out last call charge of outgoing call and carrier name of outgoing call phone number.is there any API for getting the details of carrier name and call cost details in iPhone.

Program Crashes on call to ExecWB in call to Internet Explorer ActiveX Control
by Gianluca Riccardi in 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

jQuery ajax call not returning 'data' to redirected page on success call
by FuzzyHornet in 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();

open a new window of view when call controller from Jquery Ajax post call
by Pat in 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


Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .