Click here to Skip to main content
11,437,002 members (66,046 online)
   

ASP.NET

 
QuestionMaintaining Array Data in an SQL Database. Pin
Bram van Kampen24-Feb-13 16:23
memberBram van Kampen24-Feb-13 16:23 
AnswerRe: Maintaining Array Data in an SQL Database. Pin
David Mujica25-Feb-13 4:02
memberDavid Mujica25-Feb-13 4:02 
Questionsaving and retrieving recent activities Pin
Jassim Rahma24-Feb-13 5:40
memberJassim Rahma24-Feb-13 5:40 
AnswerRe: saving and retrieving recent activities Pin
jkirkerx26-Feb-13 12:04
memberjkirkerx26-Feb-13 12:04 
Generalasp.net export to excel Pin
pppppsssss24-Feb-13 1:50
memberpppppsssss24-Feb-13 1:50 
GeneralRe: asp.net export to excel Pin
Sandeep Mewara24-Feb-13 2:18
mvpSandeep Mewara24-Feb-13 2:18 
AnswerRe: asp.net export to excel Pin
ryanb3126-Feb-13 11:37
memberryanb3126-Feb-13 11:37 
Questionhow to linbutton's text on another page button click event Pin
Member 870181323-Feb-13 3:56
memberMember 870181323-Feb-13 3:56 
this is my code on webform1.aspx
<asp:GridView ID="GridView1" runat="server" Width="100%" SkinID="GridView"
OnSorting="GridView1_Sorting" OnDataBound="GridView1_DataBound"
OnRowDataBound="GridView1_RowDataBound" AutoGenerateColumns="false"
OnPageIndexChanging="OnPaging" ShowHeader="true" AllowPaging="True"
ShowHeaderWhenEmpty="True" AllowSorting="True"
onrowcommand="GridView1_RowCommand" PageSize="20">

<asp:TemplateField ItemStyle-HorizontalAlign="left" ItemStyle-VerticalAlign="Top">
<HeaderTemplate>Action</HeaderTemplate>
<HeaderStyle />

<asp:LinkButton ID="lnkverify" runat="server" Text="Verify" CommandName="Application_verify" CommandArgument='<%#Eval("RequestId") %>' />    
<asp:LinkButton ID="lnkreject" runat="server" Text="Reject" CommandName="Appication_reject" CommandArgument='<%#Eval("RequestId") %>' />




on webform.aspx.cs
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            try
            {
                if (e.CommandName == "Application_verify")
                {
                    int RequestId = Convert.ToInt32(e.CommandArgument);
                    Response.Redirect("~/ApplicationDetails.aspx?RequestId=" + RequestId);
                }
                if (e.CommandName == "Appication_reject")
                {
                    int RequestId = Convert.ToInt32(e.CommandArgument);
                    //Response.Redirect("?projectid=" + projectid);
                }
                
            }
            catch (ApplicationException ex)
            {
                lblsuccess.Visible = true;
                lblsuccess.Text = ex.Message;
            }
            catch (Exception ex)
            {
                StackTrace st = new StackTrace(new StackFrame(true));
                StackFrame sf = st.GetFrame(0);
 
                int line = sf.GetFileLineNumber() - 1;
                if (ex.Message.StartsWith("Thread") == false) { Response.Redirect("~/HandleError.aspx?ID=" + ex.Message, false); }
            }
        }
on Applicationdetails.aspx page i have a button control.on this button click event ,i want to change linkbutton's(this linkbutton is on webform1.aspx) text from "verify" to "verified".pls help me
AnswerRe: how to linbutton's text on another page button click event Pin
Sandeep Mewara23-Feb-13 4:28
mvpSandeep Mewara23-Feb-13 4:28 
GeneralRe: how to linbutton's text on another page button click event Pin
Member 870181323-Feb-13 7:55
memberMember 870181323-Feb-13 7:55 
GeneralRe: how to linbutton's text on another page button click event Pin
Member 870181323-Feb-13 23:40
memberMember 870181323-Feb-13 23:40 
GeneralRe: how to linbutton's text on another page button click event Pin
Sandeep Mewara23-Feb-13 23:46
mvpSandeep Mewara23-Feb-13 23:46 
Questionhtml5 with vs2010 Pin
manoranjan gupta23-Feb-13 3:07
membermanoranjan gupta23-Feb-13 3:07 
AnswerRe: html5 with vs2010 Pin
Sandeep Mewara23-Feb-13 4:10
mvpSandeep Mewara23-Feb-13 4:10 
Question70-480 Course Book Pin
silentspeaker23-Feb-13 1:35
membersilentspeaker23-Feb-13 1:35 
AnswerRe: 70-480 Course Book Pin
Richard MacCutchan23-Feb-13 2:07
mvpRichard MacCutchan23-Feb-13 2:07 
Questionvisul studio installing Pin
agrigold22-Feb-13 23:48
memberagrigold22-Feb-13 23:48 
AnswerRe: visul studio installing Pin
Marco Bertschi23-Feb-13 2:42
memberMarco Bertschi23-Feb-13 2:42 
AnswerRe: visul studio installing Pin
Sandeep Mewara23-Feb-13 4:13
mvpSandeep Mewara23-Feb-13 4:13 
Questionhow to increment column value by 1 Pin
Member 870181322-Feb-13 22:39
memberMember 870181322-Feb-13 22:39 
AnswerRe: how to increment column value by 1 Pin
Member 870181322-Feb-13 23:33
memberMember 870181322-Feb-13 23:33 
QuestionWeb Task Scheduler Pin
Mohamad Hoosein Fakhravary22-Feb-13 12:17
memberMohamad Hoosein Fakhravary22-Feb-13 12:17 
AnswerRe: Web Task Scheduler Pin
Richard MacCutchan23-Feb-13 0:23
mvpRichard MacCutchan23-Feb-13 0:23 
GeneralRe: Web Task Scheduler Pin
Mohamad Hoosein Fakhravary23-Feb-13 1:21
memberMohamad Hoosein Fakhravary23-Feb-13 1:21 
GeneralRe: Web Task Scheduler Pin
Richard MacCutchan23-Feb-13 1:35
mvpRichard MacCutchan23-Feb-13 1:35 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150428.2 | Last Updated 6 May 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid