» Home » ASPX » Page 1
ASP.NET: If Page1.aspx opens Page2.aspx in a window, how can I have Page1.aspx refresh once Page2.aspx is closed?
Category : Programming Languages

If Page1.aspx opens Page2.aspx in a window, how can I have Page1.aspx refresh once Page2.aspx is closed?


I have a page with data on it and I have a LinkButton set up so the user can edit that data. The LinkButton launches another windowed page with some text fields and a "Save" & "Cancel" button. Once one of those clicks I execute a save and close the window OR just disregard t


View Replies


aspx with image doesn't display when is invoked from <img src=“with_Image.aspx” >
Category : Programming Languages

I've got two aspx pages: Default.aspx and with_Image.aspx.
From Default.aspx, I tried to show a jpg image that is in with_Image.aspx.
with_Image.aspx displays the jpg image without problems. But Default.aspx doesn't display any image, only displays an "X".


On Default.aspx:


<body>
<form id="form1" runat="server">
<div>

View Replies


IIS 6/7 Threading - Long running aspx page keeps other aspx pages from loading
Category : Programming Languages

I wrote a test page that does a bunch of busy work in a method called at page load. This process as I have it now takes around 12 seconds.


If I try to load another page while the first long running page is loading, this second page doing nothing except writing out a hello world, it doesn't load until the first long running page is finished.


Why is this the case? I would


View Replies


passing variable from aspx JScript code behind to markup aspx file
Category : Programming Languages

I can't find a way to pass a variable declared in my code-behind aspx.js file to the corresponding code-behind.aspx markup file. The error I keep getting is this:


Parser Error Message: Code blocks are not allowed in this file.

My Code-Behind.aspx.js looks like this:


import System;
package Test {
class CodeBehind extends System.Web

View Replies


How to programmatically customize editform.aspx/newform.aspx with SP2007?
Category : Software

I have been looking for a solution for hours but I can't manage to customize my list forms. Although it is very easy to modify the form under SPDesigner, I can't find a way to do the same in VS2008.


Does anyone know the way to customize a form programmatically ?


Thank you very much


View Replies


Dummy STS project is missing Default.aspx and Login.aspx
Category : Programming Languages

Has anyone ever run a problem where creating a new STS project in Visual Studio via the "Add STS Reference ..." menu item yields a project that does not contain the necessary Default.aspx and Login.aspx files? This was working earlier and now I'm baffled.


View Replies


@ Reference Control in .aspx, but class not found in respective aspx.cs
Category : Programming Languages

Hopefully the title made at least some sense.


I've been fiddling with ASP.NET and C# for the first time today - following a tutorial. I have comfortably got as far as this; however, when I try to implement:


<%@ Reference Control="~/UserInfoBoxControl.ascx" %>

and


UserInfoBoxControl userInfoBoxControl = (UserInfoBoxControl)Loa

View Replies


CodeFile=“Registration.aspx.cs” can add multiple partial classes files to this line in aspx page
Category : Programming Languages

I have created 3 partial classes and i want all of them to be grouped under same page.
Like Registration -> Registration.aspx.cs, Registration_db.cs, Registration_validation.cs.


Is it possible to group all these files under same category i.e registration under tree view of solution explorer.


<%@ Page Language="C#" MasterPageFile="~/Master Pages/LeftMenu.maste

View Replies


ASPX server code is being created in .aspx file
Category : Programming Languages

just moment ago I discovered strange behaviour of my visual studio environment. I'm using ASP.net web application. When the webform is added, and i'm trying to place button on webform, instead of declaring button_Click event in code-behind file (WebForm.aspx.cs) this declaration is placed in aspx.file as follows:


<script runat="server">
protected void Button2_Click(obj

View Replies


Aspx.cs doesn't recognize controls declared in aspx?
Category : Programming Languages

I created a branch new web project:
File -> New -> Project -> ASP.NET Web Application


Then I tried to add a simple control asp:Label but the aspx.cs doesn't recognize this declaration for some reasons. I didn't make any changes to the default project. It contains 6 pages:



Does anyone know what could cause this issue? Thanks.


EDIT
Here wh


View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .