|
I think so
All the user have all the permissions, i can delete an object (picture) but i cant write a new picture at the same place, the same case with folders.
I using the fileupload control and the command SaveAs..
Any suggest.
-- modified at 11:45 Thursday 16th November, 2006
keep Learning and you never will be out of date...
|
|
|
|
|
Sounds like a create permission problem on the server (if server is Win 2003 the user is NETWORK SERVICE by default). You also may want to set it to create one level down from you website's root. Something like "mywebsite/uploads" or something like that.
Right-click a folder where you want the account to have write permission, choose "Properties" and then Security tab, add the account into user account list, and then set proper permissions to the account.
You may also want to look at impersonation.
|
|
|
|
|
Standard question #2:
What error message do you get?
---
b { font-weight: normal; }
|
|
|
|
|
I follow the Edboe suggest and finally, right now im creating folders over the server site, Thanks guys
keep Learning and you never will be out of date...
|
|
|
|
|
I have...
-formA (web form) it contains a listbox and pop up button
-formB (pop up window from formA) using window.showModalDialog in a javascript within a "script" tag in form A.aspx file, it contains two text boxes and submit button
what i want is to take two value of text boxes in formB
and use them to add a new list item (the first formB textbox value is the value of the list item and the second formB textbox value is the listitem's text) in formA listbox
how can i implement that?
Thanx in advance
Best Regards
3ala2
|
|
|
|
|
could i ask you why you do not want to use a session variable ??
whats wrong with this !!!!
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
because many things are related together, if u have read the details you would know ...
In other scenarios i might
first, it's not in one form, it's 2 forms parent and pop up
second, i want to access if from javascript
third, to get highest performance u need to reduce the sessions in ur app
hope u got me
Best Regards
3ala2
|
|
|
|
|
just3ala2 wrote: first, it's not in one form, it's 2 forms parent and pop up
so what?? the popup could be any page with.aspx
just3ala2 wrote: third, to get highest performance u need to reduce the sessions in ur app
they are just 2 variables !!!
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
can u reach the variable from both forms??!
and if u think like this, 2 variable * 1,000 user = 2,000 session opened with the server, that would exhaust the server
so what about 10,000 user
what would happen?
anyway, i implemented it by myself without using sessions
if u need the code tell
Best Regards
3ala2
|
|
|
|
|
Put the values in an array and assign the array to window.returnValue, then close the window. The array becomes the return value of the showModalDialog call.
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
i have class in asp.net appication Like
Public Class AsyncTaskHandler
Implements IRequiresSessionState, IHttpAsyncHandler
Public Function BeginProcessRequest(ByVal context As HttpContext, ByVal cb As AsyncCallback, ByVal extraData As Object) As System.IAsyncResult
end function
end calass
when and how BeginProcessRequest is called
|
|
|
|
|
Hi,
I want to implement a DropDownList control in IE with the same features as the drop down lists seem to have in Mozilla. In IE I currently have a DropDownList of width 150px, but the text that is displayed in the drop down takes up more than 150px. I'd like to be able to have the list of choosable items to stretch to allow all text to be seen, but at the same time keeping the combo box itself to 150px width. This happens by default in Firefox, does anyone have any ideas how this is done in IE?
Thanks,
Stuart
|
|
|
|
|
how to avoid caching in show modal dialogue box?
sree
|
|
|
|
|
Hi,
In my website, I have used a Master Pages concept, wherein I have created a pop down menu in the master page and called various child pages in the Master's container.
One of the child pages have a following style applied at page level
<style type="text/css">
<!--
a:link{color:Blue;}
a:visited {color:Red;}
-->
</style>
Because of this whenever the user goes to this page, the Master page's menu Root options also change color to Red or Blue, depending on which was clicked earlier. When I saw the View Source of the whole page, it shows the menu rendered as Hyperlink.
How can we stop the menu options from changing colors ?
Pls help me.. Else I am gone
Omkar
|
|
|
|
|
Hi there..........
In ASP.NET 2003
I created one web page and i used inline codings in that with validation controls.
In local machine, it's working very fine. But if i uploaded in remote server, validation controls are not working....
So, i include this line in my page as :
</b>
and also i gave the specific location for the src in that. Now the validation working very fine, but the clicking event[ no other event ] can't generated.....
Please help me..........
Regards n Thanks n Advance
Sam.M
|
|
|
|
|
hello to everyone,
i want to upload only doc file.but i m unable to do dat.
can any body help me to solve dis problem.
thanx
rahul saini
|
|
|
|
|
Try using the FileUpload Control
and the command FileUpload1.PostedFile.SaveAs(SaveToAddress);
keep Learning and you never will be out of date...
|
|
|
|
|
a little comment:
you should check if a file was really sent before trying to save it
<br />
if(FileUpload1.PostedFile != null)<br />
{<br />
}<br />
have fun.
|
|
|
|
|
Dear Talkain,
thanx for ur comment, can u help me to sort out other problem.
please check my new post.
again thanx
rahul saini
|
|
|
|
|
DEAR Britney S. Morales
thanx,
for providing me solution of my problem.
Njoy
bye
again THANX.
rahul saini
|
|
|
|
|
Please check my new post,
thanx
rahul saini
|
|
|
|
|
hi,
i have one site which is in ASP. now in that site i have a link which will redirect to another ASP.Net site.
Now i want to open that ASP.Net site within a ASP site so how can solve this problem ?
I have put Iframe in ASP site but in that I have to specify height. But my ASP.Net page's size is not fixed it will vary as per my data as i have put dataGrid in ASP.Net site.
Please solve this..
|
|
|
|
|
Hi guys
i am developing one website and it is having mane forms. and all those forms have many textboxes. so after inserting data from textbox i want to make all text box clear. for that i dont want to write each and every textbox.text="" so if any one knows other solution please help
(
Regards,
DJ Rock
|
|
|
|
|
I'm not sure, but I think you should play around with viewstate. You can set EnableViewState property of your textboxes to false, or you can set this property to be false for whole page, if you don't need viewstate at all. Or you can override LoadViewState or SaveViewState methods of your Page class. Or you can simply go through all controls and if a control is type of TextBox set its text to ""
<br />
foreach(System.Web.UI.Control control in Page.Controls)<br />
{<br />
SetTextBoxesText(control);<br />
}<br />
<br />
public void SetTextBoxesText(System.Web.UI.Control control)<br />
{<br />
if (control.GetType() == "System.Web.UI.WebControls.TextBox")<br />
{<br />
((System.Web.UI.WebControls.TextBox)control).Text = "";<br />
}<br />
foreach (System.Web.UI.Control childControl in control.Controls)<br />
{<br />
SetTextBoxesText(childControl);<br />
}<br />
}
Pilo
|
|
|
|
|