Click here to Skip to main content
15,910,234 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAssigning and retrieving values from checkboxes which are dynamically created. Pin
Member 340288615-Dec-08 10:12
Member 340288615-Dec-08 10:12 
AnswerRe: Assigning and retrieving values from checkboxes which are dynamically created. Pin
Christian Graus15-Dec-08 10:24
protectorChristian Graus15-Dec-08 10:24 
GeneralRe: Assigning and retrieving values from checkboxes which are dynamically created. Pin
Member 340288615-Dec-08 11:16
Member 340288615-Dec-08 11:16 
GeneralRe: Assigning and retrieving values from checkboxes which are dynamically created. Pin
Christian Graus15-Dec-08 11:41
protectorChristian Graus15-Dec-08 11:41 
AnswerRe: Assigning and retrieving values from checkboxes which are dynamically created. Pin
Nishant Singh15-Dec-08 17:22
Nishant Singh15-Dec-08 17:22 
QuestionGridView databinding event handler Pin
compninja2515-Dec-08 8:37
compninja2515-Dec-08 8:37 
AnswerRe: GridView databinding event handler Pin
Christian Graus15-Dec-08 15:19
protectorChristian Graus15-Dec-08 15:19 
GeneralRe: GridView databinding event handler Pin
compninja2516-Dec-08 3:05
compninja2516-Dec-08 3:05 
Hey Christian,

I really like your Quote "Driven to the arms of OSX by Vista". I'm about to that point myself using Vista x64, however I might go for one of the Linux flavors Wink | ;)

Do you have an example of how I would find the textbox in each row? I'm creating the gridview dynamically because the columns will change depending on the date each week.

GridView gv1 = new GridView();
        gv1.Width = 600;                
        gv1.DataSource = Table1;        
        gv1.DataBind();
             
        gv1.HeaderRow.Height = 50;
        gv1.HeaderRow.BackColor = System.Drawing.Color.Black;
        gv1.HeaderRow.ForeColor = System.Drawing.Color.White;
        gv1.RowStyle.Height = 100;

        GridView gv2 = new GridView();
        gv2.Width = 780;        
        gv2.DataSource = Table2;
        gv2.DataBind();
                
        switch (DateTime.Today.DayOfWeek.ToString())
        {
            case "Monday":
                gv2.Rows[0].Cells[0].BackColor = System.Drawing.Color.Aqua;
                break;
            case "Tuesday":
                gv2.Rows[0].Cells[1].BackColor = System.Drawing.Color.Aqua;
                break;
            case "Wednesday":
                gv2.Rows[0].Cells[2].BackColor = System.Drawing.Color.Aqua;
                break;
            case "Thursday":
                gv2.Rows[0].Cells[3].BackColor = System.Drawing.Color.Aqua;
                break;
            case "Friday":
                gv2.Rows[0].Cells[4].BackColor = System.Drawing.Color.Aqua;
                break;
        }
        
        gv2.HeaderRow.Height = 50;
        gv2.HeaderRow.BackColor = System.Drawing.Color.Black;
        gv2.HeaderRow.ForeColor = System.Drawing.Color.White;
        gv2.RowStyle.Height = 175;       

        GridView gv3 = new GridView();
        gv3.Width = 600;
        gv3.DataSource = Table3;
        gv3.DataBind();
        
        gv3.HeaderRow.Height = 50;
        gv3.HeaderRow.BackColor = System.Drawing.Color.Black;
        gv3.HeaderRow.ForeColor = System.Drawing.Color.White;
        gv3.RowStyle.Height = 100;        

        Panel1.Controls.Add(gv1);        
        Panel1.Controls.Add(gv2);
        Panel1.Controls.Add(gv3);


"You're damned if you do, and you're damned if you dont" - Bart Simpson

QuestionSeting focus for controls after postback Pin
chandra vempati15-Dec-08 8:27
chandra vempati15-Dec-08 8:27 
AnswerRe: Seting focus for controls after postback Pin
Christian Graus15-Dec-08 9:55
protectorChristian Graus15-Dec-08 9:55 
Question[Message Deleted] Pin
harcaype15-Dec-08 7:39
harcaype15-Dec-08 7:39 
AnswerRe: cannot run .htm in localhost Pin
Christian Graus15-Dec-08 9:55
protectorChristian Graus15-Dec-08 9:55 
Questiondebugging in ASP.NET Pin
Member 305788715-Dec-08 7:27
Member 305788715-Dec-08 7:27 
AnswerRe: debugging in ASP.NET Pin
Christian Graus15-Dec-08 9:54
protectorChristian Graus15-Dec-08 9:54 
QuestionDomain pointing and web.config file set up Pin
Nic Stark15-Dec-08 7:21
Nic Stark15-Dec-08 7:21 
AnswerRe: Domain pointing and web.config file set up Pin
Christian Graus15-Dec-08 9:53
protectorChristian Graus15-Dec-08 9:53 
Questionhow are the events in ASp.NET web page executed Pin
Member 305788715-Dec-08 7:20
Member 305788715-Dec-08 7:20 
AnswerRe: how are the events in ASp.NET web page executed Pin
Christian Graus15-Dec-08 9:52
protectorChristian Graus15-Dec-08 9:52 
QuestionNeed an ASP.NET web app to calculate rebates for customers Pin
jayzinho8815-Dec-08 7:08
jayzinho8815-Dec-08 7:08 
AnswerRe: Need an ASP.NET web app to calculate rebates for customers Pin
Christian Graus15-Dec-08 9:49
protectorChristian Graus15-Dec-08 9:49 
QuestionHow To Setup Server To Host ASP.NET Site Pin
Kevin Marois15-Dec-08 5:56
professionalKevin Marois15-Dec-08 5:56 
AnswerRe: How To Setup Server To Host ASP.NET Site Pin
Christian Graus15-Dec-08 9:47
protectorChristian Graus15-Dec-08 9:47 
GeneralRe: How To Setup Server To Host ASP.NET Site Pin
Kevin Marois15-Dec-08 11:16
professionalKevin Marois15-Dec-08 11:16 
GeneralRe: How To Setup Server To Host ASP.NET Site Pin
Christian Graus15-Dec-08 11:42
protectorChristian Graus15-Dec-08 11:42 
Questionwhich one is better asp.net or jsp? Pin
love_man00115-Dec-08 3:01
love_man00115-Dec-08 3:01 

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.