Click here to Skip to main content
15,892,537 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: asp:button postback event referene Pin
Ali Al Omairi(Abu AlHassan)17-Apr-11 21:01
professionalAli Al Omairi(Abu AlHassan)17-Apr-11 21:01 
GeneralRe: asp:button postback event referene Pin
GlobX17-Apr-11 21:04
GlobX17-Apr-11 21:04 
QuestionAdding { and } to format string Pin
Ali Al Omairi(Abu AlHassan)9-Apr-11 0:30
professionalAli Al Omairi(Abu AlHassan)9-Apr-11 0:30 
AnswerRe: Adding { and } to format string Pin
Wendelius9-Apr-11 1:26
mentorWendelius9-Apr-11 1:26 
GeneralRe: Adding { and } to format string Pin
Ali Al Omairi(Abu AlHassan)9-Apr-11 1:57
professionalAli Al Omairi(Abu AlHassan)9-Apr-11 1:57 
GeneralRe: Adding { and } to format string Pin
Wendelius9-Apr-11 1:59
mentorWendelius9-Apr-11 1:59 
GeneralRe: Adding { and } to format string Pin
Ali Al Omairi(Abu AlHassan)17-Apr-11 20:47
professionalAli Al Omairi(Abu AlHassan)17-Apr-11 20:47 
Questionnested gridview not sorting data Pin
gavindon8-Apr-11 9:20
gavindon8-Apr-11 9:20 
ok bsic problem is this. I have 3 gridviews nested. parent-child-grandchild. Works great except for one issue, The grandchild takes its parameter from the child with no problem but I also need to get the parameter from the parent to the grandchild.

ie... Parent shows group name, child shows brand names under the groups, and the grandchild should show models under brand/group. All I'm getting is the models under brand, its not considering which group the brand is in.

The brand can be in multiple groups and the model will only be in one brand AND one group. However I want to show the models(grandchild view) under each brand BASED on which group it is attached to.

so..
Parent shows groups A B C
child shows brand 1 under A B C
grandchild should show model xx under brand 1/group A , model ss under brand1/group B and so on. but I'm getting model xx under brand 1/A B C and model ss under brand 1/group A B C

This is the code I'm using to get what I have so far.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
       {
           if (e.Row.RowType == DataControlRowType.DataRow)
           {
               SqlDataSource s = (SqlDataSource)e.Row.FindControl("SqlDataSource2");
               s.SelectParameters[0].DefaultValue = e.Row.Cells[0].Text;

           }
       }

       protected void GridView2_RowDataBound(object sender, GridViewRowEventArgs e)
       {
           if (e.Row.RowType == DataControlRowType.DataRow)
           {
               SqlDataSource s = (SqlDataSource)e.Row.FindControl("SqlDataSource3");
               s.SelectParameters[0].DefaultValue = e.Row.Cells[0].Text;
           }
       }

how can I tweak this to pass e.Row.Cells[0].Text; from gridview1 not only to gridview2(SqlDataSource2) but also to gridview3(SqlDataSource3)?
Programming is a race between programmers trying to build bigger and better idiot proof programs, and the universe trying to build bigger and better idiots, so far... the universe is winning.

QuestionHow can i see html code in outlook 2010? Pin
buffering837-Apr-11 23:28
buffering837-Apr-11 23:28 
QuestionTextBox value doesnot update if Calender control placed below the textbox control [modified] Pin
schampacc7-Apr-11 22:13
schampacc7-Apr-11 22:13 
QuestionAJAX Accordion Control Pin
Orcun Iyigun7-Apr-11 14:52
Orcun Iyigun7-Apr-11 14:52 
AnswerRe: AJAX Accordion Control Pin
Pete O'Hanlon7-Apr-11 23:11
mvePete O'Hanlon7-Apr-11 23:11 
GeneralRe: AJAX Accordion Control Pin
Orcun Iyigun8-Apr-11 7:13
Orcun Iyigun8-Apr-11 7:13 
QuestionURL redirection Pin
Member 78129457-Apr-11 1:04
Member 78129457-Apr-11 1:04 
AnswerRe: URL redirection Pin
Viral Upadhyay7-Apr-11 2:03
Viral Upadhyay7-Apr-11 2:03 
Questionjavascript function call using ScriptManager.RegisterStartupScript Pin
anishkannan6-Apr-11 23:41
anishkannan6-Apr-11 23:41 
AnswerRe: javascript function call using ScriptManager.RegisterStartupScript Pin
Arindam Tewary7-Apr-11 1:42
professionalArindam Tewary7-Apr-11 1:42 
QuestionWhere is System.Web.Extensions, Version=3.6.0.0 ? Pin
mrquang936-Apr-11 22:23
mrquang936-Apr-11 22:23 
AnswerRe: Where is System.Web.Extensions, Version=3.6.0.0 ? Pin
Parwej Ahamad7-Apr-11 2:45
professionalParwej Ahamad7-Apr-11 2:45 
GeneralRe: Where is System.Web.Extensions, Version=3.6.0.0 ? Pin
mrquang937-Apr-11 16:02
mrquang937-Apr-11 16:02 
Questionon Autocomplete, call ashx page to get data Pin
Ravi Sant6-Apr-11 19:34
Ravi Sant6-Apr-11 19:34 
AnswerRe: on Autocomplete, call ashx page to get data Pin
ktrrzn6-Apr-11 21:12
ktrrzn6-Apr-11 21:12 
QuestionMoveNext is not moving next!! Pin
Bomb_shell6-Apr-11 10:57
Bomb_shell6-Apr-11 10:57 
AnswerRe: MoveNext is not moving next!! Pin
Luc Pattyn6-Apr-11 13:57
sitebuilderLuc Pattyn6-Apr-11 13:57 
AnswerRe: MoveNext is not moving next!! Pin
ktrrzn6-Apr-11 13:58
ktrrzn6-Apr-11 13:58 

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.