1
Answer

Google Translator with webservices

Photo of divya

divya

12y
1.1k
1
 How to use google translator in web application?If any one has any examples please let me know..

 Actually what i want is in a form i have two blocks if i entered text (english) in one block then in the other block it should translate to the other language..and also i want to save this content..

Thanks & Regards

Divya

Answers (1)

0
Photo of Midhun T P
NA 19.7k 281.2k 7y
Hi,
 
The issue is that, when postback happens html controls are going back to the initial state. You may need to call the  expandcollapsesub() function from backend for them to go to open state again.
-1
Photo of Gokhul Varman
NA 10.7k 9.4k 7y
  1. protected void AddRows(object sender, EventArgs e)  
  2. {  
  3.     GridViewRow row = (sender as LinkButton).NamingContainer as GridViewRow;  
  4.     string orderId = (row.FindControl("txtOrderId") as TextBox).Text.Trim().Replace(",""");  
  5.     string orderDate = (row.FindControl("txtOrderDate") as TextBox).Text.Trim().Replace(",""");  
  6.     //Write code here to save these two variable data in SQL table  
  7.     Response.Redirect(Request.Url.AbsoluteUri);  
  8. }