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
Which two new properties are added in asp.net 4.0 page class?
What is the equivalent of date() and time() in asp.net?
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
How long does an http session last?
What does the orientation property do in a menu control?
Can one dll file contains the compiled code of more than one .net language?
What are httphandlers and httpmodules and difference between them?
Can user control be stored in library?
What are the advantages of asp.net mvc framework? : asp.net mvc
In which event are the controls fully loaded?
How do sessions work?
How can we prevent browser from caching an aspx page?
What's the use of response.output.write()?
Can the dictionary object be created in client?s scope ?
What is preprocessor in .net and type, where it use?