Click here to Skip to main content
15,918,267 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: "Unable to cast object of type " in Gridview control when click on add button Pin
amistry_petlad20-Mar-08 3:36
amistry_petlad20-Mar-08 3:36 
GeneralFormView Not Inserting Pin
Brady Kelly18-Mar-08 7:50
Brady Kelly18-Mar-08 7:50 
GeneralRe: FormView Not Inserting Pin
Brady Kelly18-Mar-08 8:40
Brady Kelly18-Mar-08 8:40 
GeneralCheck all - checkbox Pin
nour12318-Mar-08 6:53
nour12318-Mar-08 6:53 
GeneralRe: Check all - checkbox Pin
Not Active18-Mar-08 7:08
mentorNot Active18-Mar-08 7:08 
GeneralRe: Check all - checkbox Pin
nour12318-Mar-08 19:26
nour12318-Mar-08 19:26 
GeneralRe: Check all - checkbox Pin
pmartike18-Mar-08 20:36
pmartike18-Mar-08 20:36 
GeneralRe: Check all - checkbox Pin
Not Active19-Mar-08 1:16
mentorNot Active19-Mar-08 1:16 
More efficient code
protected void allTotals_CheckedChanged(object sender, EventArgs e)<br />
{<br />
customTotals1.Checked = allTotals.Checked;<br />
customTotals2.Checked = allTotals.Checked;<br />
customTotals3.Checked = allTotals.Checked;<br />
customTotals4.Checked = allTotals.Checked;<br />
} 


Or even better yet, put the checkboxes in a container

protected void allTotals_CheckedChanged(object sender, EventArgs e)<br />
{<br />
foreach(CheckBox c in Panel1.Controls)<br />
   c.Checked = allTotals.Checked;<br />
} 



only two letters away from being an asset

GeneralRe: Check all - checkbox Pin
nour12319-Mar-08 4:02
nour12319-Mar-08 4:02 
Generalpattern and practices Pin
raquidd2218-Mar-08 6:30
raquidd2218-Mar-08 6:30 
GeneralRe: pattern and practices Pin
Not Active18-Mar-08 7:03
mentorNot Active18-Mar-08 7:03 
GeneralRe: pattern and practices Pin
raquidd2218-Mar-08 8:15
raquidd2218-Mar-08 8:15 
GeneralRedirecting to another page Pin
pmartike18-Mar-08 3:51
pmartike18-Mar-08 3:51 
GeneralRe: Redirecting to another page Pin
eyeseetee18-Mar-08 3:58
eyeseetee18-Mar-08 3:58 
GeneralRe: Redirecting to another page Pin
pmartike18-Mar-08 4:06
pmartike18-Mar-08 4:06 
GeneralRe: Redirecting to another page Pin
Not Active18-Mar-08 6:51
mentorNot Active18-Mar-08 6:51 
GeneralRe: Redirecting to another page Pin
pmartike18-Mar-08 20:29
pmartike18-Mar-08 20:29 
QuestionHow to Dispaly Records on runtime. Pin
raushan_918-Mar-08 3:45
raushan_918-Mar-08 3:45 
AnswerRe: How to Dispaly Records on runtime. Pin
eyeseetee18-Mar-08 3:56
eyeseetee18-Mar-08 3:56 
GeneralRe: How to Dispaly Records on runtime. Pin
raushan_918-Mar-08 4:04
raushan_918-Mar-08 4:04 
AnswerRe: How to Dispaly Records on runtime. Pin
pmartike18-Mar-08 4:02
pmartike18-Mar-08 4:02 
AnswerRe: How to Dispaly Records on runtime. Pin
lbothell18-Mar-08 9:56
lbothell18-Mar-08 9:56 
GeneralRe: How to Dispaly Records on runtime. Pin
raushan_918-Mar-08 19:24
raushan_918-Mar-08 19:24 
GeneralRe: How to Dispaly Records on runtime. Pin
lbothell20-Mar-08 8:14
lbothell20-Mar-08 8:14 
GeneralLDAP with ASP.net Pin
v1i9n6o7d18-Mar-08 3:05
v1i9n6o7d18-Mar-08 3:05 

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.