Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I've a combobox to change language on my page. Because of page lifetime, I have to set all my labels, texts etc. from ResourceManager in prerender handler to be sure that culture change has been done. I can't set HeaderText property of DataGridColumn in prerender because it is evaluated during data binding. I don't want to call DataBind() in OnPreRender also... Any ideas?

 

BTW. I can walk through Controls collection, but it's very poor, hard coded solution (and problematic when we have some sortable and not sortable columns).

A man and a dog have an average of three legs.

Beaware of Statistics.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...