.NET Framework Bookmark and Share   
 index > Chart Controls for .NET Framework > Code-Behind File
 

Code-Behind File

I am trying to host my asp.net website using OfficeLive web server, but one of my apsx web pages has a Codebehind file attached to it.

When i try to upload my files to the remote site, it gives me an error saying that Code-Behind attribute is not supported.

My code-behind file has the following code in the Page_load function.

public partial class Contact : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
txtName.Focus();
}
}

How can I include this function in the aspx page itself and get rid of the code-behind file.

Axeion
This forum is dedicated to the MS Chart control. Please post your question on the correct forum.

Alex.
http://blogs.msdn.com/alexgor
Alex Gorev

You can use google to search for other answers

Custom Search

More Threads

• The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) Word interop on RE-open
• Simple Pie Chart Display
• how to set the chart control's Title Height or width?
• Pie Chart ToolTip Not Working Need Help
• error generated in using WinSamples with databinding to csv file
• MOSS 2007 Blank Chart Image
• How go I get the HTML for the chart image AREA map
• outlook warning
• Display percentage and value in data labels?
• Custom IChartStorageHandler implementation fails to load