|
helllo,
how can i create a folder in the client side from server side and put in his content a folder named images that contain all images relative to a specific document.
i tried to make it shared and it was worked properly but the big problem is :
if any other user has access to the shared folder he can see all images.
How can i forbide the access of users to the shared folder, or is it any other solution to copy this files.
Can we an image or save it in the cache as an object.
regards
dghdfghdfghdfghdgh
|
|
|
|
|
.landscape
{
width:100%;
height:100%;
filter:progid:DXImageTransform.Microsoft.BasicImage(Rotation=3);
}
This is class of css file.
we have to be define this class at that div which we have require in landscape formate.
This code is use for landscape print when we click on form print button but it code is perform only for single page.
When we have two or more pages this code is never work properly.
Using this code the record is overflow.And when we click on print button we get one or more copies of one single page.
So we have to be require landscape print for one or more pages when we
Use window.print().
|
|
|
|
|
hi dear,
i have a small problem. how do we will send database to server through FTP. i.e directly that App_data send into our folder or Log file. I have .NET Hosting.
thank you
j somasekhar
|
|
|
|
|
somasekhara777 wrote: how do we will send database to server through FTP
You either detach the database from your local system then FTP the MDF and LDF files to the server, or you make a backup of the database on your local system and FTP the backup file to the server then restore it on the server.
somasekhara777 wrote: directly that App_data send into our folder or Log file
somasekhara777 wrote: I have .NET Hosting
You will need SQL Server hosting too.
|
|
|
|
|
ASALAMOALEKUM All, hope everyone is doing fine... code project is a good source to resolve problems and everytime i have believed this source it never disappointed me thats why i always feel free to post my problem here after trying hard to solve myself... thanks to team and all the membersss here..
current problem:-
Please if anyone has any good idea about my question please do guide me coz i have tried many ways to accomplish my task but time is running and my dead line date is very near and my task is still uncompleted!
I have to implement video conferencing in my web based project!
i am using asp.net along with c#.
in this regard if any one can guide me which API i should use, or any com component or ActiveX control pleaseeeeeee help me out... i am really helpless nowwww. few of com components i knew i have tried them but they are not working on web app.... please please reply and suggest any good tutorial in this regard.
thanks,
regards,
SANA
$@N@
|
|
|
|
|
If an ActiveX control is created in .Net and is used on a Asp .Net page does the client need to have the .Net framework installed in order for the control to work?
|
|
|
|
|
Yes, if the ActiveX based on .NET Framework.
you should use ATL if you want to clients access normal without .Net Framework
Glad to discuss with you and best wishes.
|
|
|
|
|
|
Hi i am doing an web application , in which i have to disable the back button using the C# code.
can you please help me??
else, can any one tell some coding in the asp side so that i can paste directly in the page??
|
|
|
|
|
You may have to solve this with some Javascript, so that you can trap the user when they press the Backspace Key on the keyboard.
function fOnKeypress() {
try {
var charCode = window.event.keyCode;
if (charCode == 13) {
window.event.keyCode= 9;
}
}
catch (er) {
}
}
You will need to load this in the BODY OnLoad event. I'm usign something like this:
var objForm= document.getElementById("aspnetForm");
objForm.onkeydown=fOnKeypress;
|
|
|
|
|
Very easy to enable or disable a button through C#. If your page has the following button:
<asp:Button ID="Button1" runat="server" Text="Click me" onclick="Button1_Click" />
Then you can enable/disable it in your code-behind file through setting its 'enabled' property:
Button1.Enabled = false;
or
Button1.Enabled = true
Hope this helps!
Frauke
Frauke Nonnenmacher
Creative Cats
|
|
|
|
|
Hope you are talking about the browser back button.
You cannot disable the back button if the browser instance is opened and your URL is typed in the address bar.
However you have control over the window which you are opening from your code.
So the only way to solve your problem is to have a default startup page in which you have to do a opendialog for your homepage and pass the arguments disbaling the menu bars and titlebars.
|
|
|
|
|
mr sundar,
its ok , i understand and know what you are telling.
thanks for replying.
but the scenario here is,
i am calling this page from a third party say like pay pal(after success full trans). in this case how can i give those things like disabling browsing button and all, can u please rpely
|
|
|
|
|
Sorry, i am not getting you.
Can you paste the code here ?
|
|
|
|
|
In my form, I have Update Panels and also Update Progress Controls. I want the UpdateProgress controls should not fire and shows the text "Loading..." when the SelectedIndex is -1. Is it possible to do so? If so, how? Anybody can provide any help on this? Thanks in advance.
Following is the code I have written:
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:DropDownList ID="UserTypeList" runat="server" AppendDataBoundItems="true"
Width="155px">
<asp:ListItem Selected="True" Text="--Please Select--" Value="-1"></asp:ListItem>
</asp:DropDownList>
<asp:UpdateProgress ID="UpdateProgress1" AssociatedUpdatePanelID="UpdatePanel1" runat="server" >
<ProgressTemplate><span class="ProgressBar" >
Loading...</span>
</ProgressTemplate>
</asp:UpdateProgress>
</ContentTemplate>
</asp:UpdatePanel>
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
It seems NO, you can set 'Loading' text to 'UpdateProgress'.
it will display 'Loading' when the page is loading...
check out this
|
|
|
|
|
Give an id for the span say "spanProgress"
Add handlers for beginrequest and endrequest
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(onBeginRequest);
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(onEndRequest);
function onBeginRequest()
{
//add your logic for checking SelectedIndex == -1 and then hide the span
//by setting document.getElementById("spanProgress").style.display="none";
}
function onEndRequest()
{
//enable the span here
}
|
|
|
|
|
Could someone help me with the following issue:
I'am a neewby with asp.net and trying to create a webapplication with a
connection to a database. the application contains a gridview with 2 columns:
lets's say "datafile" and "size". i want to change the column "size" with a numericupdownextender
inside the grid and of course the data in the "size" column is bind with the database. when the user
increases the value in the grid with the numericupdownextender i want only those records to be put inside a textfile and mail it. i hope this all is clear. the mailing part i understand, but the other things not. i hope someone can help me with a simple example.
thanks
modified on Tuesday, January 27, 2009 10:42 AM
|
|
|
|
|
bryanvanritter wrote: i hope someone can help me with a simple example. you can e-mail me at: b.vanritter@erasmusmc.nl
www.RentACoder.com
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
|
Atleast shows us what you have done till now...and come up with the points where you are facing difficulty.
It is really rude to give the requirements and expect someone to code for you.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
i don't think it is rude, but i don't even want to go into discussion with someone who makes those remarks. if you have a problem and you don't know the answer it is quite common to communicate in a civil way about this. why else do you buy books with examples and does the internet exists with loads of comments and examples about things. isn't that the way you began when you first started programming. so please don't go this way and act like an adult or else don't reply on this post.
|
|
|
|
|
i am reading a line from text file using system.io.streamreader.
now after closing that object, i want to delete the same line using something.
what control i need to use so that i can read that and after delete the line?
|
|
|
|
|
StreamWriter
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hi every body
i`ve Asp.Net project built in vs 2005 and ado.net
now i update this project to vs 2008 and use linq in it
i`ve built linq to sql class and get all tables and the procedures in it
but when i use any procedures in any page i found all the variables in this page doesn`t have any value and give me "property evaluation failed"
Sesseions, Viewstate, Variables
all of this give me the same error "Property evaluation failed"
plz any body can give me the solution ??
|
|
|
|