Asp.Net Source :- In my project i have gridview control -
item template. Its have asp:button control. my requirement
is while click this button i need to display some alert
message.
Could you please help me which gridview event i need to
write source code?
Please give me a quick response.
Thanks

Answer Posted / bhavin khatri

you can write code for messege directly to the click event
of button otherwise
write 'Edit' in the commandname property of button which u
are added then in gridview write onrowediting event

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which two new properties are added in asp.net 4.0 page class?

529


What is the equivalent of date() and time() in asp.net?

517


Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal

1379


How long does an http session last?

531


What does the orientation property do in a menu control?

536






Can one dll file contains the compiled code of more than one .net language?

540


What are httphandlers and httpmodules and difference between them?

528


Can user control be stored in library?

525


What are the advantages of asp.net mvc framework? : asp.net mvc

546


In which event are the controls fully loaded?

568


How do sessions work?

540


How can we prevent browser from caching an aspx page?

531


What's the use of response.output.write()?

768


Can the dictionary object be created in client?s scope ?

1992


What is preprocessor in .net and type, where it use?

662