I event tried to set the text value of a asp:Literal control. If I used the same code in the button click event of a button on the page, then it works fine. The ASPxGridView Templates give you total control over the way individual editors are displayed within the Edit Form. Response.Write("alert('Your updated has been saved successfully')") ĬlientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + 'Your updated has been saved successfully'+ "') ", true) īut in either case, no message box is displayed. I tried the following codes in the RowUpdated event of both the gridview and the objectdatasource: This could be a simple javascript alert box or a message displayed on the page itself. After either inserting new row or updating an existing row, I have to show a message box saying "Your update has been saved successfully". Button provides the property, which specifies which element is used to render the button: a div element (the Button value) or a hyperlink (the Link value). In this demo, a theme applied to the buttons can be specified using the THEMES link in the top-right corner. Both the master and detail gridviews have link buttons for edit and add new activities. The easiest way to change the Button appearance is to apply a DevExpress theme.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |