Click here to Skip to main content
15,900,482 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Save Button is not working in Telerik Rad Window Pin
thatraja25-Jun-10 10:56
professionalthatraja25-Jun-10 10:56 
AnswerRe: Save Button is not working in Telerik Rad Window Pin
Vimalsoft(Pty) Ltd25-Jun-10 11:00
professionalVimalsoft(Pty) Ltd25-Jun-10 11:00 
QuestionTrying to export from ASP.NET to Powerpoint 2007 [modified] Pin
watchdogger25-Jun-10 5:18
watchdogger25-Jun-10 5:18 
AnswerRe: Trying to export from ASP.NET to Powerpoint 2007 Pin
Adam R Harris25-Jun-10 11:11
Adam R Harris25-Jun-10 11:11 
GeneralRe: Trying to export from ASP.NET to Powerpoint 2007 Pin
watchdogger29-Jun-10 10:08
watchdogger29-Jun-10 10:08 
GeneralRe: Trying to export from ASP.NET to Powerpoint 2007 Pin
Adam R Harris29-Jun-10 13:40
Adam R Harris29-Jun-10 13:40 
QuestionSearch Control in GridView in asp.net Pin
anish27patel25-Jun-10 4:30
anish27patel25-Jun-10 4:30 
AnswerRe: Search Control in GridView in asp.net Pin
PunkIsNotDead25-Jun-10 12:20
PunkIsNotDead25-Jun-10 12:20 
Hi! in future post, try using the code block Big Grin | :-D just for better understanding of the code Thumbs Up | :thumbsup:

Well, the Control, must be a GridView, so you can add

C#
public static Control FindControlRecursive(Control Root, string Id)
{
    if (Root.ID == Id)
        return ((GridView)Root);
    if (Root is GridView)//or some like that (i don't remember well)
    {
        GridView gv = ((GridView)Root);
        Int32 num = 3;//Based zero, number of column where is the link button column
        Int32 row = 1;//Based zero, number of row where is the link button row
        Control FoundCtl = ((Control)gv.Rows[row].Cells[num].FindControl(Id));
        if (FoundCtl != null)
            return FoundCtl;
    }
    return null;
}


Remember that in ASP.NET the dinamically controls added like in grid view Template field, have the same name, except in Client-Side. if you want a especific row, you only need to change the row parameter Wink | ;)
QuestionFront end & Back end Pin
Gjm25-Jun-10 3:36
Gjm25-Jun-10 3:36 
AnswerRe: Front end & Back end Pin
JamieRushton_25-Jun-10 3:43
JamieRushton_25-Jun-10 3:43 
QuestionSet label's text clientside and use it to set button's text server side. Pin
Hardus Lombaard25-Jun-10 3:34
Hardus Lombaard25-Jun-10 3:34 
AnswerRe: Set label's text clientside and use it to set button's text server side. Pin
JamieRushton_25-Jun-10 3:52
JamieRushton_25-Jun-10 3:52 
GeneralRe: Set label's text clientside and use it to set button's text server side. Pin
Hardus Lombaard25-Jun-10 4:11
Hardus Lombaard25-Jun-10 4:11 
GeneralRe: Set label's text clientside and use it to set button's text server side. Pin
JamieRushton_25-Jun-10 4:19
JamieRushton_25-Jun-10 4:19 
GeneralRe: Set label's text clientside and use it to set button's text server side. Pin
Hardus Lombaard25-Jun-10 4:30
Hardus Lombaard25-Jun-10 4:30 
GeneralRe: Set label's text clientside and use it to set button's text server side. Pin
JamieRushton_25-Jun-10 4:39
JamieRushton_25-Jun-10 4:39 
GeneralRe: Set label's text clientside and use it to set button's text server side. Pin
Hardus Lombaard25-Jun-10 4:54
Hardus Lombaard25-Jun-10 4:54 
QuestionEnable button and change label's text clientside Pin
Hardus Lombaard25-Jun-10 2:10
Hardus Lombaard25-Jun-10 2:10 
AnswerRe: Enable button and change label's text clientside Pin
Not Active25-Jun-10 2:18
mentorNot Active25-Jun-10 2:18 
AnswerRe: Enable button and change label's text clientside Pin
Ankur\m/25-Jun-10 3:01
professionalAnkur\m/25-Jun-10 3:01 
GeneralRe: Enable button and change label's text clientside Pin
michaelschmitt25-Jun-10 4:10
michaelschmitt25-Jun-10 4:10 
GeneralRe: Enable button and change label's text clientside Pin
Hardus Lombaard25-Jun-10 4:21
Hardus Lombaard25-Jun-10 4:21 
GeneralRe: Enable button and change label's text clientside Pin
T M Gray25-Jun-10 9:29
T M Gray25-Jun-10 9:29 
GeneralRe: Enable button and change label's text clientside Pin
raju melveetilpurayil26-Jun-10 0:08
professionalraju melveetilpurayil26-Jun-10 0:08 
GeneralRe: Enable button and change label's text clientside Pin
Ankur\m/25-Jun-10 18:20
professionalAnkur\m/25-Jun-10 18:20 

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.