Click here to Skip to main content
15,905,232 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Question about the URL string? Can a website be aware of what the user enters by hand in the URL string... Pin
basilmir11-Mar-10 23:34
basilmir11-Mar-10 23:34 
QuestionDisable a hyperlink Pin
MacIntyre3-Dec-09 21:45
MacIntyre3-Dec-09 21:45 
AnswerRe: Disable a hyperlink Pin
Abhishek Sur3-Dec-09 22:04
professionalAbhishek Sur3-Dec-09 22:04 
AnswerRe: Disable a hyperlink Pin
bhavnvyas3-Dec-09 22:06
bhavnvyas3-Dec-09 22:06 
protected void gvPaymentDetails_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            GridViewRow gvr = e.Row;
            
                      
            if (gvr.Cells[5].Text != " " || gvr.Cells[6].Text != " " || gvr.Cells[8].Text != "0")
            {
                ((LinkButton)(e.Row.FindControl("lbEdit"))).Enabled = false;
                ((LinkButton)(e.Row.FindControl("lbEntry"))).Enabled = True;
            }
            else
            {
             ((LinkButton)(e.Row.FindControl("lbEdit"))).Enabled = True;
             ((LinkButton)(e.Row.FindControl("lbEntry"))).Enabled =False;

            }
            

           

        }
    }

I am using this code in my appliction for edit and add button.
GeneralRe: Disable a hyperlink Pin
MacIntyre3-Dec-09 22:19
MacIntyre3-Dec-09 22:19 
GeneralRe: Disable a hyperlink Pin
bhavnvyas3-Dec-09 22:35
bhavnvyas3-Dec-09 22:35 
GeneralRe: Disable a hyperlink Pin
MacIntyre3-Dec-09 22:49
MacIntyre3-Dec-09 22:49 
GeneralRe: Disable a hyperlink Pin
bhavnvyas3-Dec-09 23:17
bhavnvyas3-Dec-09 23:17 
GeneralRe: Disable a hyperlink Pin
MacIntyre3-Dec-09 22:52
MacIntyre3-Dec-09 22:52 
GeneralRe: Disable a hyperlink Pin
MacIntyre3-Dec-09 23:03
MacIntyre3-Dec-09 23:03 
GeneralRe: Disable a hyperlink Pin
bhavnvyas3-Dec-09 23:19
bhavnvyas3-Dec-09 23:19 
QuestionJavascript Errors Pin
Johndas3-Dec-09 19:37
Johndas3-Dec-09 19:37 
AnswerRe: Javascript Errors Pin
keyur satyadev3-Dec-09 19:44
keyur satyadev3-Dec-09 19:44 
AnswerRe: Javascript Errors Pin
nainakarri3-Dec-09 19:47
nainakarri3-Dec-09 19:47 
AnswerRe: Javascript Errors Pin
rakeshs3123-Dec-09 20:03
rakeshs3123-Dec-09 20:03 
AnswerRe: Javascript Errors Pin
Abhijit Jana3-Dec-09 21:20
professionalAbhijit Jana3-Dec-09 21:20 
QuestionAjax Update Panel Pin
Amit Patel19853-Dec-09 19:36
Amit Patel19853-Dec-09 19:36 
AnswerRe: Ajax Update Panel Pin
keyur satyadev3-Dec-09 19:41
keyur satyadev3-Dec-09 19:41 
AnswerRe: Ajax Update Panel Pin
Jagz W3-Dec-09 19:42
professionalJagz W3-Dec-09 19:42 
QuestionChange a web appl. from Visual Studio 2005 to Visual Studio 2008 Pin
Ravindra Bisen3-Dec-09 19:33
Ravindra Bisen3-Dec-09 19:33 
AnswerRe: Change a web appl. from Visual Studio 2005 to Visual Studio 2008 Pin
Jagz W3-Dec-09 19:40
professionalJagz W3-Dec-09 19:40 
QuestionExport Crystal report to Pdf using parameters Pin
rhtbhegade3-Dec-09 19:20
rhtbhegade3-Dec-09 19:20 
QuestionRegular Expression or strin manipulation Pin
CoderOnline3-Dec-09 18:22
CoderOnline3-Dec-09 18:22 
AnswerCross Post Pin
dan!sh 3-Dec-09 18:43
professional dan!sh 3-Dec-09 18:43 
GeneralRe: Cross Post Pin
CoderOnline3-Dec-09 19:44
CoderOnline3-Dec-09 19:44 

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.