Click here to Skip to main content
14,930,487 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: problem creating asp.net project in visual studio 2003 with xp pro Pin
Michel Godfroid1-May-10 22:32
MemberMichel Godfroid1-May-10 22:32 
GeneralRe: problem creating asp.net project in visual studio 2003 with xp pro Pin
bapu28892-May-10 2:30
Memberbapu28892-May-10 2:30 
GeneralRe: problem creating asp.net project in visual studio 2003 with xp pro Pin
Michel Godfroid2-May-10 2:47
MemberMichel Godfroid2-May-10 2:47 
GeneralRe: problem creating asp.net project in visual studio 2003 with xp pro Pin
bapu28892-May-10 3:06
Memberbapu28892-May-10 3:06 
Questionuser group from active directory Pin
test-091-May-10 7:09
Membertest-091-May-10 7:09 
AnswerRe: user group from active directory Pin
Abhijit Jana1-May-10 8:28
professionalAbhijit Jana1-May-10 8:28 
AnswerRe: user group from active directory Pin
Michel Godfroid1-May-10 22:18
MemberMichel Godfroid1-May-10 22:18 
QuestionHow to access dynamically created Gridview HeaderRow Pin
KittyKit1-May-10 3:54
MemberKittyKit1-May-10 3:54 
In my scenario, I need to group the products based on category. The "main" header has columns Product name, Description, Unit and Unitprice. I am programatically adding "secondary" / "sub" header for each cateogry and list the respective product underneath.
I overrode the render function like this

GridViewRow NewHeader = new GridViewRow(rowIndex + 1, rowIndex + 1, DataControlRowType.Header, DataControlRowState.Normal);
GridView1.Controls[0].Rows.AddAt(rowIndex + 1, NewHeader);

The gridview is created as wished - First appears the main header. And Comes the first sub header followed by the related product rows and then comes the next subheader followed by the corresponding product rows at it goes on.

I want to know how can I access these dynamically created "sub header"s. Gridview1.rows collection has only the data rows and the Gridview1.headerrow has only the default headerr row. Is there a way to access my "sub"header rows?

Thanks
Kit
Questionsearch query Pin
diyaa_0830-Apr-10 23:50
Memberdiyaa_0830-Apr-10 23:50 
AnswerRe: search query Pin
Brij1-May-10 5:54
mentorBrij1-May-10 5:54 
Questionretreving images from database problem Pin
developerit30-Apr-10 22:51
Memberdeveloperit30-Apr-10 22:51 
AnswerRe: retreving images from database problem Pin
Abhishek Sur30-Apr-10 23:52
professionalAbhishek Sur30-Apr-10 23:52 
AnswerRe: retreving images from database problem Pin
Abhijit Jana30-Apr-10 23:53
professionalAbhijit Jana30-Apr-10 23:53 
QuestionGRID VIEW Row command Pin
Amit Patel198530-Apr-10 21:24
MemberAmit Patel198530-Apr-10 21:24 
AnswerRe: GRID VIEW Row command Pin
Peace ON30-Apr-10 22:44
MemberPeace ON30-Apr-10 22:44 
QuestionIntegrating Paypal Pin
Gjm30-Apr-10 15:29
MemberGjm30-Apr-10 15:29 
AnswerRe: Integrating Paypal Pin
Peace ON30-Apr-10 19:45
MemberPeace ON30-Apr-10 19:45 
QuestionBinding Controls via Generic Method Pin
overtech0630-Apr-10 7:17
Memberovertech0630-Apr-10 7:17 
AnswerRe: Binding Controls via Generic Method Pin
T M Gray30-Apr-10 7:57
MemberT M Gray30-Apr-10 7:57 
GeneralRe: Binding Controls via Generic Method Pin
overtech0630-Apr-10 9:02
Memberovertech0630-Apr-10 9:02 
AnswerRe: Binding Controls via Generic Method Pin
daveyerwin30-Apr-10 11:43
Memberdaveyerwin30-Apr-10 11:43 
GeneralRe: Binding Controls via Generic Method Pin
overtech0630-Apr-10 12:01
Memberovertech0630-Apr-10 12:01 
GeneralRe: Binding Controls via Generic Method Pin
daveyerwin30-Apr-10 12:10
Memberdaveyerwin30-Apr-10 12:10 
GeneralRe: Binding Controls via Generic Method Pin
daveyerwin30-Apr-10 14:58
Memberdaveyerwin30-Apr-10 14:58 
AnswerReturn image from aspx page [modified] Pin
#realJSOP30-Apr-10 3:50
mva#realJSOP30-Apr-10 3:50 

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.