Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
PageMethod(tru)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kkostriouk...@rogers.com  
View profile  
 More options Mar 27 2007, 1:09 pm
From: kkostriouk...@rogers.com
Date: Tue, 27 Mar 2007 10:09:12 -0700
Local: Tues, Mar 27 2007 1:09 pm
Subject: PageMethod(tru)
Hi,
I am supporting a project which is using WebMethods.

The code is very simple:
default.aspx web form has 2 methods:

[PageMethod(true)]
  protected void SearchCompany()
  {
    .....some code here
  }

[PageMethod]
  protected void SearchThirdPartyCompany([ParamRequired]
[ParamName("CompanyID")] long companyID)
  {
    .....some code here
  }

There is a web user control on this page with several links.
- One link is using url to redirect to SearchThirdPartyCompany method.
- Other links are posting back the page (which I expected to go to
SearchCompany method by default).

Everything is working fine (means SearchCompany method is executed)
before the link with the url to SearchThirdPartyCompany is used. After
that I never was able to get to SearchCompany default method - it
always redirects to SearchThirdPartyCompany.

I'll be very thankful if you can give me an idea of what I am doing
worng and how that can be fixed.

Regards,
Katerina


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabrice Marguerie  
View profile  
 More options Mar 28 2007, 5:34 pm
From: "Fabrice Marguerie" <fabrice.margue...@gmail.com>
Date: Wed, 28 Mar 2007 21:34:43 -0000
Local: Wed, Mar 28 2007 5:34 pm
Subject: Re: PageMethod(tru)
Hello Katerina,

I'm not sure what your code looks like. Could you show us how the
NavigateUrl property of the links on the User Control are obtained? I
would then be able to try to reproduce your situation.
If you have a code sample that reproduces the problem, please send it
to me. That would be even better.

Regards,
Fabrice

On Mar 27, 7:09 pm, kkostriouk...@rogers.com wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fabrice Marguerie  
View profile  
 More options Apr 3 2007, 8:33 am
From: "Fabrice Marguerie" <fabrice.margue...@gmail.com>
Date: Tue, 03 Apr 2007 05:33:26 -0700
Local: Tues, Apr 3 2007 8:33 am
Subject: Re: PageMethod(tru)
Katerina,

I've been able to reproduce the scenario you describe and I identified
the problem. I have the pleasure to announce that this issue has been
fixed in the new release available today.
Could you give it a try and let me know if your problem is solved?

Regards,
Fabrice


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »