Prepare for your Next Interview
This is a discussion on Codebehind file in ASPx within the ASP.NET forums, part of the Web Development category; Question asked by visitor thiruvarasan How many codebehind file does ASPx file have in ASP.Net? Is it possible create multiple codebehind file for single aspx file?...
|
|||
|
Codebehind file in ASPx
Question asked by visitor thiruvarasan
How many codebehind file does ASPx file have in ASP.Net? Is it possible create multiple codebehind file for single aspx file? |
| Sponsored Links |
|
|||
|
Re: Codebehind file in ASPx
Hi,
I think it is not possible to create more than one code behind file for single aspx bcoz we need to bind the code behind file in aspx using page directive like <%@page autoeventwireup="false" codebehind="webform1.aspx.cs" %> here not possible to give the multiple files in codebehind attribute..... Regards, Hari Prasad |
|
|||
|
Re: Codebehind file in ASPx
it is not possible to have more than one code behind file for an aspx page. how ever if page include control (user controls) then each control will surely has its own ascx.cs
|
|
|||
|
Re: Codebehind file in ASPx
Hi,
developers will probably have one code behind page for every ASPX file, and not generally use the same code behind page for multiple pages. I think its a limitation of ASP.net code behind feature. Let me know if my understanding is incorrect |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to run .aspx page stored on another system? | Haitalk | ASP.NET | 6 | 02-27-2008 04:58 AM |
| Content of an obj file in C | JobHelper | C and C++ | 3 | 08-23-2007 05:25 AM |
| Is it possible to link our file to another file, | Geek_Guest | Unix/Linux | 1 | 04-05-2007 11:39 PM |
| Frigate3 File Manager: highly configurable and convenient file management environment | JobHelper | Geeks Lounge | 0 | 03-30-2007 02:30 PM |
| Lookup on the same file using the input file | JobHelper | Data Warehousing | 0 | 02-08-2007 01:45 PM |