locked
Datagrid localization RRS feed

  • Question

  • User-543167284 posted

    i have data in my datagrid coming from the database  

    Is it possible to localize it

    Thursday, May 6, 2010 6:48 AM

Answers

  • User-2080168305 posted

    also check this related post:


    http://forums.asp.net/t/1051955.aspx
    http://forums.asp.net/t/480687.aspx
    http://forums.silverlight.net/forums/p/37899/111811.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, May 6, 2010 7:27 AM

All replies

  • User-2080168305 posted

    u can not localise data than stored in DB.

    But u can store data in differant language and display it using from server side.

    Thursday, May 6, 2010 7:02 AM
  • User-543167284 posted

    so you mean that if there is data(tecxt in this case) coming from the database in the grid view, i will have to store the translated version in the in the db itself. Cannot i store the data that comes from the db in the resource files only with the transalted version.

    Note that the data fetched into the gridview from the db will be same everytime

    Thursday, May 6, 2010 7:10 AM
  • User-2080168305 posted

    if u have fix row or data in db for datagrid.

    than u can do localisation.

    Try to get the HTML Source code in View Source page from browser after page load complete.

    there u can see html formate of datagrid.

    pick IDs of control from there and add it to Resource file.

    so may be by doing this. i can apply localisation to datagrid.

    Thursday, May 6, 2010 7:25 AM
  • User-2080168305 posted

    also check this related post:


    http://forums.asp.net/t/1051955.aspx
    http://forums.asp.net/t/480687.aspx
    http://forums.silverlight.net/forums/p/37899/111811.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, May 6, 2010 7:27 AM
  • User-2080168305 posted

    refer this site too.

    u get idea.

    http://www.c-sharpcorner.com/uploadfile/mosessaur/aspnetlocalization02042006165851pm/aspnetlocalization.aspx


    Thursday, May 6, 2010 7:33 AM
  • User-543167284 posted

    Thanks Very Much :) !!! 

    Thursday, May 6, 2010 8:58 AM
  • User-1636183269 posted

    create base page, go through below forum

    http://forums.asp.net/t/1514920.aspx

    then refer

    http://forums.asp.net/t/1540202.aspx


    Thursday, May 6, 2010 9:42 AM
  • User-543167284 posted

    Try to get the HTML Source code in View Source page from browser after page load complete.

    Hi Chintan when i view the html source of the grid view there are no separate ids for the different rows of the grid view but only the td tr combinations and a single gird view id

    Tuesday, May 11, 2010 2:54 AM
  • User-2080168305 posted

    ya there is only one gridview id. but u can find differant ids of control in each row. like textbox, label etc.

    but gridview id is not more than one.


    Tuesday, May 11, 2010 3:34 AM
  • User-543167284 posted

    Ok you mean to say that i shuld use some other control (can i use a table) and not the grid view

    Tuesday, May 11, 2010 4:39 AM
  • User-2080168305 posted

    no u can use gridview too.

    I mean if there is any control in gridview like lable than in html soruce each row of griview having differant id of lable in HTML SOURCE CODE

    of browser.

    Tuesday, May 11, 2010 4:49 AM