or
m_oWebMenu.Attributes.Add("onmouseout", "hideRadMenu(event, '"+ m_oWebMenu.ClientID +"')");
old output:| public void RadGrid1_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e) |
| { |
| if (e.CommandName == RadGrid.InitInsertCommandName) |
| { |
| e.Canceled = true; |
| e.Item.OwnerTableView.InsertItem(); |
| GridEditableItem insertedItem = e.Item.OwnerTableView.GetInsertItem(); |
| TextBox drzava = insertedItem.FindControl("TextBox_drzava") as TextBox; |
| drzava.Text = "Slovenija"; |
| TextBox id_sod = insertedItem.FindControl("TextBox_idsod") as TextBox; |
| id_sod.Text = Profile.stevilkaSodelavca; |
| } |
| if (e.CommandName == "Add") |
| { |
| e.Canceled = true; |
| e.Item.OwnerTableView.InsertItem(); |
| //PODATKI IZ BAZE |
| String strKraj = ""; |
| String stPoste = "0"; |
| GridEditableItem insertedItem = RadGrid1.MasterTableView.GetInsertItem(); |
| TextBox posta = insertedItem.FindControl("TextBox_posta") as TextBox; |
| stPoste = posta.Text; //HERE I GOT "" (empty string) |
| TextBox drzava = insertedItem.FindControl("TextBox_drzava") as TextBox; |
| drzava.Text = "Slovenija"; |
| TextBox id_sod = insertedItem.FindControl("TextBox_idsod") as TextBox; |
| id_sod.Text = Profile.stevilkaSodelavca; |
| TextBox kraj = insertedItem.FindControl("TextBox_kraj") as TextBox; |
| kraj.Text = strKraj; |
| } |
| } |
Why we are choosing rad controls for ASP.NET AJAX(Q2/2008)
If we have fine with RadControls for ASP.NET Q1 2008.
What are the advantages to build Q2/2008 built on top of MS ASP.NET AJAX?
If my old version telerik controls are fine working on vs2008/asp.net3.5
Regards,
Abhi