469,282 Members | 2,078 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,282 developers. It's quick & easy.

composite control and postdata and naming?


I'm currently playing with a custom composite control at the moment and I
can get it to get the posted data back in the control - however not the way
I want it to.

If I specify the control ID property as something like "fieldname" the
control behaves correctly during the PostData phase and the posted value is
stored in the control.

However I want to be able to specify the name attribute on the input control
in the following format:

However asp.net does not appear to like this format and the internal control
does not get set with the value during the post data phase.

Are there known documents naming conventions that must be adhered to with
this id so that postdata processing will process correctly??? I could not
find any on msdn.

Another thing I noticed is that the composite control must inherit off
INamingContainer or it will NOT partake of processing during the PostData
phase - is it possible to get the posted data back without inheriting of
INamingContainer - again thinking of the control attribute name in the
format of urn:schemas-xxx-com:fieldname

Any ideas greatly appreciated...



Nov 18 '05 #1
0 978

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Mike Schellhase | last post: by
reply views Thread by Satya Bojanapally | last post: by
1 post views Thread by Paul Kia | last post: by
reply views Thread by multiformity | last post: by
reply views Thread by kamimeer | last post: by
3 posts views Thread by Eric | last post: by
6 posts views Thread by shapper | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.