Hi,
I am setting the fields, titles, widths in fieldlayoutinitialized event.
is it possibile to call this event just to refresh the fields titles?
How do i get this?
Just wanted to say Thank You for the tip. Works perfectly.
i find if you clear fields of DefaultFieldLayout and then set the dataSource again,the event will be triggered.
hope it can help you.
hey yanko,
I need to ask that how to call
FieldLayoutInitialized(object sender, FieldLayoutInitializedEventArgs e)
explicitly by the programmer.?
thanks
Hi kornelraju ,
In answer to your question I would like to use the comment made by Joe Modika on the FieldLayoutInitialized Event : DataPresenterase Class.
"The FieldLayoutInitialized event is called at a specific point in the lifetime of a FieldLayout – i.e., right after it is initialized to allow the developer to do some custom initialization. It wouldn’t make sense to cause the event to fire at some other time. If the developer wants to perform the code in his FieldLayoutInitialized event handler at some other point in time, he should probably break that code out into a separate method and then call that method from both the FieldLayoutInitialized eventhandler and other locations in his code."
Best Regards,Yanko