Re: Request object doesn't include items that have a blank value

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello TS,

As for the non-value form item, do you mean the value of a certain form
item is an empty string? Based on my experience, for those server
controls (which represent html input form elements in html), as long as its
markup is rendered out in page's resposne and it is not disabled, the
postback form collection will contain its value. If you found that the
certain form item's value is empty, the only possible cause is that there
is no input data in the Control/html element. If the server control's
"Visible" is set to "false",it is not rendered out in html response and
you'll not even get it in the postback form collection.

BTW, what's the empty form value's name, is it a child control nested in
other template control(such as FormView, GridView ...)? Also, if you can
ensure the exact page that suffers this problem only, we can concentrate on
that particular page's control tree.

Please feel free to let me know if you have any new finding or have any
other questions we can help.


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: Web Form/SQL Table Structure
    ... So the Repeater tool output would look something like this: ... How would I call the correct control for the question (DropDownList, ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ContextMenuStrip and PreviewKeyDown
    ... Win32 control message model and input model. ... System.Windows.Forms.ContextMenuStrip class to "MyContextMenuStrip" class ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: ObjectList Data-Binding to a List
    ... All I want is a control that allows me to manually build HTML ... Thanks for getting back to me about all these posts. ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: trouble decoding managed call stack causing kernel complaint
    ... verbose symbol loading. ... you may use spy++ to find out that control. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.win32.programmer.kernel)
  • Re: DropDownList Input
    ... The control will then be added to the toolbox. ... "Nathan Sokalski" wrote: ... Microsoft MSDN Online Support Lead ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)