|
i use .NET 1.1
im my web site i have a HtmlInputFile
when i upload a small file that's ok
but when i want to upload big files it isn't work
and display "The page cannot be found"
how can i solve it ?
With thanks
MHF
|
|
|
|
|
It sounds like your browser is timing out before the upload has time to finish. You could try displaying an "uploading" page whilst the upload happens, though without your code it is diificult to say exactly what is going on
|
|
|
|
|
is there any where that limit the size of file ?
i use i use
HtmlInputFile.PostedFile.Write Method
MHF
|
|
|
|
|
yes there is a limit on the size of the file, it can however be changed see -
here
|
|
|
|
|
Thanks It is so Useful
MHF
|
|
|
|
|
There are three textboxex. I have given values in textbox1 and textbox2 as 10 and 20. if I hit the enter key not tab control the sum of two textboxes(30) will be displayed in textbox3. How can I write on client side using javascript? if anyone send code its nice.
thanks,
Hosanna.
|
|
|
|
|
You can use var elem = document.getElementById(id) to retrieve your text box element, then use elem.value = "whatever" to set its value.
See if you can figure out how to trigger the code. (Hint: you're probably wanting to investigate keyboard events for the text box element)
|
|
|
|
|
In my database contain path to image.Ther r N number of images.
I need to dynamically creat Image box and load image to it.
is there any way???
All I ever wanted is what others have....
CrazySanker
|
|
|
|
|
foreach(string imagePath in arrayOfMyImagePaths)
{
Image image = new Image();
image.ImageUrl = imagePath;
myPlaceholder.Controls.Add(image);
}
<asp:Placeholder id="myPlaceholder" runat="server"/>
... and so on.
Pilo
|
|
|
|
|
For each site, it should display the name of all the web parts contained in that site.mine is a asp.net application with c# as codebehind and developed in .net 1.1
thanks.
|
|
|
|
|
Hi,
I am want to create an Ajax page, can any one suggest me what are the requirments need to develope an Ajax site with ASP.NET with VB.NET.
Know is Drop, Unknown is Ocean
|
|
|
|
|
Hi,
You can download Ajaxpro DLL .. or you can use HTTPRequest object directly to use AJAX
Thanks,
Sushant Duggal.
|
|
|
|
|
http://en.wikipedia.org/wiki/AJAX">http://en.wikipedia.org/wiki/AJAX
http://www.adaptivepath.com/publications/essays/archives/000385.php
Aashutosh kumar
|
|
|
|
|
I am using MSACESS 2003.In my web developement i need auto increment number after insertion.Like SCOPE_IDENTITY in MSSQL.
if use select @@IDENTITY from <tblname> in MSACESS it returns 0.
send me any soln.
No pblm in incrementing.I need the increment value just after insertion
-- modified at 7:46 Thursday 5th October, 2006
All I ever wanted is what others have....
CrazySanker
|
|
|
|
|
did u seed and increment it.Then u will get the value with auto incremnt .
seed as 1 and increemnt as 1 then u will get auto increment.
With Regards
Satips
|
|
|
|
|
the problm is not in incremnting.I need the incremented value just after insertion.
All I ever wanted is what others have....
CrazySanker
|
|
|
|
|
You have to get the id using the same connection that you used to add the record.
---
b { font-weight: normal; }
|
|
|
|
|
If you want retrieve @@IDENTITY in MS Access you can use this function after inserting record in database : "Select Max(FieldName) From tableName"
|
|
|
|
|
Hello All,
I am working on ASP.NET 1.1. I am using a Panel control to add some controls at the runtime. Now the problem is that when the page displays, the panel moves to the bottom of the page. I have the panel in a table, but it moves out of that table and goes to the bottom. I am screwed up by this issue. Any help is very much appreciated.
thanks,
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
Hi Mubashir.
It's an HTML issue. Can you please post your HTML code?
Thanks.
-Goalie35
|
|
|
|
|
I am builing a application,there are different type of roles like administrator,guest,user and
i want to display only certain features certain users based on Roles how do this in GUI in ASP.NET 2.0 .Thanks in advance
jrsreenivas@hotmail.com
|
|
|
|
|
This is quite wide topic, but generaly you need to have Role class with method IsUserInRole(...),
then you can display/hide controls in accordance with what this method returns. Do not reinvent wheel, see .NET Provider model:
http://odetocode.com/Articles/427.aspx
Pilo
|
|
|
|
|
|
This article[^] details how to retrieve an image from a database.
Basically, you create an aspx page called something like LoadImage.aspx.
The LoadImage.aspx page contains the code to get the image from the database (the aspx page content doesn't matter as it gets replaced by the image data).
private void ShowImageData(byte[] imageData)
{
Response.Clear();
Response.ContentType = "image/jpeg";
Response.OutputStream.Write(imageData, 0, imageData.Length);
Response.End();
}
Then in you web page where you want to display the image, you just put a link to the image: e.g. where the imageID is the image id in the database to load. This would be accessed in the Page_Load of LoadImage.aspx
ChrisB
|
|
|
|
|