|
hello sir,
plz tell me how to integrate a payement gateway from payapl in my application.
actually i make e-commerce application in this user can pucrchase and sell
so sir how to integrate payment gateway from paypal.
plz specify in one by one steps.
im very thankful to u
|
|
|
|
|
|
Hi all,
I am getting this nasty error when i display a huge amount of data on my web page.Some times i get this error on hitting the search button and some times when i export the grid to excel.
The only solution i got is to reset the IIS using
iisreset
Is there any other programmatic solution for this problem.Also i cant do paging as the client wishes to see all the data at once.
Any help would be appreciated.
When you fail to plan, you are planning to fail.
|
|
|
|
|
www.Developerof.NET wrote: when i display a huge amount of data on my web page.
How much data?
This is my suggestion, please don't try to display huge amount of data on web pages. I have faced several question in this forums itself that they want More than 10,000 Records to show in pages. But why ? Its seriously causes a performance issue. Please use Filter and search to minimize the records.
www.Developerof.NET wrote: The only solution i got is to reset the IIS using
iisreset
This is not a permanent solution .
www.Developerof.NET wrote: Is there any other programmatic solution for this problem.
please check those point that I have already discuss.
www.Developerof.NET wrote: Also i cant do paging as the client wishes to see all the data at once.
Some times it also depends of how much memory you have on server, Number of concurrent users, Session Data Size, Cache Data Size etc.
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
I am also getting this error. when restate IIS, then working but after some time getting this error.
and also I have no more data
|
|
|
|
|
hello sir,
I make one application of e-commerece i want to implement payment gateway im also use ur given code to chk credit card no. bt is not work i don't know how to run.and also i don't hvae any idea abt this plz also tell me abt database of payment which fields are taking plz specify.
im use 2.0 version in asp.net and c#........
plz specify whole steps...
i wantt urgently this code tell....
and also sepecify how toload assmbly and give refrence in visual studio for credit card validator.
|
|
|
|
|
Already Provided !!!
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
hello
i am having a dll (Hero.dll). i want to fatch his java script function on the click of link in my asp.net application.
how it will be posible.
Thanks
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
|
|
|
|
|
Yesterday there was a similar thread in CP. Please have a Look[^]
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
Thanks For Your Reply,
i am having dll. in this dll some file of java script and .cs. in the java script file i am having a function showdailog().
now i m adding this dll in my project. and now how i can fatch this function on my button click.
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
|
|
|
|
|
Did you gone through the link that I have Provided to you ? Check the last post of that thread. I have given a link to how to do it .
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
Hi all,
I am doing validations for text box and i want to check that it allows to enter the alphabets,spaces.so for alphabets we write the exp as [a-zA-Z] but for space(space bar) how should i do it ?
Thanks in advance...
|
|
|
|
|
|
I have a treeview control in that I use as a navigation control within a master page. The nodes for this control are loaded from a database which contains the text and url of each like and the hierarchy treeview.
Is there any simple method of maintaining the expanded / collapsed state of each node as my application moves from page to page/postbacks? this is on a master page used by numerous content pages.
I am looking for something obvious that I might be missing.
Thanks
|
|
|
|
|
Try putting it in an updatepanel
|
|
|
|
|
thanks for ur help. i tried but its not working...
|
|
|
|
|
How to make Plugins in asp.net? Please Help me...
Thanks
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Piyush Vardhan Singh wrote: How to make Plugins in asp.net?
What kind of plugins do you want to developed ? Why in asp.net ?
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
i have 2-3 dll. so i want to deploy that dll when page is load like plugins
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Hi All..Need help in drag and drop... I have to drag an image from a div and drop in another div....
|
|
|
|
|
Hi,
I am having problem when i try to encrypt my connection strings in the web.config file. Error: An error occured loading a configuration file: Failed to map the path '/'
My connection strings as below:
<connectionStrings>
<add name="Database_MARISConnectionString" connectionString="Data Source=MEXTERMSC;Initial Catalog=Database_MARIS;User ID=test;Password=test1234"
providerName="System.Data.SqlClient" />
</connectionStrings>
My code for encrypt and decrypt connectionstrings:
Imports System.Configuration
Imports System.Web.Security
Imports System.Web.Configuration
Imports Msecurity
Partial Class mARIS_Default3
Inherits System.Web.UI.Page
Public tmprptno As String
Protected Sub page_load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
End Sub
Private provider As String = "RSAProtectedConfigurationProvider"
Private section As String = "connectionStrings"
Protected Sub btnEncrypt_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnEncrypt.Click
Try
Dim conf As Configuration = WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath)
Dim confStrSect As ConfigurationSection = conf.GetSection(section)
If Not confStrSect Is Nothing Then
confStrSect.SectionInformation.ProtectSection(provider)
conf.Save()
End If
'the encrypted section is automatically decrypted!!
Response.Write("Configuration Section " & " <b>" & WebConfigurationManager.ConnectionStrings("Database_MARISConnectionString").ConnectionString & "</b>" & " is automatically decrypted")
Catch ex As Exception
UpdateEvent("Configuration Manager:Encrypt:" & ex.Message)
ex = Nothing
End Try
End Sub
Protected Sub btnDecrypt_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnDecrypt.Click
Try
Dim conf As Configuration = WebConfigurationManager.OpenWebConfiguration(Request.ApplicationPath)
Dim confStrSect As ConfigurationSection = conf.GetSection(section)
If Not confStrSect Is Nothing AndAlso confStrSect.SectionInformation.IsProtected Then
confStrSect.SectionInformation.UnprotectSection()
conf.Save()
End If
Catch ex As Exception
UpdateEvent("Configuration Manager:Decrypt:" & ex.Message)
ex = Nothing
End Try
End Sub
End Class
The encrypt and decrypt code i get from Programmatically Encrypt and Decrypt Configuration Sections in web.config using ASP.NET 2.0 & ASP.NET 3.5[^]">
|
|
|
|
|
Hey guys,
As the title says, how do I read a file name located in a specific folder into a C# application.
Basically someone will be downloading a file from a website, once the file is downloaded to a particular folder (lets say /VisualStudio2008/Projects/MyProject/bin/Debug/TheDownloadedFile.csv)
then I need to have the name of the file read into my app?
To get to that particular folder, I'm doing system.AppDomain.CurrentDomain.BaseDirectory to get to the actual directory where the file is downloaded to, how to I grab the name of the file and extension from there. I guess the extension could be hard coded once the name of the file is detected and read into the program becaseue it will always be a csv file.
Can someone please help.
Thanks
Tina
|
|
|
|
|
Just an FYI, I tried the GetFiles mehtod of the Directory class, it seems to be working fine for now.
Tina
|
|
|
|
|
Hi All,
I have a muti-select listbox on my web form. When you scroll down to select items and SelectIndexChanged event fires, the postback brings the listbox back to the top of the screen. The item is still selected, but you have to scroll down to see it. How do I get the listbox to show one of the currently selected items.
Below is the my code..
aspx page
]]>
<asp:panel id="PanelContent5" runat="server" skinid="cpanelcontent" width="99.7%" xmlns:asp="#unknown">
<asp:updatepanel id="updpanelComparisonHospital" runat="server" updatemode="Conditional">
<triggers><asp:asyncpostbacktrigger controlid="cmdCustomList">
<contenttemplate>
<asp:listbox id="cmdCustomList" runat="server" selectionmode="Multiple" height="70px">
AutoPostBack="true" Width="150px" OnSelectedIndexChanged="cmdCustomList_SelectedInde xChanged">
client script
fuction CustomSelect()
{
Var SMIndex = document.getElementById('ctl00_ContentPlaceHolder1 _cmdCustomList');
for(var index = 0; index < SMIndex.options.length; index++)
{
if (SMIndex.options[index].selected) {
SMIndex.options[index].selected = true;
}
}
}
Code behind
protected void cmdCustomList_SelectedIndexChanged(object sender, EventArgs e)
int cntSelected = 0;
string scriptBlock = "CustomSelect();";
try
{
if (cmdCustomList.SelectedIndex > -1)
{
for (int indx = 0; indx<cmdcustomlist.items.count;>{
if (cmdCustomList.Items[indx].Selected == true)
{
values = values + "," + cmdCustomList.Items[indx].Value;
cntSelected++;
}
}
Session["lstCompHosp"] = values;
if (chkComparisonExcludeOnly.Checked == false)
{
if (cntSelected == cmdCustomList.Items.Count)
scriptBlock = "cmdAllAvailHosp();" // Another Client side function
}
updpanelComparisonHospital.Update();
ScriptManager.RegisterStartupScript(this, typeof(DefaultView), "cmdCustom", scriptBlock, true);
}
}
catch (Exception ex)
{
throw new Exception(ex.Message, ex);
}
}
Would you please give some directions.
Thanks
Rao
Thanks & Regards
Rao
|
|
|
|
|