|
Just Set the Display="Dynamic" for both the validation control By default it is static. You have to change to to dynamic . You can change i from code behind or from Validation control property itself.
cheers,
Abhijit
CodeProject.Com MVP
|
|
|
|
|
duh thanks alot guys!
|
|
|
|
|
hai,
i am use asp.net.i host my website project in online.but it work slow.
how to reduce loading time in website ? what can i do ? if you know thw answer replay to me............
thank you..
|
|
|
|
|
|
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[^]">
|
|
|
|