Click here to Skip to main content
15,881,841 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMaintaining Array Data in an SQL Database. Pin
Bram van Kampen24-Feb-13 15:23
Bram van Kampen24-Feb-13 15:23 
AnswerRe: Maintaining Array Data in an SQL Database. Pin
David Mujica25-Feb-13 3:02
David Mujica25-Feb-13 3:02 
Questionsaving and retrieving recent activities Pin
Jassim Rahma24-Feb-13 4:40
Jassim Rahma24-Feb-13 4:40 
AnswerRe: saving and retrieving recent activities Pin
jkirkerx26-Feb-13 11:04
professionaljkirkerx26-Feb-13 11:04 
Generalasp.net export to excel Pin
pppppsssss24-Feb-13 0:50
pppppsssss24-Feb-13 0:50 
GeneralRe: asp.net export to excel Pin
Sandeep Mewara24-Feb-13 1:18
mveSandeep Mewara24-Feb-13 1:18 
AnswerRe: asp.net export to excel Pin
ZurdoDev26-Feb-13 10:37
professionalZurdoDev26-Feb-13 10:37 
Questionhow to linbutton's text on another page button click event Pin
Member 870181323-Feb-13 2:56
Member 870181323-Feb-13 2: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">
<columns>
<asp:templatefield itemstyle-horizontalalign="left" itemstyle-verticalalign="Top">
<HeaderTemplate>Action</HeaderTemplate>
<HeaderStyle />
<itemtemplate>
<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 3:28
mveSandeep Mewara23-Feb-13 3:28 
GeneralRe: how to linbutton's text on another page button click event Pin
Member 870181323-Feb-13 6:55
Member 870181323-Feb-13 6:55 
GeneralRe: how to linbutton's text on another page button click event Pin
Member 870181323-Feb-13 22:40
Member 870181323-Feb-13 22:40 
GeneralRe: how to linbutton's text on another page button click event Pin
Sandeep Mewara23-Feb-13 22:46
mveSandeep Mewara23-Feb-13 22:46 
Questionhtml5 with vs2010 Pin
Manoranjan Gupta23-Feb-13 2:07
Manoranjan Gupta23-Feb-13 2:07 
AnswerRe: html5 with vs2010 Pin
Sandeep Mewara23-Feb-13 3:10
mveSandeep Mewara23-Feb-13 3:10 
Question70-480 Course Book Pin
silentspeaker23-Feb-13 0:35
silentspeaker23-Feb-13 0:35 
AnswerRe: 70-480 Course Book Pin
Richard MacCutchan23-Feb-13 1:07
mveRichard MacCutchan23-Feb-13 1:07 
Questionvisul studio installing Pin
agrigold22-Feb-13 22:48
agrigold22-Feb-13 22:48 
AnswerRe: visul studio installing Pin
Marco Bertschi23-Feb-13 1:42
protectorMarco Bertschi23-Feb-13 1:42 
AnswerRe: visul studio installing Pin
Sandeep Mewara23-Feb-13 3:13
mveSandeep Mewara23-Feb-13 3:13 
Questionhow to increment column value by 1 Pin
Member 870181322-Feb-13 21:39
Member 870181322-Feb-13 21:39 
AnswerRe: how to increment column value by 1 Pin
Member 870181322-Feb-13 22:33
Member 870181322-Feb-13 22:33 
QuestionWeb Task Scheduler Pin
Mohammad Hussein Fakhravari22-Feb-13 11:17
Mohammad Hussein Fakhravari22-Feb-13 11:17 
AnswerRe: Web Task Scheduler Pin
Richard MacCutchan22-Feb-13 23:23
mveRichard MacCutchan22-Feb-13 23:23 
GeneralRe: Web Task Scheduler Pin
Mohammad Hussein Fakhravari23-Feb-13 0:21
Mohammad Hussein Fakhravari23-Feb-13 0:21 
GeneralRe: Web Task Scheduler Pin
Richard MacCutchan23-Feb-13 0:35
mveRichard MacCutchan23-Feb-13 0:35 

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.