473,887 Members | 2,286 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PostBack with Front Controller

Hi,

We are using Front Controller implementation in our DotNet application.

I am trying to hide URL in my application. This is based on Front Controller
model.

I am able to achieve if I do not use postback in ASP.Net control. If I post
back from a ASP.Net control it takes me to the correct page and the URL is
displaeyd as it is.

I tried faking _dopostback() on client and changing the form.action - so
that the action of the page is not revealed. But if I do this is not
considered as Post Back and my POst BackEventHandle r function on server is
not called.

Do you know if there is some better approach to use .Net server controls
with Front Controller.

Thanks in Advance.

Alok
Nov 18 '05 #1
2 1947
perhaps this will get you what you are after

http://msdn.microsoft.com/library/de...ollerInASP.asp

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Alok Jain" <al***@renewa l-iis.com> wrote in message
news:OC******** ******@tk2msftn gp13.phx.gbl...
Hi,

We are using Front Controller implementation in our DotNet application.

I am trying to hide URL in my application. This is based on Front Controller model.

I am able to achieve if I do not use postback in ASP.Net control. If I post back from a ASP.Net control it takes me to the correct page and the URL is
displaeyd as it is.

I tried faking _dopostback() on client and changing the form.action - so
that the action of the page is not revealed. But if I do this is not
considered as Post Back and my POst BackEventHandle r function on server is
not called.

Do you know if there is some better approach to use .Net server controls
with Front Controller.

Thanks in Advance.

Alok

Nov 18 '05 #2
Thanks Curt, This talks about how to implement Front Controller but does not
give much information on how to use postback feature in front controller.

Alok

"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:Ou******** ******@TK2MSFTN GP10.phx.gbl...
perhaps this will get you what you are after

http://msdn.microsoft.com/library/de...ollerInASP.asp
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Alok Jain" <al***@renewa l-iis.com> wrote in message
news:OC******** ******@tk2msftn gp13.phx.gbl...
Hi,

We are using Front Controller implementation in our DotNet application.

I am trying to hide URL in my application. This is based on Front

Controller
model.

I am able to achieve if I do not use postback in ASP.Net control. If I

post
back from a ASP.Net control it takes me to the correct page and the URL is displaeyd as it is.

I tried faking _dopostback() on client and changing the form.action - so
that the action of the page is not revealed. But if I do this is not
considered as Post Back and my POst BackEventHandle r function on server is not called.

Do you know if there is some better approach to use .Net server controls
with Front Controller.

Thanks in Advance.

Alok


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
4423
by: Prasad Patil | last post by:
Hi I am trying to understand the article http://msdn.microsoft.com/practices/type/Patterns/Enterprise/DesFrontController/ http://msdn.microsoft.com/practices/type/Patterns/Enterprise/ImpFrontControllerInASP/ [/url which describes Enterprise Solution Patterns Implementing Front Controller in ASP.NET Using HTTPHandler. When i created the web application and tried to run the same It gives me Parser Error Message: Unrecognized configuration...
2
1388
by: Colin Basterfield | last post by:
Hi, has anyone (tried to) implement the Front Controller pattern as described at http://msdn.microsoft.com/architecture/patterns/ImpFrontControllerInASP/ I'm having trouble resolving the controller.mapping section in the web.config file, as it is used in UrlMap.cs and that is used by RedirectingCommand.cs in the samples given in the article above.
2
1921
by: Magdelin | last post by:
I am trying to implement the front controller web presentation design pattern proposed by MS at the following link: http://msdn.microsoft.com/practices/type/patterns/enterpris e/desfrontcontroller/ Alternative source: Downloadable pdf for "Enterprise Solution Patterns Using Microsoft .NET" at http://msdn.microsoft.com/practices/type/Patterns/Enterpris
2
3223
by: Mr Wizard | last post by:
I am going through the front controller http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ImpFrontControllerInASP.asp and all works well except when the server.transfer occurs. I get invalid IsPostBack results which I believe can fixed using the patch in KB:821156. How do I get this patch? Another question in the same pattern is when using LoadConrol to load a .ascx file I get "maps to another application,...
1
2204
by: NGM | last post by:
Hello All When implementing FrontController sample MSDN I am facing a lot of problems try implementing the front controller patterm sample provided by microsoft: (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns/html/ImpFrontControllerInASP.asp) The irony of microsoft asp.net sample is it does not work...and the WORKAROUND as they say it is provide in article...
5
1438
by: garethdjames | last post by:
A while ago I read news about ASP.Net 2.0 having support for the Front Controller model, In all the reports I have read and in the latest beta download I can see no implicit support for this model Does anyone have any ideas?
3
2481
by: Ashish | last post by:
Is anyone aware of a good Front Controller Pattern implementation in ASP.Net, we are developing a new product, and contemplating whether we should use Front Controller Pattern implementation, due to the flexiblity it provides for navigation and loading views etc.... any pointers/comments would be appreciated. regards -ashish
4
1595
by: Kunle Odutola | last post by:
WebForms used to be a Page controller architecture (in .NET 1.x) which severely limited (prevented?) true MVC designs with WebForms. Any ideas? -- Don't talk unless you can improve the silence.
1
3042
by: Aquaren | last post by:
I have a framework that uses the front controller design pattern for a single point of entry to the application and the autoload function for includes. I am trying to incorporate AJAX into the framework, but the javascript calls to php ignore my front controller code when instantiating classes. Can someone please provide me with some hints on how I can make this work? Thank you.
0
9799
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10877
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10434
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7988
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7143
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6011
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4633
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4239
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3245
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.