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
How can you register a custom server control to a web page?
Can you nest updatepanel within each other?
What is the function of new view engine in asp.net? : asp.net mvc
How does viewstate work?
What are the differences between code behind and code inline?
What is base class of button control in .net?
Explain cashing in asp.net.
Out of ASP or ASP.NET which one is stateless?
What is clickid?
What are client activated objects?
Is asp.net and .net are same or different?
What are validator? Name the validation controls in asp.net?
How can we use Web API with ASP.NET Web Form?
What is a server farm in iis?
Explain the use of duration attribute of @outputcache page directive.