Click here to Skip to main content
15,897,518 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralASP.NET membership tables in SQL Server Pin
Rohde10-Apr-08 5:36
Rohde10-Apr-08 5:36 
GeneralRe: ASP.NET membership tables in SQL Server Pin
Jesse Squire10-Apr-08 5:51
Jesse Squire10-Apr-08 5:51 
GeneralRe: ASP.NET membership tables in SQL Server Pin
Rohde10-Apr-08 5:55
Rohde10-Apr-08 5:55 
GeneralValidatorCalloutExtender in Composite control [modified] Pin
mastoj10-Apr-08 5:11
mastoj10-Apr-08 5:11 
GeneralRe: ValidatorCalloutExtender in Composite control Pin
mastoj10-Apr-08 7:06
mastoj10-Apr-08 7:06 
QuestionAnimated Gif Not Extending the Animation Pin
Innovenkat10-Apr-08 4:12
Innovenkat10-Apr-08 4:12 
Generalgridview find row Pin
eyeseetee10-Apr-08 3:19
eyeseetee10-Apr-08 3:19 
GeneralRe: gridview find row Pin
Herman<T>.Instance10-Apr-08 3:46
Herman<T>.Instance10-Apr-08 3:46 
A hands-on example for ya (don't mind the Dutch words in it)
In your aspx:
<asp:TemplateField ItemStyle-Width="16px" >
    <ItemTemplate>
        <asp:ImageButton runat="server" ID="imgAnnul" ImageUrl="~/Images/x16.png" AlternateText="Reservering annuleren" CommandName="AnnulGrid" OnCommand="Grid_OnCommand" />
    </ItemTemplate>
</asp:TemplateField>


in your aspx.cs code:
protected void Grid_OnCommand(Object sender, CommandEventArgs e)
        {
            ImageButton btn = (ImageButton)sender;
            GridViewRow row = (GridViewRow)btn.NamingContainer;
            if (e.CommandName.Equals("AnnulGrid"))
            {
                grdReservation.SelectedIndex = row.RowIndex;
                 // youd code here

                grdReservation.SelectedIndex = -1;
            }
            LoadReservation(grdReservation.PageIndex);
        }

GeneralRe: gridview find row Pin
eyeseetee10-Apr-08 4:03
eyeseetee10-Apr-08 4:03 
GeneralRe: gridview find row Pin
Herman<T>.Instance10-Apr-08 5:28
Herman<T>.Instance10-Apr-08 5:28 
GeneralRe: gridview find row Pin
eyeseetee10-Apr-08 21:25
eyeseetee10-Apr-08 21:25 
GeneralRe: gridview find row Pin
Herman<T>.Instance11-Apr-08 1:08
Herman<T>.Instance11-Apr-08 1:08 
QuestionProblem using Crystal Report .NET in ASP.NET Pin
Fabu197110-Apr-08 3:00
Fabu197110-Apr-08 3:00 
GeneralRe: Problem using Crystal Report .NET in ASP.NET Pin
Herman<T>.Instance10-Apr-08 3:49
Herman<T>.Instance10-Apr-08 3:49 
GeneralRe: Problem using Crystal Report .NET in ASP.NET Pin
Fabu197116-Apr-08 7:28
Fabu197116-Apr-08 7:28 
GeneralRe: Problem using Crystal Report .NET in ASP.NET Pin
Herman<T>.Instance16-Apr-08 10:43
Herman<T>.Instance16-Apr-08 10:43 
GeneralCreate ASP.NET pages (without an IDE) Pin
ChandraRam10-Apr-08 2:36
ChandraRam10-Apr-08 2:36 
GeneralRe: Create ASP.NET pages (without an IDE) Pin
Not Active10-Apr-08 3:28
mentorNot Active10-Apr-08 3:28 
GeneralRe: Create ASP.NET pages (without an IDE) Pin
ChandraRam10-Apr-08 4:43
ChandraRam10-Apr-08 4:43 
GeneralRe: Create ASP.NET pages (without an IDE) Pin
Reanalyse10-Apr-08 12:51
Reanalyse10-Apr-08 12:51 
GeneralRe: Create ASP.NET pages (without an IDE) Pin
ChandraRam10-Apr-08 19:30
ChandraRam10-Apr-08 19:30 
QuestionServer application unavailable Pin
rajitksingh10-Apr-08 1:59
rajitksingh10-Apr-08 1:59 
GeneralRe: Server application unavailable Pin
Not Active10-Apr-08 2:17
mentorNot Active10-Apr-08 2:17 
GeneralRe: Server application unavailable Pin
rajitksingh10-Apr-08 2:25
rajitksingh10-Apr-08 2:25 
GeneralRe: Server application unavailable Pin
eyeseetee10-Apr-08 2:42
eyeseetee10-Apr-08 2:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.