472,102 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,102 software developers and data experts.

composite control and postdata and naming?

Hi,

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:
urn:schemas-xxx-com:fieldname

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...

Thanks

Donal

Nov 18 '05 #1
0 1023

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
reply views Thread by leo001 | last post: by

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.