|
I gave permission to NETWORK SERVICE. it solved the problem.
|
|
|
|
|
in asp when i delete an image in folder it cannot deleted bcs ,When i upload an image in database, it save with extension .jpg and in folder it save with extension .JPEG. At the deletion time the database image not compact with folder image.that is why the image not deleted.i think
so I want to save image in database with extension .JPEG. how can i do this.If any one know this pls tell me.I am new in asp
|
|
|
|
|
Might be you haven't close the FileSystemObjects properly... Could you please code your Uploading code??
|
|
|
|
|
You've posted in the wrong forum then. Try the Web Development forum.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
When you have a disclaimer indicating the problem is not ASP.NET, why did you put it in ASP.NET forum. You should have posted this in Web Development forum instead.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi, I have a dropdownlist and a Imagebutton in my page contain reset image.
The dropdownlist contains value one,two,three,four,five
When i come to this page the dropdownlist contains "three" as selected value. when i change the value in dropdown to "five", and then click on that imagebutton, need to reset the value from five to three. This all occur in javascript onluy. I want code for this in javascript......
can any one help on this?
G. Satish
|
|
|
|
|
Add a function to OnClientClient event of the ImageButton.
function changeIndex(){
document.getElementById('YOUR_DROPDOWN').selectedIndex = YOUR_INDEX;
}
|
|
|
|
|
no, First of all i need selected value of dropdown when page loaded
and then if i change the dropdown value, i have to know the changed value.
when i click on button, the first value is set again in dropdown list.
How can i catch the first value in dropdown when page loaded
G. Satish
|
|
|
|
|
Use onload event of the BODY tag.
|
|
|
|
|
Hi,
I created one Portal, i want to display current login member details.
Can any one help me?
|
|
|
|
|
Member 4755319 wrote: i want to display current login member details.
It depends on what method you are using for providing login.
|
|
|
|
|
Am using asp.net login controls for my page. Is it possible to find the user who closes the page without logout?
|
|
|
|
|
Member 4755319 wrote: Is it possible to find the user who closes the page without logout?
I don't think that. Because server won't get any notifications when a client browser closes. You can try hooking a JS script to the window close event which gives AJAX request to server and informing it about the event.
|
|
|
|
|
my commerce starter kit is locally running. but when i host that starter kit means it display an error "Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. so how to i rectify this problem... i change all the permission in my starter kit. but it doesnot run. please help to solve it
|
|
|
|
|
what happens if you try to add aspnet account and give this account the full rights.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
Hi all,
I am trying to convert a string to a formated date value.The format is "dd-mm-yyyy" I am trying this one
date.Parse(dt).ToString("dd-mm-yyyy")
If I supplie the value as 12/26/2007, it is ouputing the value as "26-00-07". What I am wrong here
Thanks in advance
Dana
|
|
|
|
|
Use "MM" instead of "mm". Capital "M" denotes month whereas small "m" denotes the minute.
|
|
|
|
|
Thank You Venaktesh
|
|
|
|
|
You are welcome.
But my name is "Venkatesh" not Venaktesh
|
|
|
|
|
hello frnds,
how can i check the "Every Visit To The Page". using the .Net
manually i do it by,
Internet Explorer ..> Tools ..> Internet Options..> Settings...>Every Visit to the page
thankx and regards
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
Hi!
I am trying to display alert from code behind.
below are my code description.
Dim strScript As String
strScript = "<script>"
strScript = strScript & "alert('please select a value');"
strScript = strScript & "</script>"
Page.ClientScript.RegisterStartupScript(Me.GetType, "ClientScript", strScript.ToString())
the alert gets displayed fine but everything in the main page disappears. could someone please help me .
thanks
|
|
|
|
|
Hi,
If you want to show alert messages on button click then in pageload event write
button1.attributes.add("onclick","return showalert()");
and in the aspx page write a javascript function to get the alert messages.
Reply me if it doesn't work for you.
Bhanu
|
|
|
|
|
the link button i have is in the datalist. so when i write above it doesn't fires in first click but it does fires if i click second time. below are my codes.
Private Sub dlParent_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataListCommandEventArgs) Handles dlParent.ItemCommand
If e.CommandName = "select" Then
Session("MenuId") = e.CommandArgument.ToString
End If
Dim menuHead As LinkButton = CType(e.Item.FindControl("lnkParent"), LinkButton)
If menuHead.Text = "Property View" Then
If Session("locationid") <> Nothing Then
Response.Redirect("PropertyDetail.aspx")
Else
menuHead.attributes.add("onclick","return displayalert()");---this doesnt work in first click
End If
ElseIf menuHead.Text = "Portfolio View" Then
Response.Redirect("PortfolioCapex.aspx")
End If
End Sub
|
|
|
|
|
Hi,
I'm getting date from SQL table, where it is saved as 7/31/2007 12:00:00 AM
I need to show this date as July, 31 2007 without the time.
is there any easy way to do that?
thanks
|
|
|
|
|
Usually its safest to use the ISO date standard, so yyyy-MM-dd. In your case, that would be 2007-31-07 and I'm pretty sure the 7 has to be preceded by a 0 for it to work properly, let alone for any single-digit number in the date.
www.socoder.net
|
|
|
|