Click here to Skip to main content
16,005,473 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Directory.GetDirectories(path) causing security issue Pin
Sandeep Akhare13-Nov-06 23:25
Sandeep Akhare13-Nov-06 23:25 
GeneralRe: Directory.GetDirectories(path) causing security issue Pin
SIJUTHOMASP13-Nov-06 23:36
professionalSIJUTHOMASP13-Nov-06 23:36 
GeneralRe: Directory.GetDirectories(path) causing security issue Pin
Sandeep Akhare13-Nov-06 23:56
Sandeep Akhare13-Nov-06 23:56 
GeneralRe: Directory.GetDirectories(path) causing security issue Pin
SIJUTHOMASP14-Nov-06 0:51
professionalSIJUTHOMASP14-Nov-06 0:51 
Questionevents for inner grid using asp.net 2005 Pin
prameelapydi13-Nov-06 22:18
prameelapydi13-Nov-06 22:18 
AnswerRe: events for inner grid using asp.net 2005 Pin
Grapes-R-Fun14-Nov-06 9:36
Grapes-R-Fun14-Nov-06 9:36 
GeneralRe: events for inner grid using asp.net 2005 Pin
prameelapydi14-Nov-06 16:44
prameelapydi14-Nov-06 16:44 
GeneralRe: events for inner grid using asp.net 2005 Pin
Grapes-R-Fun15-Nov-06 3:00
Grapes-R-Fun15-Nov-06 3:00 
This is what you can do: convert the desired field in your outer GridView into a templated field, then go back and click on the Edit Templates. Select that specific templated field, delete any other control that might be there by default, and drag-drop a GridView. You can bind the inner gridview just as you would for the outer GridView.

To manipulate data/attributes of the inner GridView, you will have to “find” that control within an event that is wired to the outer GridView:

    protected void yourGridView_RowDataBound(object sender, GridViewRowEventArgs e)<br />
    {<br />
        if (e.Row.RowType == DataControlRowType.DataRow) //if this is a data row<br />
        {<br />
            GridView _yourInnerGrid = ((GridView)e.Row.FindControl("innerGrid"));<br />
_yourInnerGrid.SelectedIndex = 14; <br />
        }<br />
    }


Let me know if you have any questions, good luck!


Nila

QuestionEdit,Cancel,Save Pin
ganga_cool200213-Nov-06 21:55
ganga_cool200213-Nov-06 21:55 
AnswerRe: Edit,Cancel,Save Pin
_AK_13-Nov-06 22:40
_AK_13-Nov-06 22:40 
QuestionParagraph dashes is not seen :S [modified] Pin
greekius13-Nov-06 21:53
greekius13-Nov-06 21:53 
AnswerRe: Paragraph dashes is not seen :S Pin
Grapes-R-Fun14-Nov-06 9:45
Grapes-R-Fun14-Nov-06 9:45 
GeneralRe: Paragraph dashes is not seen :S Pin
greekius14-Nov-06 10:13
greekius14-Nov-06 10:13 
GeneralRe: Paragraph dashes is not seen :S Pin
Grapes-R-Fun14-Nov-06 16:37
Grapes-R-Fun14-Nov-06 16:37 
GeneralRe: Paragraph dashes is not seen :S Pin
greekius14-Nov-06 21:30
greekius14-Nov-06 21:30 
GeneralRe: Paragraph dashes is not seen :S Pin
Grapes-R-Fun15-Nov-06 4:05
Grapes-R-Fun15-Nov-06 4:05 
QuestionTo change the background color of AlertBox? Pin
crazy_mads13-Nov-06 21:52
crazy_mads13-Nov-06 21:52 
AnswerRe: To change the background color of AlertBox? Pin
DavidNohejl13-Nov-06 22:07
DavidNohejl13-Nov-06 22:07 
GeneralRe: To change the background color of AlertBox? Pin
crazy_mads14-Nov-06 0:37
crazy_mads14-Nov-06 0:37 
GeneralRe: To change the background color of AlertBox? Pin
crazy_mads15-Nov-06 19:27
crazy_mads15-Nov-06 19:27 
Questionlinking to a web service Pin
biaali13-Nov-06 21:22
biaali13-Nov-06 21:22 
Questionweb user control... Pin
KORCARI13-Nov-06 21:15
KORCARI13-Nov-06 21:15 
AnswerRe: web user control... Pin
Amit Kushwaha13-Nov-06 21:22
Amit Kushwaha13-Nov-06 21:22 
QuestionHow to disable browser save the cache? Pin
cheeken2u13-Nov-06 20:50
cheeken2u13-Nov-06 20:50 
AnswerRe: How to disable browser save the cache? Pin
Sandeep Akhare13-Nov-06 22:27
Sandeep Akhare13-Nov-06 22:27 

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.