Configuration :: Opening Page Other Than Startup
Feb 14, 2011
I have a site in which I have defined my Start up page, say Sample.aspx. After deployment in server named "Siteserver, Now whenever I open link [URL]. Now, my question is, if I have more than one page like Sample1.aspx and Sample2.aspx and I want to open [URL] directly, how can I do this. It is redirecting again to Sample.aspx. How can I achieve this.
View 1 Replies
Similar Messages:
Jun 16, 2010
i am trying to ste my Home Page other than Defualt.aspx in IIS but im getting a message saying This is a marker file generated by the precompilation tool, and should not be deleted! i do my precompilation of web project using aspnet_compiler -nologo -f -v i do not want to use Default.aspx and route it to the Home Pgae. it works in Visual STudio but when i deploy it to IIS it gives me this message.
View 2 Replies
Jan 6, 2010
I have a simple page, which have a couple of textbox controls for order number and id, and a Button control which takes the input from the textbox controls to search in database.
I found that if I type something in the textbox control and hit enter key on the keyboard, rather than use mouse to press the button control, the page will be redirected to the startup page of the web application.
I am wondering is that because of the default setting of the page or anyway I can fix this?
View 2 Replies
Feb 25, 2010
Is there a way the Start page can be saved in the Project file of a Web Application project.
Right now it saves in the user file, I tried moving the tag in the CSProj file along with the IIS VD creation tag, but it didnt worked.
View 1 Replies
Apr 11, 2010
I'm having a problem with opening ASP.NET configuration in Visual Studio 2008 Express. It just won't open. Nothing happens when I click ASP.NET configuration (under Website).
Odd things:
(1) It works fine (opens) in Visual Studio 2005 Express.
(2) I tried re-installing Visual Studio 2008 Express and the ASP.NET configuration opened fine for a couples of day, but now its not working again.
View 11 Replies
Nov 6, 2010
So, I have a webForm that has an ImageButton. This ImageButton has to open a file (said file is uploaded by the user in another web form. The file is saved to \serverNamefiles; it can be a doc file, pdf file, excel file).
So this ImageButton should open said file as you normally would. It works on debug, however when I publish my site, and run it from my localhost, it doesn't open the file. When I click the ImageButton it just does the postback and nothing happens.
The code for the ImageButton is just:
Process.Start(fileName);
fileName has the full path of the file I want to open, in this case it has: \serverNamefilesmyFile.pdf
View 11 Replies
Jan 11, 2011
i want to open an existing page insid my other page inside asp.net.how can i do this ? i thought with Panel? but don't se any connection there...
View 3 Replies
Aug 28, 2010
im using a IIS 6, WinXP OS, Visual Studio2005, Visual Studio 2005 Server..I have build an asp.net web application in another computer.. i wanted to access that program that i made to another computer but it gives an error when i try to run the program..this is the error it says:"Failed to start monitoring changes to "S:sgcwebapplicationaspx" because the network BIOS command limit has been reached. PLease refer Microsoft lnowledge base article 8180886 Hosting on UNC share is not supprted for the windows XP platform...."Is it because i develop the program using WinXP OS?how can i be able to share the program that i made to another computer????
View 1 Replies
Aug 23, 2011
I have a web page in that contains an infragistics grid control. In this is a column that when double-clicked on, a new window needs to popup that allows a user to enter "Comments". It's basically an .aspx page. I just need it to pop up over the current page. How can I do this in the VB code-behind?
View 2 Replies
Dec 14, 2010
Is there anyway I can open the PDF in a new page instead of the same page in ASP.net.
I am calling this code on click of a button. I want this to be opened in a new page.
Below is the code
ReportDocument fpReport = new ReportDocument();
fpReport.FileName = Server.MapPath("~/Report.rpt");
fpReport.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, false, "MyReport");
View 1 Replies
Mar 22, 2010
i have an action that return a file content. i added:
Response.AddHeader("Content-Disposition", "attactment; filename:"" + survey.File + """);
so that the image would be opened in another tab/page, gets opened in the current tab/page. whats wrong with the header?
View 2 Replies
May 13, 2010
i have problem in word to html converting when uploaded document not redirect the html page..i have the folloeing problem process being used another person.the code below,
protected void btnUpload_Click(object sender, EventArgs e)
{
//Code to check if user has selected any file on the form
[code]...
View 2 Replies
Mar 19, 2011
I've got problem with Ajax.BeginForm in ASP.MVC 3. I want to search textbox for my database. So I've got this code in my Index view:
[Code].... Which calls this method in controller, which return detail partial view of patient
public ActionResult GetPatientByRC(string RC)
{
IPatientService svc = new PatientService(_PacientRepository);[code]....
after clicking on submit button, I'll get partial view open in new webpage (not in GetPatientByRC div). Does somebody know what is wrong?
View 1 Replies
Sep 20, 2010
I have an asp.net project both in .net 2005 and 2008.It is working fine in my PC and page is opening from browser but not from other PC.I can able to connect the other pc's,ping it sure there is no connection problem with pc.I think should be in IIS or sharing from my PC.I need both in .net 2005 and 2008.
View 2 Replies
Mar 5, 2010
I need to open a new window or page keeping the existing page open. I plan to put a Button on the existing page and when a user click the button, a new page or window pops up with what I have coded for that page. My preference would be that the user don't have to tweek any browser options or configure anhing else to open the new window with the click.
View 1 Replies
Apr 6, 2010
I am trying to open a PDF file that is protected. Is there a way using Response.AddHeader to define the password without having to prompt the user? Adobe automatically prompts the user to enter in the password. I do not want this to occur.
The following is how the pdf file is served to the user:
[Code]....
The file is protected as it may contain private information and we do not want to the user to freely download the file using Adobe reader without having the pdf protected. Is there a way to pass the password to the browser without prompting the user (through Adobe)?
View 3 Replies
Jul 22, 2010
I have uploaded all my pages in httpdocs, and created a data bese ... I have also chaned the connection string acordingly but still i am geting following error on opening the page....:-
Server Error in '/' Application.
Runtime Error
Description:
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
[Code].....
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
[Code]......
View 6 Replies
Jan 4, 2011
How to open a new page using ModalPopup extender
View 3 Replies
Jan 14, 2010
I have a pop-up page that is opned by a button's onclientclick,
<asp:Button runat="server" ID="btn" Text="LookUp" OnClientClick="window_open('test.aspx')" CausesValidation="false" />
Now my problem is when ever the pop-up window opens, the parent page loses its focus and goes to top of the page(I guess this is beacuse the page is posting back when the button is clicked).But I could set the foucs again when I am closing the pop-up window by using
window.opener.document.form2.txtbx.focus();
in the pop-up page's javascript.
View 2 Replies
May 11, 2010
I am clicking on CommandField “ShowSelectButton” from grid and generating report which takes 5 minutes and I am showing progress image. After report generation I am displaying report using below code:-
Code:
ClientScript.RegisterStartupScript(this.GetType(), "Reports", "<script>window.open('pagePath','" + "Reports" + "','','')</script>");
Now the problem is that my aspx page is not opening when I am using ScriptControl, UpdatePanel and UpdateProgress object. If I comment
all these object then it works fine. What could be the problem? How can I achieve same functionality?Using this entire code I am only able to generate report, displaying progess image but report page is not opening. Well pop-up in not blocked,also no error.
Code:
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
<ContentTemplate>
[code].....
View 14 Replies
Nov 3, 2010
I am using asp.net to call the reporting services report. In my asp.net page, there is a parameter screen which while running opns the reporting services report in asp.net page as pageA.aspx Now, whenever, I again change the parameters on the parameter page and click the run button, if pageA.aspx is already opened, it just refreshes that page but the page doesn't generate new results ( caused by the change in parameters). I want to close that page (pageA.aspx) before generating the same page with other values (caused by the change in parameters in parameter page). I want this function in page_load() function of the param page.
View 6 Replies
Dec 20, 2010
Searched and couldn't find anything. I'm wrtiting an intranet application, and it creates links to see the original PO or Order for a given order number. Problem is that some of these orders were never put into the system electronically, so you get an error 400, no such page. Is there some way to programatically 'test' a link before sending the user to this error message?
View 2 Replies
Feb 7, 2011
any page that I open in my browser comes up blank.
I don't get any errors, it just comes up blank.
I also noticed that it seems to bypass forms authentication. For example, even though the page I open is blank, it is the actual page name that shows up in the browzer instead of the page that it usually redirects to for the forms authentication.
View 5 Replies
May 7, 2015
I have designed menu using <ul> and <li> tags and handled onserverclick event, where redirection code is written. This code works fine for normal click. But when I right click on the link and select "Open link in new tab", it opens blank page. So how can I handle this scenario.
 Following is the sample code,
<ul class="rounded-corners "> <li name="menuSample"><a onserverclick="lnk_clicked" runat="server" href="~/Sample.aspx" title="Sample">Sample</a></li>
</ul>
Â
Server side code:
protected void lnk_clicked(object sender, EventArgs e)
{
strPage = (sender as System.Web.UI.HtmlControls.HtmlAnchor).Title.ToString();
Response.Redirect((sender as System.Web.UI.HtmlControls.HtmlAnchor).HRef);
}
View 1 Replies
Nov 29, 2010
Is there any opportunity to change it in Visual Studio - not in IIS?
View 2 Replies