C# - Open .NET App From Webpage?
Jun 3, 2010I just need to be able to open a .NET app (click once) from within an ASP.NET web page, and pass 2 string parameter to the app.
View 3 RepliesI just need to be able to open a .NET app (click once) from within an ASP.NET web page, and pass 2 string parameter to the app.
View 3 RepliesI created an ASP.NET 3.5 website with Forms Authentication. Using Website Administration Tool (WAT), I created 3 roles with 3 subfolders. When running from ASP.NET Development server, I can login and click to open the homepage for the specificrole subfolder.However when running the website from the IIS server machine, I can login but can not open the homepage of the role subfolder.
Clicking each link for the role subfolder popped up an error message for opening a login.aspx from the specific subfolder. I don't have a Login.aspx file in each subfold
I want to know, how can i open a picture from a web page to picture viewer like microsoft picture manager, when i click a button it should open a image in picture manager, picture is in one of my folders.
View 2 RepliesMy problem is somewhat specific and I do not have enough javascript knowledge to get this rolling.
I have a textbox. Based on what I enter in this textbox I am passing that to a webpage as a parameter and I need that to webpage to open up in a frame.
Here is the code that I currently have. This code is executed on textbox text changed event and is an autopost back. As you will notice this has issues in cases when I click on the submit button but do not leave the textbox... Not sure but it seems that browsing away from the textbox fires the textchanged event.
Is there a java script I could use instead of this postback?
[Code]....
I've been tearing my hair out over this one for the past couple of days...
I am using VS2008 & IIS7 with Windows 7 & IE8. I am debugging locally.
On a certain situation on my screen, VS cannot postback a page. I am getting the following error and have tried everything I can think of to resolve the issue, but to no avail.... I have used local IIS and also just the internal web server as well.
Unable to download pagename.aspx from localhost.
Unable to open this Internet site. The requested site is either unavailable or cannot be found.
I want that my web page should open up in full screen. Is there any code that i can put in my page load event so that the browser should set itself to full screen i.e. same as F11.
View 2 Repliesvb code to use the Submit button to also open an external website [URL] when clicked
View 4 RepliesWhen a user clicks a button on a web form, i have some validation statments:
if x = 1
"goto www.google.com"
else
"goto www.espn.com"
How can this be done? I have read about the webbrowser.vavigate, but its not supported in asp?
Im trying to click a button that opens up search webpage within a frame passing some textbox search strings.
<form id="Form1" runat = "server">
How can I open a new web page from C# code behind?
View 11 RepliesI am currently doing a project that requires the user to click a button on a webpage (C# ASP.net web application) and activate an regular application file (exe, jpg, doc, etc) on a server.
For instance, if I have an excel file on the server. The user would click a button from a webpage and then the excel file will open. The result should be the same as double click the excel file and open it locally.
I develop web app in asp.net, and I want to do some action in windows when press button in the web page,
For example: when you press Messenger button in [URL] windows live messenger will open in your computer,
is this need a protocol so what is it? and what are the classes in .net allocated for that or is there a certain technique to do that ?
I'm using 3 diff websiteA,B.C. Im logging in A and accessing B,then logging out it means B has to close;then the redirection is A.likewise C to B.
View 2 Repliesin my web application i am trying to open one document file by clicking on hyperlink on webpage,
when i run the appication open the that page click on the link file gets open.
but, when i run the application through iis, when clicking on that link file not found alert comes.
that document file present in separate fileserver.
I've created a ajax modal popup with a iframe embedded. Well, when I click in a button, this open a modal popup and shows an external web page.
I've two problems:
1. I want adjust size of modal popup to 90% width and height, but % don't responding, instead, if i put in px, it's functionally correctly.
2. In Mozilla firefox, do not show iframe contained in modal popup.
[Code]....
I am working on a financial portal and I am having a problem..I don;t know what to call it so i mentioned it as an 'unknown to me' problem..I have a webpage..whenever I click on any button on my webpage, the request goes through..but nothing show up on the webpage..then If I click on another link and then again come back to previous link,then only I see the results of button_click..
e.g.
I have a currency conversion and investment form..so after filling up the form in following way and if I click on "INVEST" then nothing shows up..
so now if i click on any other link and go back to 'buy currency' link I see the result as 'investment successful'
I would like to allow users to call my ruby on rails app as a service which returns a 'div' with html content in it, and embed that div into their app (which will not be a rails application).
For example, assume someone has their own php website that has a header/footer template that gets rendered, and a content area of the page that they need to fill based on some html I generate in my rails app. I would like to allow them, from php, to call to my website, get the 'div' I generate, and embed that as html in their php page.
What I'm trying to do is host a service on my site that returns some html content, but actually show that content as part of another site, so that the end user only sees the other site and never really knows about mine.
Also, I can use javascript on the client to do this if that is the only way, but I would prefer the php app to handle this at the server if possible so the client gets the html embedded from the original server and it looks like it all was generated by the php script that generated the entire page. I also want to avoid using an iframe.
I developed an application form which includes some textboxes for input. When the user click on the button the following tasks has to be done.
1) If page is valid all data should be stored in database
2) A new webform should appear on the same window and the some content of the application form should be displayed in it.
3) When clicking on browser back button it should not post back to previous page.....
I did the first task..and i don't know the code for the remaining tasks. Here is some information
.aspx button control code
[code]....
I opened new webform by using Response.Redirect ("submit.aspx"). Where submit.aspx is the form to be opened after data stored upon the button click in application form.
am trying to get URL of the page that referred the request to my page, i tried the "
[Code]....
[Code]....
[Code]....
[Code]....
I have an asp.net page that contains an Iframe embedded with some data and a ImageButton. On ImageButton click event (server side) I have Response.Redirct:
Response.Redirect("results.aspx");
This always open the results.aspx in iframe. I want that results.aspx should always open in the parent window. I tried the following till now but none worked:
Response.Redirect("<script language='javascript'>self.parent.location='results.aspx';</script>");
Response.Redirect("javascript:parent.change_parent_url('results.aspx');");
..and also tried the options from [URL]
In my application users upload their word document and user has been given an option to preivew the uploaded document. Inorder to preview the document i put the following code in my page_load event
div1.InnerHtml = "<iframe name='iframe4' src='DocumentUuploaded/report.doc ' target='iframe4' frameborder='no' height='500' scrolling='no' width='800'></iframe>";
The problem is it is asking Do you want to open or save this file. How can i get rid of this dialouge box
I have created a pdf file using aspose and need to open it without saving the pdf.Is it possible.
View 1 RepliesHow to read data from OpenDocument Spreadsheet and show the data in gridview....
View 1 RepliesIn code below, when I have more than one DIV open and I choose to sort one of the GridViews, all the other Open Div's will close automatically. How can i keep the DIV's in the state they are in when I sort any GridView?
[Code]....
Click imagebutton open window.open in class asp.net 2.0
View 2 Replies