Click here to Skip to main content
16,004,507 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionproblem in click the FAQ or help title - will go to the corresponding content Pin
janani137-Oct-09 3:06
janani137-Oct-09 3:06 
AnswerRe: problem in click the FAQ or help title - will go to the corresponding content Pin
Manas Bhardwaj7-Oct-09 3:13
professionalManas Bhardwaj7-Oct-09 3:13 
GeneralRe: problem in click the FAQ or help title - will go to the corresponding content Pin
janani137-Oct-09 3:34
janani137-Oct-09 3:34 
QuestionTo get icepak model,problem files Pin
Muktish KG7-Oct-09 3:04
Muktish KG7-Oct-09 3:04 
AnswerRe: To get icepak model,problem files Pin
Manas Bhardwaj7-Oct-09 3:15
professionalManas Bhardwaj7-Oct-09 3:15 
QuestionGridview Row created Event Pin
4anusha47-Oct-09 2:57
4anusha47-Oct-09 2:57 
AnswerRe: Gridview Row created Event Pin
Kannan Ar7-Oct-09 4:17
professionalKannan Ar7-Oct-09 4:17 
GeneralRe: Gridview Row created Event [modified] Pin
4anusha47-Oct-09 18:26
4anusha47-Oct-09 18:26 
if (e.Row.RowType == DataControlRowType.Header)
{
//Build custom header.
GridView gvGrid = (GridView)sender;
GridViewRow gvRow = new GridViewRow(0, 0, DataControlRowType.Header, DataControlRowState.Insert);
TableCell tblCell = new TableCell();
TableCell tblCell1 = new TableCell();
//Add Department

tblCell.Text = "Attendance Report From:" + Convert.ToDateTime(sFromDate.ToString()).ToString("dd/MM/yyyy") + "-" + "To" + Convert.ToDateTime(sToDate.ToString()).ToString("dd/MM/yyyy");
tblCell.ColumnSpan = 6;
tblCell.ForeColor = System.Drawing.Color.Black;
tblCell.Font.Bold = true;
tblCell.Font.Size = 14;
gvRow.Cells.Add(tblCell);
tblCell.HorizontalAlign = HorizontalAlign.Left;
gvGrid.Controls[0].Controls.AddAt(0, gvRow);
}


I used this code first time it executes well after that when any event is fired on the page the control comes to this rowcreated event its not even entering into page_load and all the text in the textbox controls were being cleared

modified on Thursday, October 8, 2009 12:42 AM

GeneralRe: Gridview Row created Event Pin
janani137-Oct-09 19:16
janani137-Oct-09 19:16 
GeneralRe: Gridview Row created Event Pin
sashidhar7-Oct-09 19:18
sashidhar7-Oct-09 19:18 
GeneralRe: Gridview Row created Event Pin
4anusha47-Oct-09 19:34
4anusha47-Oct-09 19:34 
Questionbind datasets in a single gridview Pin
rummer7-Oct-09 2:50
rummer7-Oct-09 2:50 
AnswerRe: bind datasets in a single gridview Pin
Sneha Bisht7-Oct-09 2:55
Sneha Bisht7-Oct-09 2:55 
AnswerRe: bind datasets in a single gridview Pin
Kannan Ar7-Oct-09 4:22
professionalKannan Ar7-Oct-09 4:22 
AnswerRe: bind datasets in a single gridview Pin
praveen.c@byzan.com8-Oct-09 0:29
praveen.c@byzan.com8-Oct-09 0:29 
QuestionRegarding Browser restriction Pin
santhoah33kumar7-Oct-09 1:34
santhoah33kumar7-Oct-09 1:34 
AnswerRe: Regarding Browser restriction Pin
Kannan Ar7-Oct-09 1:41
professionalKannan Ar7-Oct-09 1:41 
Newsready to sell source codes for accounting software / Human resource management software developed in ASP.NET Pin
alexroderick7-Oct-09 0:44
alexroderick7-Oct-09 0:44 
GeneralNo ads please Pin
Manas Bhardwaj7-Oct-09 0:46
professionalManas Bhardwaj7-Oct-09 0:46 
GeneralRe: No ads please Pin
Richard MacCutchan7-Oct-09 0:52
mveRichard MacCutchan7-Oct-09 0:52 
RantRe: ready to sell source codes for accounting software / Human resource management software developed in ASP.NET Pin
Ashfield7-Oct-09 1:41
Ashfield7-Oct-09 1:41 
Questionnot able to delete image Pin
trilokharry7-Oct-09 0:24
trilokharry7-Oct-09 0:24 
AnswerRe: not able to delete image Pin
Manas Bhardwaj7-Oct-09 0:32
professionalManas Bhardwaj7-Oct-09 0:32 
GeneralRe: not able to delete image Pin
trilokharry7-Oct-09 0:45
trilokharry7-Oct-09 0:45 
GeneralRe: not able to delete image Pin
Manas Bhardwaj7-Oct-09 0:47
professionalManas Bhardwaj7-Oct-09 0:47 

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.