|
Puja,
if you need to call link button click event, create link on page load.
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
Hello everyone,
My question is related to ASP classic, not ASP.Net, my question is -- whether it is good code to judge that, if a session variable is "" (Empty String), then I treat session as expired? Like this,
if session("timeToken") = "" then
thanks in advance,
George
|
|
|
|
|
George_George wrote: My question is related to ASP classic, not ASP.Net
But George this is ASP.Net Forum.
|
|
|
|
|
But Abhijit where to ask?
|
|
|
|
|
The web development forum.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Going there, thanks!
regards,
George
|
|
|
|
|
When session expires every session object will be set to "null" .Please compare with null instead of empty string. If you want to compare with empty string then convert session variable into string format.
modified on Friday, June 5, 2009 5:48 AM
|
|
|
|
|
You are an idiot. Try reading the question before answering it.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
What is the issue in my code and differences compared with my code?
regards,
George
|
|
|
|
|
i am trying to display the leave allotted for a permanent employee but since in the table there are three permanent employees records its showing the type of leave three times what should i do
|
|
|
|
|
Mathew P V wrote: i am trying to display the leave allotted for a permanent employee but since in the table there are three permanent employees records its showing the type of leave three times what should i do
First of all this is ASP.NET Forum. Second thing I am not able to understand your problem. Please put your query in DB Forum with proper details.
|
|
|
|
|
I am having some RequirefFieldValidators on the page and also a modal popup extender.
There is also button on the page.
Since,I have set the TargetControlId of modal popup to the button's id,it is doing validation and showing the popup at the same time.
I want that on the click of the button,it should first check the validations and only after validating, it should show the modal popup.But this whole thing is to be done on client side only.Can anybody please give some suggestions regarding this.
Thanks.
|
|
|
|
|
Hi Guys,
Im having trouble referencing a public namespace from a different form in asp.net.This below is the namespace.
Imports Microsoft.VisualBasic
Imports System.Data.SqlClient
Imports System.Web.Configuration
Imports System.IO
Imports System.Text
Imports System.Security.Cryptography
Namespace MySMS
Public Interface ICrypto
Function BlockSize() As Integer
Function KeySize() As Integer
Function Encrypt(ByVal data As String) As String
Function Decrypt(ByVal data As String) As String
End Interface
Public Class CryptoFactory
Public Function MakeCryptographer(ByVal type As String) As ICrypto
Select Case type.ToLower
Case "des"
'Return New DES()
Case "tripledes"
'Return New TripleDES()
Case "rijndael"
Return New Rijndael()
Case Else
'Return New TripleDES()
End Select
End Function
End Class
End Namespace
ive tried:
imports MySMS in the form im using but its not referencing anything..Any one got an idea on why its not working?
Thanks in advance.
|
|
|
|
|
Thanks people.
I found the problem.Compatibility issues with visual studio 2008 and visual studio 2005.It works in 2005.
Regards
|
|
|
|
|
Hi All,
I've a site host in a server, and working fine.
What I want to do now is, start a win process (.exe) on the same machine through the ASP site. What's the best way to that.
I think of this simple start a process using System.Diagnostics.ProcessStartInfo. Is that safe, what your thoughts of that.
Thanks a lot
I appreciate your help all the time...
CodingLover
|
|
|
|
|
CodingLover wrote: What I want to do now is, start a win process (.exe) on the same machine through the ASP site. What's the best way to that.
Does your process will start for single time or it will execute based on user request?
CodingLover wrote: I think of this simple start a process using System.Diagnostics.ProcessStartInfo.
Yes, you can Execute Process on your Server using System.Diagnostics.Process.
CodingLover wrote: Is that safe, what your thoughts of that.
That depends on your requirements. Which process to start? How many times will it execute?
You should also need to give the Permission to execute the file. It will working fine from VS, but while you deploy it on Web server you need to give the permission.
|
|
|
|
|
Thanks for the comment.
Actually process start on user request. There is a check box in one of my ASP page. Once user check it process is started, and on un-check process want to kill.
I've try the way I say in my first post, after hosting the site. Process is started, but under NETWORK SERVICE user name. And also I cannot see the window as well. (I just run the command prompt, a simple server application).
But if I test on VS, locally in it works fine. I can see the application window and so on.
What should I do to solve that?
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Hi
Is it possible to draw a diagonal(line) in a panel control in asp.net.If possible please give references
Thanks
Denny
|
|
|
|
|
You can't drawn any sort of lines, not without SVG. You can create lines with css, but they have to be square.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Hi,
We are a small company. We are working on social networking site. In this i have the functionality to show the advertisement on the site. I'm new to this domain. I have the following questions.
1) How to pull the ads and show to the site based on the user viewing content?
2) How to keep track the user impression on the ads?
3) Is there any other third party tools available? I have gone through the Google Ad Sense. Still looking for some other aspects.
Any reference link or ideas are welcome.
I hope you people help me out in this problem.
|
|
|
|
|
Member 2398312 wrote: We are working on social networking site.
Gee - you're not late to the party at all.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Sending email using ASP.Net with C#.Net
|
|
|
|
|
You are a retard. If you typed that into google, you'd get your answer. Here, it does not qualify as a question, and it tells us you are probably too stupid to understand the answer.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Mehdi Shafiee wrote: Sending email using ASP.Net with C#.Net
Check this
|
|
|
|
|
I understood what has happened. You had Internet Explorer window with your favorite search engine open in one window. In another window, you had CodeProject new message page open.
Either the windows got swapped because of window.onLoad scripts in either of the website or because of advanced Friday syndrome, you happened to paste the query over here. Am I right?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|