Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
Dataformatstring for bool value in BoundDataField in Webgrid
posted

Hello,

Could you please provide any way to show bool presentationin in Yes/No format for cell value and in filter text value instead of true/false.

I tried with following code , but it didn't work,

it is working at run time but i want it on aspx page itself and same in filteration

 

 

 

 

 

<ig:BoundDataField DataFieldName="IsActive" Key="IsActive" DataFormatString

="{0:Yes/No}">

 

 

 

<Header Text="IsActive"

/>

 

 

 

</ig:BoundDataField

>

Regards,

Rohan