|
Hi
how can I implement in website online payment using PayPal.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
its better u ask this question in paypal developers forums.
|
|
|
|
|
This is an asp.net forum try here:
http://www.google.co.uk/search?hl=en&q=asp.net+paypal&btnG=Google+Search&meta=
We are not a Code Charity
|
|
|
|
|
Goto www.paypal.com website and get a account as a merchant account and there itself they are providing Buttons which redirects your customers to their page.Its very easy to incorporate ur page with them if u know HTML.
Your site (while online payment)
|
|
v
paypal.com(payment happens here)
|
|
v
your customer would be redirected to
your site after the payment has been made.
|
|
|
|
|
Hi All!
Somebody Please Help/Guide me to complete my module.
Tools Used
-----------
Asp.Net Server Control (Asp.Net 3.5)
Windows XP
Code Behind is visual basic
My Module
----------
I want to create a Button control. When it is clicked a function named GoNext() will be called and the definition of the GoNext() will be given in the code behind of the EndUser WebForm(i.e where the control is going to be used).
My Source Code is:
------------------
Imports System
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Text
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls
Namespace SfNextCmd
<{0}:sfnextcmd runat="server">")> _
Public MustInherit Class SfNextCmd
Inherits Button
Public MustOverride Function GoNext()
Private Sub SfNextCmd_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click
GoNext()
End Sub
End Class
End Namespace
Also if it is possible thro SilverLight Please send me the source code.
By Vijay
|
|
|
|
|
VijaySofist wrote: When it is clicked a function named GoNext() will be called and the definition of the GoNext() will be given in the code behind of the EndUser WebForm
Use Events. Hook the event from your code behind file, call this event when the button is clicked.
VijaySofist wrote: Public MustInherit Class SfNextCmd
This won't work until you create a concrete class for this abstract class. I think you can remove the mustinherit from here.
|
|
|
|
|
Hi
I am wondering what the best way is to access jscript from within an ascx control?
If you have a button or another object; then you can simply use one of the pre - existing attributes such as for instance "onclientclick" to access your script.
Another way would be to fire another controls event that we use as a caller - object. Maybe change the style of the control to "style = "display:none" or something like that, then just call its event to trigger execution.
I am uncertain as to how this method works. The ascx is part of html page so maybe because the ascx is parsed in the html - parent; one could reference that page and point to the script that contains the code that we wish to execute.
If someone could please give me an example of how this would work; it would be greatly appreciated.
Thanking you in advance
ChristiaanS
|
|
|
|
|
There is no such thing as an ascx on the client side, it's code is just part of the html that's generated. So, any script that is included in the page, you can call from the control.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I have created a web application and have included the web.config settings pertaining to custom errors. I have turned it on and specified mapping of error pages to some HTML status codes. It works fine when I trigger the error from Visual Studio 2008, however, when deployed to an IIS 6.0 server, I tried to trigger the same errors but I got the error pages that belonged to IIS 6.0 error pages instead. I noticed some settings when I used the inetmgr to look at how I can configure IIS 6.0 not to use their custom error pages for my web application and use mine instead?
|
|
|
|
|
hi frnds,
I am seeing unusual memory spikes in my application. When tried to debug its due to one page where memory usage increases drastically on selection change of a drop down.
While trying debugging I could debug till Page_Prerender. But memory usage starts jumping after Page_Prerender.
there is no Page_Unload method called. what else could be running after that eating all my memory??
any thoughts?
Keep DotNetting!!
GeekFromIndia
|
|
|
|
|
The actual HTML is generated after prerender.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
If we need to increase the height of the dropdown list first set the font size.
ex: say 'ddlTest' is the id of the control then
ddlTest.Font.size = 20;
ddlTest.Height = 600;
smile
|
|
|
|
|
Hi,
I apologize if this is a stupid question, I'm new to asp.net. Is this code not allowed?
I don't get an error, but it seems that the code that i have in the external vb file which is inside a Page_Load sub does not execute.
Any advise would be greatly appreciated.
thanks in advance -> Frank
|
|
|
|
|
No, you cannot. The script tag is for client side script, it has nothing to do with what runs on the server. I recommend doing some reading on HTML, that's all this is.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks for the reply. That was what I suspected, just needed confirmation. However, the script tag is not just for client side scripts, it can be used to run scripts on the server via the "runat" attribute. this is what caused my confusion since I have only used it to run client side scripts in the past, but I've seen some asp.net practices that use it to run some event handling scripts on the server side. In fact, this whole thing started when I was trying to move a script that handles the Page_Load event from within the page to an external file.
thanks again.
|
|
|
|
|
I'm in the process of converting a web application from .NET 1.1 to 2.0 using VS 2005. The web app is installed using a Setup & Deployment project, which works fine. However, when the application is uninstalled the virtual directory is not deleted, only the physical directory. The virtual directory appears in IIS, but an error icon is displayed next to it when an attempt is made to view the properties. Apparently, because a physical directory no longer exists. I then have to manually delete the virtual directory. This is not an issue with the .NET 1.1 based program.
I've found a few message posts on various websites about this issue, but there are no solutions.
Any ideas?
Thanks, Paul Mac
PMAC
|
|
|
|
|
Hi,
Can anyone tell me how can I show label inside a RadiobuttonList . I want to show some message next to each option.
Example: 0 With login
Choose this opton if you do ..
0 Without Login
Choose this option if you do...
Continue
I can do this using Radiobutton then label then Radiobutton.... but I have to validate at server side... I want to validate at client...That's why I wanted to use previous one "RadiobuttonList".
Thanks inadvance.
|
|
|
|
|
You're going to have to bind to a set of strings that render the way you want, you can't use the list control AND insert something between each line. You COULD use a repeater to define a table that looks like this, that may be your best bet.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks for your reply.
I guess it will be very complicated to user repeater to make what I want. But thanks for your reply.
|
|
|
|
|
It would be less complex than trying to hack a radio button list, but a lot more so than just using a radiobuttonlist, I agree.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Have WebParts essentially replaced user controls in .NET applications?
|
|
|
|
|
No.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello,
I am developing a C# application, using Visual Studio 2005, and .net 3.5 This application compiles asp.net webs an install them in IIS, and it works, at least with the small webs, but when I use the real web, no a test, the the asp compiler throught ClientBuildManager class returns this:
ERROR:
The type "ApplicationName.framework.controls.TreeViewControl2" could not be load
STACK TRACE:
bei System.Web.Compilation.WebDirectoryBatchCompiler.Process()
bei System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors)
bei System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors)
bei System.Web.Compilation.BuildManager.PrecompileWebDirectoriesRecursive(VirtualDirectory vdir, Boolean topLevel)
bei System.Web.Compilation.BuildManager.PrecompileWebDirectoriesRecursive(VirtualDirectory vdir, Boolean topLevel)
bei System.Web.Compilation.BuildManager.PrecompileWebDirectoriesRecursive(VirtualDirectory vdir, Boolean topLevel)
bei System.Web.Compilation.BuildManager.PrecompileWebDirectoriesRecursive(VirtualDirectory vdir, Boolean topLevel)
bei System.Web.Compilation.BuildManager.PrecompileAppInternal(VirtualPath startingVirtualDir)
bei System.Web.Compilation.BuildManager.PrecompileApp(VirtualPath startingVirtualDir)
bei System.Web.Compilation.BuildManager.PrecompileApp(ClientBuildManagerCallback callback)
bei System.Web.Compilation.BuildManagerHost.PrecompileApp(ClientBuildManagerCallback callback)
bei System.Web.Compilation.BuildManagerHost.PrecompileApp(ClientBuildManagerCallback callback)
bei System.Web.Compilation.ClientBuildManager.PrecompileApplication(ClientBuildManagerCallback callback, Boolean forceCleanBuild)
bei System.Web.Compilation.ClientBuildManager.PrecompileApplication(ClientBuildManagerCallback callback)
bei Database_Managing_Tool.WebCompiler.Compile() in C:\Dokumente und Einstellungen\MKnoppik\Desktop\Database Managing Tool\Database Managing Tool\WebCompiler.cs:Line 113.
bei Database_Managing_Tool.WebCompiler.Btn_Compile_Click(Object sender, EventArgs e) in C:\Dokumente und Einstellungen\MKnoppik\Desktop\Database Managing Tool\Database Managing Tool\WebCompiler.cs:Line 71.
I've founded this article en MS Support http://support.microsoft.com/kb/940700/en-us/ and talks about a hotfix impossible to download, I've called to MS like the website advise and they told me search in forums ...
Do someone knows how can I fix this error?
|
|
|
|
|
Hi everyone,
I need to save and retrieve images from mysql database using asp.net with c#. Please help me with some examples.
Thanks in Advance,
J. Mohan.
J. Mohan
|
|
|
|