can i include .aspx into another .aspx file ?
-
I just switched from Jsp to Asp.Net. My working .aspx file has become very large , and i am using a wizard and i want to separate codes for each step in different files . Cann anyone Help , coz it become so bulky !
If you are using ASP.NET 2.0 there is a wizard control that should help you. Consider your design also. Is it necessary to have everything all on the same page, or would breaking it up into more pages be better for development, maintenance and performance?
only two letters away from being an asset
-
I just switched from Jsp to Asp.Net. My working .aspx file has become very large , and i am using a wizard and i want to separate codes for each step in different files . Cann anyone Help , coz it become so bulky !
One solution is to use web UserControls User controls come as ascx files and contain the same functionality (even pageload is there) as an aspx. The great thing is that you can dynamically load and unload usercontrols on an aspx by using a panel or some other methods. In visual studio, add a new file of type " Web User Control" for each step of your wizard and add the required coding in each ascx. Then use a panel in your aspx to load and unload the different user controls programmatically. Hope this helps.:) Carpe diem Krugger
-
One solution is to use web UserControls User controls come as ascx files and contain the same functionality (even pageload is there) as an aspx. The great thing is that you can dynamically load and unload usercontrols on an aspx by using a panel or some other methods. In visual studio, add a new file of type " Web User Control" for each step of your wizard and add the required coding in each ascx. Then use a panel in your aspx to load and unload the different user controls programmatically. Hope this helps.:) Carpe diem Krugger
Not a good architecture for building a wizard. Loading and unloading user controls on the fly has problems that will become apparent when you try using doing it. Have you?
only two letters away from being an asset
-
Not a good architecture for building a wizard. Loading and unloading user controls on the fly has problems that will become apparent when you try using doing it. Have you?
only two letters away from being an asset
I did use it but not for wizards. Can you please tell me more about these "practical problems" plz? Carpe diem Krg
-
I did use it but not for wizards. Can you please tell me more about these "practical problems" plz? Carpe diem Krg
If you had seriously used this technique for real production applications you would have encountered the issues of state management and viewstate corruption.
only two letters away from being an asset
-
If you had seriously used this technique for real production applications you would have encountered the issues of state management and viewstate corruption.
only two letters away from being an asset
Thanks for the clue. I will give it a go. :-) Carpe diem Krg
-
Thanks for the clue. I will give it a go. :-) Carpe diem Krg