Ask a Question related to ASP.NET General, Design and Development.
-
John Saunders #1
Re: ProcessPostData Second Try - Can I force PostData to be processed myself
Neil, without getting too much into the specifics of your question, let me
pass along the following advice:
Don't do anything weird.
Consider that tens (or hundreds?) of thousands of developers have tested the
"normal" way, but that you may be the only person trying it the "weird" way.
I found this out the hard way. I just got a complicated control to work
properly - by methodically removing anything "weird". For instance, rather
than play desperate games trying to switch between two sets of controls at
runtime by tricking ASP.NET into loading their ViewState at the proper
times, I now create _both_ sets of controls and let ASP.NET handle their
ViewState in the "normal" manner. Not surprisingly, Microsoft tested the
"normal" case, and it works!
--
John Saunders
Internet Engineer
[email]john.saunders@surfcontrol.com[/email]
"Neil Kimber" <neil.kimber@flytxt.com> wrote in message
news:%23%23K6Z2PUDHA.1576@TK2MSFTNGP12.phx.gbl...possible> I understand the reasoning for ProcessPostData Second Try.
> For controls to be correctly populated with PostBack data they must be
> created dynamically no later than Page_Load() event. However, is it> for me to create controls dynamically after Page_Load() and then cause the
> PostBack data to be correctly loaded programmatically? Could I have
> something like:
>
> MyUserControl.LoadPostBackData();
>
> Any suggestions?
> Thanks,
> Neil
>
>
John Saunders Guest
-
CFPARAM default value always processed?
I'm not sure I understand this... recently, I found out that the cfparam default value is always processed... shouldn't this tag only process the... -
Checking a form before its processed?
I have a simple CFFORM that asks a user for a seach string, that then compares that to a Verity collection. What I am wondering if it is possible... -
will php tags be processed in an html page?
I am sure I heard that recent browsers can process the php script on a page with the html extension...Is this true? -
Handle exception in ProcessPostData
Is there any way to catch (and handle) exceptions in the ProcessPostData or ProcessPostDataSecondTry methods? p.s. From custom web control. ... -
Config Problem-CF not being processed
We recently installed Dreamweaver MX but have been unable to get local files to be processed through the PWS configuration. The server generates...



Reply With Quote

