|
Actually what i need is a code which tells me the status that , means suppose iam storing 10 mb file then when i call this code it replies me that of 10mb 1mb is stored annd then if i call this code again from javascript it should tell me 2 mb stored till now like that,
|
|
|
|
|
I have a aspx page which gets formatted using XSLT.Now my requirement is such that I have to save all individual documents
and Print at last.
If I use InnerXml or Innertext method Im not getting the format correctly.So my printing in a page is horrible.
so can any one plz tell me
1)How to save the formatted data from XLST
2)I got this Idea dont know whether itz possible.The correct format is in aspx page which I saw it when debugging .Is it
possible to get the content say from start of <xml> to </xml> using some Javascript Function.
Thanks in Advance
|
|
|
|
|
|
Hi friends
Currently I am working on Image Editor to create banner of the companies.
In Image editor,there are many functionalities but i have little problem to ganerate image of the text.
for this, I have one textbox to enter text.when I start to enter text in textbox every time I call handler to ganerate image.
I want to break execution process if new process come.
Suppose I enter "I" and executes codes of handler and ganerate image but process still running at that time I delete "I" and enter new text "w" so again handler codes execute at this time I want to break previous execution code to generate image for the char "I".
Any one how to do this?
please don't forget to vote on the post that helped you.
|
|
|
|
|
iam having a child window aspx page in that i have a close button i wrote aa javascript for that when user press this button it is working fine but the problem is when user click on X this close button the problem is there it is not calling the javascript code how this could be solved
|
|
|
|
|
u can use this concept for this
<SCRIPT LANGUAGE="JavaScript">
function Minimize()
{
window.innerWidth = 100;
window.innerHeight = 100;
window.screenX = screen.width;
window.screenY = screen.height;
alwaysLowered = true;
}
function Maximize()
{
window.innerWidth = screen.width;
window.innerHeight = screen.height;
window.screenX = 0;
window.screenY = 0;
alwaysLowered = false;
}
</SCRIPT>
<A HREF="javascript:onClick=Minimize()">Minimize</A>
<A HREF="javascript:onClick=Maximize()">Maximize</A>
Source : Reference [^]
|
|
|
|
|
How to read an xml file, split the file and write the same in another xml file
VanithaVasu
|
|
|
|
|
|
<a href="http://www.15seconds.com">www.15seconds.com</a>
check in above sites there are some examples are there.
All the best!
Thanks & Regards
Niranjan
|
|
|
|
|
Hi, I have a doubt regarding forms authentication.
Generally if we take a website codeproject and assume it is used forms authentication. Thousands of users are registered in this site.
Generally when using forms authentication, the credentials are stored in web.config file, and checking with this the user can login or redirect to home page.
If thousands of users are registered, then how we can achieve the forms authentication? Where we can check all these users? we can't put all these user credentails in web.config file?
G. Satish
|
|
|
|
|
The credentials generally aren't in the web.config, but stored in a database. Here's a fairly good article explaining how it all works together: http://www.asp101.com/articles/cynthia/authentication/default.asp[^]
"On one of my cards it said I had to find temperatures lower than -8. The numbers I uncovered were -6 and -7 so I thought I had won, and so did the woman in the shop. But when she scanned the card the machine said I hadn't.
"I phoned Camelot and they fobbed me off with some story that -6 is higher - not lower - than -8 but I'm not having it."
-Tina Farrell, a 23 year old thicky from Levenshulme, Manchester.
|
|
|
|
|
Hi, I am a windows developer who has been working on windows applications for some time. However, I am now being offered to take up a new project, a web application for online training programs. Having been a C# programmer, I would like to see if it is possible to develop this on ASP.NET. I am unable to decide if ASP.NET will be sufficient to do the following.
->The program will include showing presentation slides.
->The entire presentation will be displayed only for a certain duration of time, for example 4 hrs 6 hrs etc.
->Each slide will be timed, the user will not be able to proceed to the next slide provided he has finished the allocated time for the slide.
->Presentations will be prepare in MS Power Point. and will be uploaded by the administrator.
Please let me know if ASP.NET AJAX would be an adequate technology for this.
Thanks in advance.
|
|
|
|
|
Hi,
As per your requirement it seems that you can do it much better in Asp.net.
Go ahead... Best of Luck..
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Thanks
|
|
|
|
|
Hey Abhishek,
there isnt any control in ASP.NET to show the Presentation or slides, for that you must have to use any third party control like Aspose Slides this will provide you the Power Point Management For ASP.NET, Or you have to develop a control using VSTO (Visual Studio Tools For Office). For rest of the Application ASP.NET and Ajax is Sufficient .
Regards,
Usman Munier
Xavor Corporation Pakistan
|
|
|
|
|
I have been thinking of converting the entire presentation into images that I will display on a web page. MS Power Point allows you to save the entire presentations as images. Instead of embedding a new control, I think we can just make a simple interface with a few buttons and a timer and an image on the page to show the slides.
Also MS Power Point allows you to save a whole presentation as a web page. This could also help.
What do you feel about this?
|
|
|
|
|
I thing this is the better idea rather then using a third party control.
Good luck .... and go ahead !!!
|
|
|
|
|
Thanks
|
|
|
|
|
Yes Abhishek it is a good idea but you can also use Microsoft's technology Silver Light for this purpose
Good Luck
Usman Munier
Xavor Corporation Pakistan
|
|
|
|
|
hi,
normally i am binding a dropdownlist inside a updatepanel. when i click the button event is fired. it shows updateprogress icon and the dropdownlist is filled. when i click the button second time it takes more time to get filled.
i observed that when i bind few thousands records to the dropdown and click the button for the second time to fill the dropdown it takes much less time. but when i increase the number of records to say above 10000 it does not hang but it takes more time to get filled on the second time when the button is clicked
|
|
|
|
|
check here ..
Yr Post[^]
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Is the data in the dropdown list getting added over and over like when it loads the first time there is 20 items, then you click the button and it adds the same 20 again and so on?
|
|
|
|
|
hi all
I read article
http://www.codeproject.com/KB/cs/Zip_UnZip.aspx[^]
But I have problem when i run function unzip
My file zip containt six file and two folder and in there folder containt some file
When i run Fuction
< code>
public void UnZip(string SrcFile, string DstDir)
{
FileStream fileStreamIn = new FileStream(SrcFile, FileMode.Open, FileAccess.Read);
ZipInputStream zipInStream = new ZipInputStream(fileStreamIn);
ZipEntry entry;
int size;
byte[] buffer = new byte[BUFFERSIZE];
while ((entry = zipInStream.GetNextEntry()) != null)
{
FileStream fileStreamOut = new FileStream(DstDir + @"\" + entry.Name, FileMode.Create, FileAccess.Write);
while((size = zipInStream.Read(buffer, 0, buffer.Length)) > 0)
{
fileStreamOut.Write(buffer, 0, size);
}
fileStreamOut.Close();
}
zipInStream.Close();
fileStreamIn.Close();
}
< /code>
But have exception when it unzip to folder name "folderdemo".
System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Inetpub\wwwroot\DacNong\Atlas\Data\folderdemo\'.
Some body help me.
How could i unzip when in file zip contain file and folder ???
|
|
|
|
|
DEAR I USED VSJLIB FOR UNZIPPING THE FILE.
USING THIS REFRENCE UNZIPPING IS VERY EASY. DO TRY OUT THIS
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|