Home Page

 

Computers

 

Developer

Asp.Net Tips

Error: 'Global' is ambiguous

This happened when the name of a web application was changed. The dll with old name remained in the bin folder and was included in the compilation, therefore making Global ambiguous.

Focusing on a certain control

SmartNavigation property is used to set the focus to the previous place in the page after the postback.

Translation of DataGrid

To reference the controls in template columns is difficult. So, instead of buttons for commands, the image buttons can be used. That way they display the image and the HeaderText of the column can be used for the text that is to translated.