Web Forms :: Calling An Aspx Page With New Window?
Mar 10, 2011
I have an web application in a server.there is an aspx page i need to call an aspx page with new window using response.write().
ex: Response.Write("www.abc.com/page1.aspx");
But it will open the page in the same window but i want to open the page in new window.
View 4 Replies
Similar Messages:
Dec 17, 2010
I am hoping someone has experience with this, but I am loading a window from a link on my main page. The window loads an ASPX page via the window's loadmethod of iFrame. The aspx page has its own update panel on it and I was wondering how I can call the window's "spinner" / process indicator while the page is processing. I have looked at the documentation on some online information about it but I am not sure how to implement it.
View 1 Replies
Jun 20, 2010
Regarding the above topic I want to know the following:
1) Is it possible to call the exe from an aspx page with or without parameters?If so client side call or only server side call?
2) What permissions need to be given for it to be accessible - the exe needs to do data transfer with postgres?
3) How to diaplay the output of the exe on the client side in Labels or alert boxes?
Any other problem that may occur while executing exe from the aspx page?
View 7 Replies
Jun 16, 2010
This is such a simple thing but i can't figure it out.
I have this code: (just a section)
[Code]....
[Code]....
Here is the code behind:
[Code]....
I can get it to work if i completely paste the code in there, but this is such a pain. I just dont quite understand OOP. What do i have to write to call that code from another aspx page?[Code]....
View 12 Replies
Jun 17, 2010
I need help calling a web service asynchronously. Current scenario is, I have a classic ASP page which does some processing and then redirects to a ASPX page which would call the wcf service asynchronously and then redirect to another classic ASP page. Im currently using the Asynchronous method to call the service with Async="true" included in the header. Testing the ASPX page induvidually it appears that the service call is asynchronous and does not wait for the the service to process data. But when integrating it with classic ASP page i.e ASP to ASPX to ASP it appears that the process takes a while as if the service call is synchronous.
So is there a better idea to use in calling a wcf service asynchronously. The idea behind my work flow is the ASPX page would be used to call the service and then the ASPX page would redirect back to the classic ASP page is came from. Let me know if there is a work around on how to call async wcf service in aspx page. I dont need the ASPX page to wait for a result or anything it is just used to call the WCF service async
View 1 Replies
Apr 17, 2010
I have a function that returns an image name from an Array, and takes the array index as a parameter, something as follows:
public string imageGallery(int imageNumber)
{
return "~\webForms\profileAdmin\uploadedImages\serkijn\" + iArray[imageNumber].ToString();
}
On the aspx page I have something like this:
<img src='<%# imageGallery(0) %>' />
[Code]...
View 3 Replies
Sep 7, 2010
I have a problem with calling a method on a aspx page from a usercontrol.
The case is: I have 1 main page with 5 usercontrols, when something goes wrong in the code I want to display the error message in a Modalpopup Extender. I can create for each usercontrol a different modalpopup extender but isn't much easier when I make 1 popup in the aspx page. But the problem is: How should I call a method in the aspx page that open the popup?
I have search several hours on the internet but can't find anything useful.
View 2 Replies
Jun 30, 2010
I have been trying to call a vb.net function in aspx page how can i do that?. I have done it in C# by
<td><#%GetItemIndex(Container.ItemIndex)%></td> its working fine in C# but in vb.net it says GetItemIndex not declared.
and trying to convert (rptpages is a repeater)
rptpages.Itemcommand += New RepeaterCommandEventHandler( rptpages_ItemCommand1) from C# to VB.net but i dont see itemcommand property in VB.net for the repeater.
View 15 Replies
Mar 25, 2011
In my web application i have three buttons. Submit,Server Update and Delete. If i click on the submit button then all the information will be stored and remain in the same page.after that if i click on the server update button then all the same information will be stored in the another server.and it is open with new window.after that when i am clicking on the submit button then it will go to the next page with another window.i have to go to next page with same window.my code is
<asp:Button ID="ButtonServerUpdate" runat="server" Text="Server Update" Width="80px"
Height="25px" onclick="ButtonServerUpdate_Click" OnClientClick = "document.forms[0].target = '_blank';"/>
<asp:Button ID="ButtonSubmit" runat="server" Text="Submit" Width="80px"
Height="25px" onclick="ButtonSubmit_Click"/>
How can i solve this?
View 1 Replies
May 21, 2010
On button click im using this Server.Transfer("abc.aspx", true); to transfer to abc page..what i need is i need to open in new window by this abc.aspx page on button click..here im passing parameter to abc.aspx page, so let me know how to do...
View 7 Replies
Oct 29, 2010
I have a control in a 'window control library' which handles - 'drag and drop' files from computer to a listbox control, I then reference this .dll in .aspx (See code below). Now, when i try to access this through webserver for drag
and drop files i get following errror - The type of the first permission that failed was : System.Security.Permission.FileIOPermission.
How do I handle this, so that drag and drop of files can happen over the webpage residing at webserver.
namespace testWinControl1
View 1 Replies
Nov 25, 2010
I wrote many Dataset in APP_CODE folder and call it in my ASPX Page. But the following error Occured in my aspx Page when i call atset.
ERROR
'DATASET NAME(.XSD)' does not contain a definition for 'DATASET OBJECT NAME' and no extension method 'DATASET OBJECT NAME' accepting a first argument of type 'DATASET NAME(.XSD)' could be found (are you missing a using directive or an assembly reference?)
But when i Build the application some times it's execute with out error. but some times it show's an error. And also i get error in different
dataset in every time when i Re-build the application.
View 3 Replies
Feb 4, 2011
I have this Rijndael algorithm below as class and my problem is when I tried to call this class from Code behind page the methods inside this class is not appearing with me
[Code]....
View 2 Replies
Jan 5, 2011
i have 2 forms 1 html others is asp.net in vs 2005 now i want on html page is whn i click on submit button asp.net page is called <action="abc.aspx" method="post"> but its not working
View 2 Replies
Nov 23, 2010
How do you call a codebehind/class method from a gridview in an aspx page? Also, I need to pass the value of databound column to that method. Is this possible?
Something like this:
<asp:BoundField DataField="Precision" />
<asp:BoundField DataField="MyNumber" DataFormatString="FormatHelper.Format(MyNumber, Precision)" />
View 3 Replies
Jul 15, 2010
I'm calling a silverlight component in my aspx page like this
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="silverlightControlHost" > [code]...
I would like to modify my page aspx so it takes the parameter itself. Today I'm calling the page
Config.aspx and I would like to do something like this call it
Config.aspx?ConfiguredCarId=11
How do I modify the above code to reflect the change?
View 1 Replies
Feb 2, 2011
I am using VS 2005.An 1.aspx page is there, retrieving data from an xml file and having a button.On a button click same 1.aspx page should open new window retrieving data from another xml file with the help of query string.
View 3 Replies
Oct 18, 2010
Accessing 'Window Control Library' .dll from a .aspx page on webserver
View 2 Replies
Oct 28, 2010
I have a simple website that I'm building (practicing). In the main page, I'm using <div> to format my page.However, I have another page that I wish to load into/or view in the Main page. Can I do this without using a MasterPage?
View 10 Replies
Aug 30, 2010
I am maintaining a web site project in VS2005 and have to call a new web service on a remote server. I've done add web reference, and created the .wsdl and .discomap files in the app_webReference folder. When I try to create a object representing the web service in the code ( wsnamespace.serviceName ws = new wsnamespce.serviceName(); ) the code wouldn't compile.
The web site project is already calling other web services. When I right click on the type representing the web service and "go to definition" it takes me to a proxy class (derived from of course SoapHttpClientProtocol) in the metadata. I think this is what's missing for the new web service i'm trying to call. Have I missed any steps?
View 1 Replies
Oct 6, 2010
I want to add a button to my user control in SilverLight 4.0 application which will open a new browser window with an aspx in it when it is clicked.
Additionaly, can I lock the SL application until this new window is closed (Alike a modal dialog)?
View 2 Replies
Mar 22, 2010
I'm using this Ajax script [URL] to load content from an aspx page on another server than the page calling the content. So far I've learned that this is a no go. The problem seems to be that when using an absolute link to content the script fails as apposed to using a relative link.
I've searched the web for about 10 hours now, and I still haven't found what I'm looking for.
View 2 Replies
Feb 8, 2011
Can I actually call window.onresize as well as control when it automatically executes?
View 3 Replies
Oct 7, 2010
How can I open a new window when calling a function. I do not want to open this new window on a click event. There are now buttons or hyperlinks involved. When a function is called I need a new window to open.
View 12 Replies
Feb 11, 2010
I create a window dialog by calling window.showModalDialog;
In that dialog I want to execute a Response.TransmitFile like the code below. The code works fine from a non dialog window. However it just hangs if I call it from the modal dialog page. No error messages. I just doesn't do anything. Is there something else I need to do to get this to function in a dialog window?
string thePath = "c:\temp\New Text Document.txt";
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AppendHeader("Content-Disposition", "attachment; filename=" + "New Text Document.txt");
Response.TransmitFile(thePath);
Response.End();
View 2 Replies