Click here to Skip to main content
15,921,454 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Form fields appear dynamically Pin
Sandeep Akhare28-Jan-08 20:02
Sandeep Akhare28-Jan-08 20:02 
GeneralASP.NET & Sharepoint error when adding control to a project Pin
michael@cohen28-Jan-08 7:46
michael@cohen28-Jan-08 7:46 
QuestionCalling a javscript from a function in asp.net Pin
Yatish Kasa28-Jan-08 6:33
Yatish Kasa28-Jan-08 6:33 
GeneralRe: Calling a javscript from a function in asp.net Pin
Not Active28-Jan-08 8:21
mentorNot Active28-Jan-08 8:21 
QuestionChanging Skin of Web Page [modified] Pin
wEb GuRu...28-Jan-08 6:15
wEb GuRu...28-Jan-08 6:15 
AnswerRe: Changing Skin of Web Page Pin
newc128-Jan-08 23:35
newc128-Jan-08 23:35 
GeneralWindows Authentication : NT Authority\Anonymous LOGON error Pin
ss.mmm28-Jan-08 5:50
ss.mmm28-Jan-08 5:50 
Questioncheckbox CheckedChanged event not firing after conversion to .net 3.5 Pin
icewolf_snowfire28-Jan-08 5:31
icewolf_snowfire28-Jan-08 5:31 
I have a gridview that is in a webpart, , one column is a checkbox column.
in the grid_row created event I set the proberties for the check box like so:

    private void Grid_RowCreated(object sender, GridViewRowEventArgs args)<br />
		    {   TableCell cell;<br />
			    CheckBoxField column;<br />
			    CheckBox checkBox;<br />
				if (args.Row.RowType == DataControlRowType.DataRow)<br />
			    {   for (int i = 0; i < args.Row.Cells.Count; i++)<br />
				    {   cell = args.Row.Cells[i];<br />
					    column = Grid.Columns[i] as CheckBoxField;<br />
<br />
					    if (column != null)<br />
					    {   foreach (System.Web.UI.Control ctl in cell.Controls)<br />
						    {   checkBox = ctl as CheckBox;<br />
							    if (checkBox != null)<br />
							    {	CaseCategory dataObj = args.Row.DataItem as CaseCategory;<br />
								    if (dataObj != null)<br />
								    {<br />
									    checkBox.ID = dataObj.CategoryId.ToString(System.Globalization.CultureInfo.InvariantCulture);<br />
								    }<br />
								    checkBox.AutoPostBack = true;<br />
									checkBox.EnableViewState = true;<br />
								    checkBox.CheckedChanged +=new EventHandler(checkBox_CheckedChanged);<br />
										    checkBox.Enabled = true;    <br />
	}   }   }   }   }   }


before converting this code worked perfectly, after the event does not get fired. I have removed the scriptmanager and related controls from the page, with no effect.

does anyone have any ideas what is going wrong, or how to fix it?
GeneralASP.NET Web application Pin
zeeShan anSari28-Jan-08 3:22
zeeShan anSari28-Jan-08 3:22 
AnswerRe: ASP.NET Web application Pin
newc128-Jan-08 5:24
newc128-Jan-08 5:24 
GeneralRe: ASP.NET Web application Pin
zeeShan anSari28-Jan-08 6:49
zeeShan anSari28-Jan-08 6:49 
GeneralImage Preview Pin
NjMikw28-Jan-08 2:37
NjMikw28-Jan-08 2:37 
GeneralRe: Image Preview Pin
newc128-Jan-08 5:33
newc128-Jan-08 5:33 
Questionhow to display a file browser dialog in an ASP.NET user control in design time [modified] Pin
kudorgyozo28-Jan-08 2:17
kudorgyozo28-Jan-08 2:17 
AnswerRe: how to display a file browser dialog in an ASP.NET user control in design time Pin
newc128-Jan-08 23:44
newc128-Jan-08 23:44 
GeneralRe: how to display a file browser dialog in an ASP.NET user control in design time [modified] Pin
kudorgyozo29-Jan-08 2:01
kudorgyozo29-Jan-08 2:01 
Questionanyway for asp.net to send report directly to printer at client side? Pin
ALAQUNAIBI28-Jan-08 1:57
ALAQUNAIBI28-Jan-08 1:57 
AnswerRe: anyway for asp.net to send report directly to printer at client side? Pin
N a v a n e e t h28-Jan-08 2:59
N a v a n e e t h28-Jan-08 2:59 
GeneralRe: anyway for asp.net to send report directly to printer at client side? Pin
thomas_joyee28-Jan-08 16:42
thomas_joyee28-Jan-08 16:42 
GeneralRe: anyway for asp.net to send report directly to printer at client side? Pin
N a v a n e e t h28-Jan-08 19:19
N a v a n e e t h28-Jan-08 19:19 
GeneralRe: anyway for asp.net to send report directly to printer at client side? Pin
thomas_joyee28-Jan-08 19:40
thomas_joyee28-Jan-08 19:40 
Generalsession problem Pin
RajeevKumarSharma28-Jan-08 1:09
RajeevKumarSharma28-Jan-08 1:09 
QuestionRe: session problem Pin
Vasudevan Deepak Kumar28-Jan-08 1:18
Vasudevan Deepak Kumar28-Jan-08 1:18 
GeneralRe: session problem Pin
RajeevKumarSharma28-Jan-08 1:25
RajeevKumarSharma28-Jan-08 1:25 
GeneralRe: session problem Pin
Vasudevan Deepak Kumar28-Jan-08 2:19
Vasudevan Deepak Kumar28-Jan-08 2:19 

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.