Hallo people...
I desperatly need help with one problem...
I've got this .net web application that I need to pass some parameters
from, to a payment form page some other place. My problem is that I've
got this control, which contains some input fields and some pictures,
I use this control in an aspx page with a form around it. When I post
the form to a payment page, asp.net turns it from [parametername] to
[control name]_[parametername]. I only want it to pass
[parametername]. Is there any solutions to this? I'm sorry because of
my english, but please ask me if there is something that you guys
don't understand.
Thanks guys
Miroslav Ostojic 3 1756
How are you posting to the payment page? Do you mean that you're
redirecting to the payment page? Though it is possible to post an ASP.Net
form to a different page, it's not very practical, so I assume you're
actually posting back to your own page. Can you give some more information
about how you're passing the value from the original form to the payment
page?
DalePres
MCAD, MCDBA, MCSE
"Miroslav Ostojic" <ap********@hot mail.com> wrote in message
news:e8******** *************** ***@posting.goo gle.com... Hallo people...
I desperatly need help with one problem... I've got this .net web application that I need to pass some parameters from, to a payment form page some other place. My problem is that I've got this control, which contains some input fields and some pictures, I use this control in an aspx page with a form around it. When I post the form to a payment page, asp.net turns it from [parametername] to [control name]_[parametername]. I only want it to pass [parametername]. Is there any solutions to this? I'm sorry because of my english, but please ask me if there is something that you guys don't understand.
Thanks guys Miroslav Ostojic
I would think that the easiest way to accomplish this would be to use the
HttpWebRequest object to build the request that you're making manually. The
payload for a request that emulates a form POST is a set of URL-encoded
name/value pairs in the form 'parametername= paramatervalue& ...'. With this
approach, you have full control over the parameters names that are being
created and passed.
Hope this helps.
"Miroslav Ostojic" wrote: Hallo people...
I desperatly need help with one problem... I've got this .net web application that I need to pass some parameters from, to a payment form page some other place. My problem is that I've got this control, which contains some input fields and some pictures, I use this control in an aspx page with a form around it. When I post the form to a payment page, asp.net turns it from [parametername] to [control name]_[parametername]. I only want it to pass [parametername]. Is there any solutions to this? I'm sorry because of my english, but please ask me if there is something that you guys don't understand.
Thanks guys Miroslav Ostojic
Do you know where I can find a good sample of code that is using HttpWebRequest?
But please, do have in mind that I'm just newbee in .NET... :)
It could help me solve one of my big problems...
"=?Utf-8?B?QnJ1Y2UgSm9 obnNvbiBbQyMgTV ZQXQ==?=" <br***@spammeno t.objectsharp.c om> wrote in message news:<22******* *************** ************@mi crosoft.com>... I would think that the easiest way to accomplish this would be to use the HttpWebRequest object to build the request that you're making manually. The payload for a request that emulates a form POST is a set of URL-encoded name/value pairs in the form 'parametername= paramatervalue& ...'. With this approach, you have full control over the parameters names that are being created and passed.
Hope this helps.
"Miroslav Ostojic" wrote:
Hallo people...
I desperatly need help with one problem... I've got this .net web application that I need to pass some parameters from, to a payment form page some other place. My problem is that I've got this control, which contains some input fields and some pictures, I use this control in an aspx page with a form around it. When I post the form to a payment page, asp.net turns it from [parametername] to [control name]_[parametername]. I only want it to pass [parametername]. Is there any solutions to this? I'm sorry because of my english, but please ask me if there is something that you guys don't understand.
Thanks guys Miroslav Ostojic This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: zlatko |
last post by:
There is a form in an Access Project (.adp, Access front end with SQL
Server) for entering data into a table for temporary storing. Then, by
clicking a botton, several action stored procedures (update, append) should
be activated in order to transfer data to other tables.
I tried to avoid any coding in VB, as I am not a professional, but I...
|
by: Pavils Jurjans |
last post by:
Hallo,
I have been programming for restricted environments where Internet Explorer
is a standard, so I haven't stumbled upon this problem until now, when I
need to write a DOM-compatible code.
The question is about best practices for passing parameters to an event
function.
I have, say, the following HTML:
|
by: domeceo |
last post by:
can anyone tell me why I cannot pass values in a setTimeout function
whenever I use this function it says "menu is undefined" after th
alert.
function imgOff(menu, num) {
if (document.images) {
document.images.src = eval("mt" +menu+ ".src")
}
alert("imgOff_hidemenu");
hideMenu=setTimeout('Hide(menu,num)',500);
|
by: Joel |
last post by:
Hi all,
Forgive me if I've expressed the subject line ill.
What I'm trying to do is to call a c++ function given the following:
a. A function name. This would be used to fetch a list of function
descriptors for the overloaded functions of that name. A function
descriptor would contain the address of the function to be called, and
a...
|
by: Harolds |
last post by:
The code below worked in VS 2003 & dotnet framework 1.1 but now in VS 2005
the pmID is evaluated to "" instead of what the value is set to:
....
xmlItems.Document = pmXML
// Add the pmID parameter to the XSLT stylesheet
XsltArgumentList xsltArgList = new XsltArgumentList();
xsltArgList.AddParam("pmID", "", pmID);...
| |
by: Mike MacSween |
last post by:
Just spent a happy 10 mins trying to understand a function I wrote sometime
ago.
Then remembered that arguments are passed by reference, by default.
Does the fact that this slowed me down indicate:
a) That I don't know enough
b) Passing arguments by ref is bad
|
by: Charles Sullivan |
last post by:
The library function 'qsort' is declared thus:
void qsort(void *base, size_t nmemb, size_t size,
int(*compar)(const void *, const void *));
If in my code I write:
int cmp_fcn(...);
int (*fcmp)() = &cmp_fcn;
qsort(..., fcmp);
then everything works. But if instead I code qsort as:
|
by: Mike Dinnis |
last post by:
Hi,
I've been working through a number of turorials to try to learn more about
retrieving data from a SQL database. I think i've mastered techniques where
i create a sql string in the page and pass it to the Db and retrieveing data
from a stored procedure, but I can't get the hang of parameters.
I have a method where I can get the...
|
by: csmith8933 |
last post by:
How do I write a function where the number of parameters it takes
varies?
This is what I have but it doesnt work.
// function prototype
void functionThree(int num1=1, int num2=2, int num3=3);
int main()
{
|
by: ajaymohank |
last post by:
hello everyone..... i am ajay and i am new to php. in my project i have an option to invoke a bat file by passing parrameters and to diplay the result.
i tried this code but my page got hung or display nothing...
exec("c:\collabland\collabland.bat $distcode $tlkcode $villacod $block $svno");
here by passing this parameters to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |