|
Interesting problem. The first thing that comes to mind is to use an iframe for the navigation so the file upload is taking place in one page while other pages are displayed in the iframe.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Not a bad idea in general, but unfortunately won't work for my purposes. We cannot place the main page content into an iframe for navigation, it could create a lot of problems for us.
Any other ideas?
|
|
|
|
|
As I'm sure you know the difficulty is keeping the uplaod active while navigating to another page. The thing the pops to mind (pun intended ) is a popup window to handle the upload, however that could be blocked by browser settings, etc.
Although its just a variation on the the same idea you could use ajax calls to refresh the content.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
What if you just open a new pop window and allow the users to upload the files in the popup window
For whowing the progress... There are some solutions for that, just google it
Alexei Rodriguez
|
|
|
|
|
I have an application built using classic asp. I built a page using asp .net (C#) and need to retrieve parameter values passed from the asp page.
Some of them are working - when I use code like MyControl = Request.Form["cmbDepartmentID"];
But for unknown reason - the others are not working.
So, I tried to create a Session object in the asp page, and retrieve it in the asp.net.
In the asp for example - Session("Param") = value
And in the asp.net - MyParam = Session["Param"].ToStrng();
But it doesn't recognize the session object.
What is the way to do it?
The asp page is a huge mumbo-jumbo of vbscript, javascript, html etc. that I don't follow the flow clearly. But I know querystring is not an option here.
Thanks.
|
|
|
|
|
ASP and ASP.Net do not share the same session on the same server by default. Microsoft has a way to implement session sharing[^] but I don't think a lot of people have had good experiences with it.
Have you done any debugging to output all of the Request.Form items to see if they are being posted? I can't remember if Request.Form in ASP.Net is case sensitive or not.
|
|
|
|
|
Hi Gray,
Yes I tried outputting all of them, and some are not being passed to the asp.net. Thats why I can't retrieve them. When I did that - I used the same case wording.
I could try the Session sharing technique you pointed to, but it looks like overkill.
I'll go back and dig further - and let you know.
Thanks.
|
|
|
|
|
|
Hi All,
I've designed a crystal report with a subreport in one of the report footer section. I wanted to print the subreport in new page so I select "New page before" option for that section also to avoid printing a blank subreport I select "Suppress if blank " option also suppressed the blank subreport.
Now section is getting suppressed for blank report but a new page is being added into my report.
Does anybody know how to avoid this situation?
Please help me it's very urgent.
Hope I've cleared my point.
|
|
|
|
|
Put a boundary (with some color and style) to check what's causing the report to extend to new page. It might be because of some extra space (even 1 inch or less) , new page is getting added.
Putting colors/style will help you in finding the reason and resovling it if possible.
|
|
|
|
|
Hi Sandeep,
First of all thanks for ur reply. I've already checked the report like that but sub report is completely suppressed. the new page is only showing the header and footer of the page nothing else
|
|
|
|
|
What do I need to do to put a web service inside an existing asp.net web site?
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
If your web service is already hosted then
you do not need to put web service inside
asp.net project.
Just add web reference of it and use it.
If you want to add web service in your web application then
add it as existing web service application by right clicking
on your solution and clicking on "Add->Existing Project".
Hope this will help!
Jinal Desai - LIVE
Experience is mother of sage....
|
|
|
|
|
You misunderstand. The web site is already deployed. I want to add the web service to it. I tried just adding a folder to the web site and copying the web service into that new folder, but I'm getting web.config collisions. I don't have permissions to alter the IIS server instance, so I have to be able to add the web service in this manner.
Can it be done, and if so, how?
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Not sure you can mix environments like this, I've certainly never seen it set up.
You're in a bit of a hard place really, I would've tried adding a sub-application but if you've not got access to IIS to set it up as an application, kind of up the creek. Pretty sure your only recourse is to push for a second site.
|
|
|
|
|
How did you add it in your project? I think mostly what needs to be done is just web.config updates to add the proper handler sections to tell it how to talk to the asmx. And I thought VS did those by default. I know you can mix and match in the same project. Does it work in your test and development environments?
|
|
|
|
|
Well, the web service is a sub project of the silverlight application's solution. I figured I could just drop the web service stuff into its own folder and be golden, but I guess that ain't how it works.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Hi everyone ,
i 've come up with strange error hope you guys can sort it out
i have used AjaxToolkit:AutoCompleteExtender which calls a web method to get string array. Everything was working fine as its populating all the data.
But the issue arise when web method is returning value in a string array like
arr[0]=1-12-100
arr[1]=1-10-100
the value im getting in the AutoCompleteExtender is the subtract of the result like
arr[0]=-111
arr[1]=-109
Why is it treating it like numeric and doing calculation when the return type is actual an string
Is there any solution to it, As per my knowledge i think its has to do sth with serialize and deserialize thing
|
|
|
|
|
Hi,
Can anyone let me know how to export image to excel without image saving on the server...
I tried to export, its working fine but when i delete an image from folder, the excel image is blank...
I want to export image to excel without the image saved on server...
Pls suggest me
Thanks,
|
|
|
|
|
You somehow need to embed the image in the excel sheet.
Found this by a quick google search.
|
|
|
|
|
|
I just installed IIS and placed my website into the C:\Inetpub\wwwroot
folder. Now I can't access it? I did not create a User name or Password so I
don't know why I am being promted for one. When I try to access
http://localhost/mywebsite , i get HTTP 401.1 - Unauthorized: Logon Failed. I
cant even go to http://localhost/ with out getting the user and pass prompt?
Anyone know how I can get ride of this. What a pain. How am I not authorized
to view this?
Vinay
|
|
|
|
|
Go to IIS (Run->inetmgr)
Expand the Web Sites node, Right Click Default Web Site, select New-> Virtual Directory. Give alias and the path to your application and you are done.
OR
Right click the website root folder, select Properties. Select Web Sharing tab, Select 'Share this Folder'. You are ready
Both the methods I have told you will enable you to run your website. I am assuming your are a beginner. And these are the simplest ways that will work for you. Web hosting in itself is a very big topic.
..Go Green..
|
|
|
|
|
Check permissions for mywebsite folder and in iis may be you have disabled anonymus access...
Have a look at this link
|
|
|
|