Sign in | Join
Last post 07-07-2009 5:33 AM by sjnaughton. 3 replies.
Sort Posts: Oldest to newest Newest to oldest
hi,
in my insert.aspx.when i select Type e.g. "external" (Type is Column in DB)Domain is required Field when Type="internal" domain is not required.
How can i do it onchanging or onchanged event
Thanks
Hi Orimaspnet, I'm not sure what you are trying to do? It may be better is you describe what you want to achive.
ok.- Insert.aspx- There i have a dynamiccontrol (e.g. Type) which is a dropdownlist UIHint from FieldTemplateswith listitems "internal" and "external"- an other dynmiccontrol have (e.g. Account)- on selecting Type= "internal" the Account is not requiered Fieldand on selecting "external" the user must specify an Account so the Field is required- i tried it in the table class with <Required> Attribute - in the event "OnTypeChanging" but i can not access the value of the "Type" which is a dynamiccontrolThanks
Ah! I have a sample wich does somthing like this, Communicating Between FieldTemplates in Dynamic Data... this sample has fields depending upon a checkbox if checked the show if not they hide, should be easy to modify for your use.