|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
how to show dialogbox when click on datagrid template column?hai,
i am using datagrid template column ,it is text box column. if i put any thing in that cell and when i leave that cell i need to show a dialog box with that enterd string. please can any one give answer as early as possible. chandu напиÑав:
> hai, Add client-side function call in the grid item data bound event handler> i am using datagrid template column ,it is text box column. > if i put any thing in that cell and when i leave that cell i need to show a > dialog box with that enterd string. > please can any one give answer as early as possible. private void DataGrid1_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { TextBox TextBox1 = e.Item.FindControl("TextBox1") as TextBox; if (TextBox1 != null) TextBox1.Attributes["onblur"] = "alert(this.value);"; } "TextBox1" is ID of Texbox
only for expert: what's wrong with this code?
HyperLinkField and OnRowDataBound Enabling Windows Authentication from inside Forms Authentication (ASP.NET 2.0) How do I get a bitmap from the theme? visibly disable img link Visual Development of Web Controls for SharePoint Can a repeater's ItemTemplate instantiate derived classes? extending web controls Help on java script navigator for database available? |
|||||||||||||||||||||||