Hi there!
I would like to know if there is any kind of way to get or set a property of an object that is inside a FormTemplate. For instance:
| <telerik:RadGrid ID="RadGrid1" ...> |
| <MasterTableView ...> |
| <EditFormSettings EditFormType="Template"> |
| <FormTemplate> |
| <telerik:RadPanelBar ID="RPBTemplate" ...> |
| <Items> |
| <telerik:RadPanelItem ...> |
| ... |
| <telerik:RadPanelItem ...> |
| ... |
| </Items> |
| </telerik:RadPanelBar> |
| </FormTemplate> |
| </EditFormSettings> |
| </MasterTableView> |
| </RadGrid> |
and I want that in the PageLoad event it sets the visibility of the first RadPanelItem to true and the second one to false. Is that possible? Because I tried some ways but it seems impossible to access to the objects included in the FormTemplate. Or more likely it's possible that I'm not able to do it because of my unexperience in the RadControls, I dunno.
I tried to «surf» the RadGrid1.MasterTableView.EditFormSettings.FormTemplate object, but nothing to do... let me know and thanks in advance!