Thanks Dbroux,
Do you mean that your 'obj_GetRegionalRFPCompleted' method is not called if you don't click on the button?
It should be called since you hooked up the handler in the constructor.
Yes I put break point also but eveytime it says 0 count on feature layer.and on button click its working fine and it gives me perfect count please help me i need it on page load.and also after page load if i zoom in with mouse then i can see features.
Sidenote : instead of setting a symbol depending on an attribute by code, I suggest you use an UniqueValue renderer, so the symbol will be set automatically and will be updated when the feature is updated.
but I am using multiple tables and i can't use join because it is having one to many relationship.so i am not sure how i can implement unique value renderer?i will appritiate if you can explain me in detail.my one table is spacial table named point having fields as location_id second table is tabular table project having column as location_id in point there will be unique location_id and in project there are multiple projects with same location_id so if i do join then i can't retrieve all records.
Please help,