|
Hi,
I've developed a C#.NET webservice. Is it possible to schedule it.
Also If Download is one of the operation performed by the web service
can i use the url : http://localhost/FileDownload/Service.asmx/Download?
Thanks in advance
Priya
|
|
|
|
|
Dpriya wrote: I've developed a C#.NET webservice. Is it possible to schedule it.
What do you mean by "schedule it"?
|
|
|
|
|
Dpriya wrote: Is it possible to schedule it
What do you meant by schedule it ? Running the service in a specified intervals ? If yes you can choose
1- windows service
2- create a desktop application that gives request to webservice in a scheduled time
|
|
|
|
|
I would recommend having a little Windows service that can download the URL contents periodically. That would be the most resilent and robust way to approach this problem on hand.
|
|
|
|
|
I won't repost the whole text, but the problem is outlined here[^]
Basically I want to trigger two response.X events from a single on-click event to do two things - pop up a report in a window, and download a file (not the same file as the report).
-------------------------------------------
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Just bugger off and leave me alone!!
|
|
|
|
|
_Damian S_ wrote: Is there some way to trigger the popup form (other than using response.write) so that I can still use the response for the file download, or am I just going to have to redesign the process?
Quoted from your previous message,
Is it possible for you to use Page.RegisterStartUpScript(Popupwindowcode) , then you can use the Response for pdf ?
|
|
|
|
|
Sadly no, as the first part of the processing in the on-click event is what generates the details to be displayed in the report... Thanks anyway.
I have decided to let the first part of the processing happen and open the report, save the relevant ID in memory, then have another click event (on a new link) to download the saved file (using the previously saved ID).
-------------------------------------------
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Just bugger off and leave me alone!!
|
|
|
|
|
I was doing some experiments on your problem, and I succeeded in that other way. I shown PDF in pop up window ? I used Page.RegisterStartupScript(PDffileURL) in pop window page load. Will it work for you ?
|
|
|
|
|
Hi,
No, I can't use that option either, as I was saying, the processing needs to happen before the pdf can be generated. I have split it into two parts like this:
Part 1 - do the processing then trigger the generation of the pdf (and save the ID to session state)
Part 2 - grab the ID from session state and generate the file to download.
Problem solved, and only with one extra mouse click!!
D.
-------------------------------------------
Don't walk in front of me, I may not follow;
Don't walk behind me, I may not lead;
Just bugger off and leave me alone!!
|
|
|
|
|
Hi, im Armand, from Mexico, im wondering if some body can help me.
The thing is that, i want to use script.aculo.us drag and drop, between 3 lists, well, i already have the drag and drop between the 3 list ("ul") in each list ("ul") i have data in the "li" tag, inside some "li" i have tables, images, etc, but i have information in each "li" tag that is in the html code, i don´t bring the content from the data base, i mean, i can bring content but i have tables, images, and other html things in the li.
I also have that of course, but the thing is that now i want to save new positions, an example ,if i have 3 lists ("ul") "List1, List2, List3" and in each list i have 3 items ("li") "1item1, 1item2, 1item3, and 2item1, 2item2, 2item3, and 3item1, 3item2, 3item3" if i move for example, the item "2item3" with a table inside from the list "List2" to the list "List3" right down of the item "3item1" i want to save that new position, so it will be like.
List1 have (1item1, 1item2, 1item3)
List2 have (2item1, 2item2)
ist3 have (3item1, "2item3", 3item2, 3item3).
and when the user upload the page he will see this new order.
In this page i found a way to do some thing like this, but is only with one list, so if some body can help me out will be great, my email is agaona@femexfut.org.mx, or arga61@hotmail.com, really any good idea will be wel come.
ASP, Script.aculo.us, drag and drop, save and load new positios
|
|
|
|
|
Hi, im Armand, from Mexico, im wondering if some body can help me.
The thing is that, i want to use script.aculo.us drag and drop, between 3 lists, well, i already have the drag and drop between the 3 list () in each list () i have data in the - tag, inside some "
- " i have tables, images, etc, but i have information in each
- tag that is in the html code, i don´t bring the content from the data base, i mean, i can bring content but i have tables, images, and other html things in the
- .
I also have that of course, but the thing is that now i want to save new positions, an example ,if i have 3 lists () "List1, List2, List3" and in each list i have 3 items (- ) "1item1, 1item2, 1item3, and 2item1, 2item2, 2item3, and 3item1, 3item2, 3item3" if i move for example, the item "2item3" with a table inside from the list "List2" to the list "List3" right down of the item "3item1" i want to save that new position, so it will be like.
List1 have (1item1, 1item2, 1item3)
List2 have (2item1, 2item2)
ist3 have (3item1, "2item3", 3item2, 3item3).
and when the user upload the page he will see this new order.
In this page i found a way to do some thing like this, but is only with one list, so if some body can help me out will be great, my email is agaona@femexfut.org.mx, or arga61@hotmail.com, really any good idea will be wel come.
ASP, Script.aculo.us, drag and drop, save and load new positios
|
|
|
|
|
Hello, I got a problem, I have a grid with a dataset with two tables and I have a datagrid bound to that Dataset
each column of the grid has two labels, and I need to "print" in each label a column for each one of the two tables
for example: the first table has a column "EMPLOYEE" and the second has a column
"DATE", the first label is for EMPLOYEE and the second for DATE.
I am using the DataBinder.Eval method
Can anyone tell me how do it?
Thanks
After reading this message you will realize that you have wasted 5 seconds of your life
|
|
|
|
|
Hi ,
How to connect to sql server 2005 to retrieve data from db using asp.net for mobile(wml). Is it possible to asp.net only for connecting to sql server.
Could anyone please give me some examples.
Thnaks
Aruna.G
|
|
|
|
|
Hallo All,
I have a problem with wml and asp.net. I wrote wml deck which calls an aspx page. when I try to test it on my emulator , its giving "Page not available" message. I didnt understand why is this. My supervisor told me its because of web.config but I didnt understand what kind of changes I should do to the web.config.
I found that there is Mobile Internet Toolkit using asp.net, is it compulsory to download the Mobile Internet Tool kit to work with wml.
Could anyone please tell me, things to be done while working with wml and asp.net.
Any ideas would be appreciated.
Thanking you very much,
Regards,
Aruna.G
Aruna.G
|
|
|
|
|
hi friends
how to bind the database value in table
i need the below arrangement
left side picture
rightside comment
how can i achive this?
regards
saravanan
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
Use a DataGrid/GridView, use template column and bind the data.
|
|
|
|
|
hi all
I have project is download Data in site Megaupload, i have user and password of site.
Now i want to build a website download file in megaupload site with my account
ex: when i give link site megaupload to a textbox in my site and my site will immediately automatic login to site megaupload with my account and get link download to megaupload or download file to my computer.
how can i do that?
could some body tell me any way?
|
|
|
|
|
Hi all,
I have a class inside a name space. I have added the summary and comments for this class.
'''
''' For example this class does so and so
'''
''' <param name="menuId" />
''' <param name="userLevel" />
''' <param name="viewable" />
''' <remarks>
when iam converting to dll the class description is not showing.
Any ideas why.
|
|
|
|
|
include the System.ComponentModel and add the description as attribute
<br />
C#<br />
<br />
using System.ComponentModel;<br />
namespace Blah<br />
{<br />
[Description("Your description")]<br />
public class YourClass<br />
{<br />
}<br />
}<br />
<br />
VB<br />
<br />
imports System.ComponentModel<br />
Namespace Blah<br />
<br />
<Description("Your description")><br />
Public Class YourClass<br />
End Class<br />
<br />
End Namespace<br />
[
|
|
|
|
|
First of all, your code is clearly coming
Any way
Did u add the XML Document file for that? Property page of project=> build
in build section, check lower part there is a XML document file section, give a file path to /bin/release folde.
Build you Application!!!1
Done
|
|
|
|
|
hi,
using C# i did a user control that i want to use from web page.
when i tried the control using windows application it works ok.
when i add it as object to the web page it is never loaded.
this control uses a special dll which is needed for its operation.
could it be the reason for the problem?
how can i add external dll's so they will be installed on the client side?
thanks
|
|
|
|
|
samy100 wrote: using C# i did a user control that i want to use from web page.
when i tried the control using windows application it works ok.
when i add it as object to the web page it is never loaded.
this control uses a special dll which is needed for its operation.
could it be the reason for the problem?
how can i add external dll's so they will be installed on the client side?
First, I like to clarify some background information about your first line. By default, any .NET Windows Forms controls are not exactly ActiveX controls. You can use ActiveX controls and embed it directly on any web page, but ActiveX control means it can only run on Internet Explorer.
Secondly, any Windows Forms control you've created needs to be wrapped as a COM object. COM object itself is an ActiveX control. After this, you can embed it in any web pages. Good luck.
Eriawan
|
|
|
|
|
can u send me some reference for how it is done?
thanks
|
|
|
|
|
How to bind the Records To hashTable...,
Example:
Select Id,Name as Employee
In this query I like to bind the id as key and Name as Value in that hash table...,
Advance Thanks,
Regards,
Magi
|
|
|
|
|
Hi,
Logically no. but if you want to use it in this way then just write small wrap around method to do this.
cheers
Ravi Kant Srivastava
(System Analyst)
HandsOn Technology & Engineering
Gurgaon
(India)
e-mail:ravikant@hte.co.in
|
|
|
|
|