AD
Administrator
Syncfusion Team
February 9, 2007 12:21 AM UTC
Hi,
Please can you tell me when queryvalue event get fired....?
>>>>>
The QueryValue event is fired when a value for a field descriptor and record is returned. Please refer to the \Grid.Grouping.Windows\Samples\FeatureSamples\CustomFieldType\ sample that shows you how to use this event with unbound field?.
I want to explisitly call the event handler queryvalue ...?
>>>>>>
You can use the RaiseQueryValue method to raise the QueryValue event of the grid. Please try the code snippet below.
FieldValueEventArgs fvearg = new FieldValueEventArgs(this.grid.TableDescriptor.Fields[0],this.grid.Table.CurrentRecord,"test event");
this.grid.RaiseQueryValue( fvearg );
Best regards,
Haneef