|
hi,
I am using an html tag to display an image in my aspx file. But when I run my project, the image is not getting displayed. But if i navigate to a different page and then hit the back button, the image is getting displayed....
Can anyone help me???
|
|
|
|
|
Impossible to help based on this. If your img tag is pointing to the right location, then it will work. Are you using absolute, or virtual paths ?
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, am using the virtual path and the path is pointing to the right location....
|
|
|
|
|
If it's right, then it will work. Put in an absolute path and see what happens.
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.
|
|
|
|
|
some times it will not display images with source like "../../images/logo.jpg" but it will work with asp image.
Thanks & Regards,
Anil Chelasani
|
|
|
|
|
I gave the absolute path and even used the asp image button, but its still nt working...
|
|
|
|
|
Hi,
can you paste your code here. So that I can view and help you to solve your problem
Regards...
Vijay Jain
"One thing you can't recycle is wasted time."
|
|
|
|
|
hi....
here i have create a runtime link button.
but i can't get it's click event fired.
----------------------------------------
LinkButton lnk = new LinkButton();
lnk.Text = row1["FileName"].ToString();
lnk.ID = row1["FileName"].ToString();
lnk.Visible = true;
lnk.Click += new System.EventHandler(this.LinkButton_Click);
this.tdFile.Controls.Add(lnk);
here is the click event of link button which is not fired.......
protected void LinkButton_Click(object sender, EventArgs e)
{
//OnClick Event Handler for linkbutton
}
kindly help me to solve this issue.Thanks.
|
|
|
|
|
You need to add the button before the page load event if you want viewstate to be restored.
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.
|
|
|
|
|
THANKS A LOT.
I put my code in Page_Init and it works.
|
|
|
|
|
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
|
|
|
|