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
470
meta:resourcekey
posted

 Hi,

 

I have a webgrid version 2007/3 in a WARP and I have set the Data structure The Autogenerate in DisplayLayout is set to true each column is set to Databound.

After that I added to each Column a 'meta:resourcekey'.

 

Now, when I load the page the column names are localized as expected.

Afer that I do an search and do this

        grdCylinderMoves.DataSource = dtAffectedMoves.DefaultView;
        grdCylinderMoves.DataBind();
 

With this all localized column headers are gone.

Obviously the meta Tags are cleared by DataBind method. Thats terrific badDevil.

Then I tried to set the Autogenerate to false , but that causes in the InitializeLayout a null reference exception on hiding a column.

 

Are there any other suggestions I could try?