hi i have a problem regarding to datagrid in aspdotnet.i
have a datagrid in my application.i have to place
add,edit,delete buttons or links what ever it may be.
now the problem is if i click on add button then the page
has to redirected to another form called "xyz.aspx" and if
i click on edit button the page has to redirected to
another form called "abc.aspx".i am phasing the problem
that if where ever i click on the datagrid the cursor goes
to gv1_SelectedIndexChanged event.please tell me the
solution about the code.
Answer Posted / sasireddy
Hey,
There is one more option do that.i.e. Take one
Tepletecolumn,in that u should like this
<asp:TemplateColumn HeaderText="Add/Edit/Delete">
<ItemTemplate>
<font face="verdan" size="2"><a href="Add.aspx"
runat="server" ID="A1">Add</a> <a
href="Edit.aspx" runat="server"
ID="A2">Edit</a> <a href="Delete.aspx"
runat="server" ID="A3">Delete</a>
</font>
</ItemTemplate>
</asp:TemplateColumn>
from this you can do Process.......
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What parameters can you pass in the url of the api?
What is a page life cycle?
What is caching in asp.net?
What is difference between view and partial view?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
Can we store object in viewstate?
What is the application pool?
How do active server pages work?
What is use of <% %> in asp.net?
What are the HTML server controls in ASP.NET?
Give a few examples of page life cycle events.
What is the difference between localization and globalization?
Can we handle the error and redirect to some pages using web.config?
What is web api vs wcf?
What are httphandlers and httpmodules and difference between them?