asp:ControlParameter vs. asp:FormParameter in Master Page
I hit what I considered to be an annoying “issue” in ASP.NET 2.0 the other day that I thought I would share so others can avoid the problem.
I created a form with some text controls and an sqldatasource that called a stored proc while accepting parameters via asp:FormParameter. This worked great and tested out fine. Once I added the same code into a Master Page, everything began getting passed as “NULL” (it was no longer finding the FormParameters on the page. After troubleshooting for more time than I preferred, I found out that I can achieve success by using the asp:ControlParameter.
Everything is now working fine, and if you have come up to the same thing, I hope this helps you too.
Related Information:
- Oracle Portal HTML Templates - Page Skins, Content Layouts and More
I have seen a large number of Oracle Portal implementations, and even a fair number using Portal version 10.1.4. It...
- Oracle ADF Faces 10g: Submitting a part of the page
Did you know ADF Faces allows you to submit only part of a page? This can be useful when you...
- Oracle Portal HTML Templates (Page Skins and Content Layouts) - Cache
If you use HTML Templates (Page Skins and/or Content Layouts) on your Oracle Portal implementations, you might notice that they...
- Oracle Forms - Remove List Element from List Item
This one is a little wily, so John suggested we post it. Removing a label/value from a dropdown should be...
- Oracle Portal Broken with iPhone
SSL with Oracle Application Server WebCache and iPhone The latest iPhone update appears to have broken some SSL-enabled OracleAS sites....
- IIS Error - W3SVC Not Starting - Event ID 115
Did your personal IIS stop working recently — the one you run on XP perhaps? Did you get the following...
- SOA with M&S: Demystify, Discipline, and Deliver
SOA Labels
Among their many characteristics, all too often SOA projects have been labeled in their worst moments as:- ...
- Microsoft CRM 3.0 - Hide Links in Left Navigation - Example Code
Here is an example of code to get stripped down contact and account forms. This code is placed in the...

Nov 17, 2009
I was having the exact same error and this fixed it! Thank you so much!
Also note that with ControlParameter, you cannot use FormField. I’m using ControlID instead.