Click here to Skip to main content
15,889,842 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to Concatenate values from gridview to textbox in asp.net Pin
nagendrathecoder27-Apr-10 21:22
nagendrathecoder27-Apr-10 21:22 
QuestionProblem with Dropdownlist (DDL) box... Pin
<<Tash18>>27-Apr-10 19:29
<<Tash18>>27-Apr-10 19:29 
AnswerRe: Problem with Dropdownlist (DDL) box... Pin
Ankur\m/27-Apr-10 20:04
professionalAnkur\m/27-Apr-10 20:04 
GeneralRe: Problem with Dropdownlist (DDL) box... Pin
<<Tash18>>27-Apr-10 21:22
<<Tash18>>27-Apr-10 21:22 
AnswerRe: Problem with Dropdownlist (DDL) box... Pin
nagendrathecoder27-Apr-10 21:27
nagendrathecoder27-Apr-10 21:27 
GeneralRe: Problem with Dropdownlist (DDL) box... Pin
<<Tash18>>27-Apr-10 21:43
<<Tash18>>27-Apr-10 21:43 
AnswerRe: Problem with Dropdownlist (DDL) box... Pin
Ankur\m/27-Apr-10 21:29
professionalAnkur\m/27-Apr-10 21:29 
GeneralRe: Problem with Dropdownlist (DDL) box... Pin
<<Tash18>>27-Apr-10 21:42
<<Tash18>>27-Apr-10 21:42 
thanx for ur reply..
my DDL gets loaded with the items on pageload. so the DDL has items in it.. the If condition that im using is working fine if the item retrieved from the database is present in my DDL, it throws an exception only if that item is not present in my DDL...

if(ddl_Benef.Items.FindByValue(myDr["BenefName"].ToString().Trim()).Value == myDr["BenefName"].ToString())
					{
						ddl_Benef.Items.FindByValue(myDr["BenefName"].ToString().Trim()).Selected=true;
					}
					else
					{
						ddl_Benef.Items.FindByText("Select an option").Selected=true;
					}


Im not sure if my condition in the if statement is properly framed or not...
plz advise..
Thanx in advance,
Tash..
AnswerRe: Problem with Dropdownlist (DDL) box... Pin
nagendrathecoder27-Apr-10 22:06
nagendrathecoder27-Apr-10 22:06 
AnswerRe: Problem with Dropdownlist (DDL) box... Pin
Mohammed Hameed28-Apr-10 2:58
professionalMohammed Hameed28-Apr-10 2:58 
QuestionASP.Net: Losing Javascript events on async postback Pin
Jake Slack27-Apr-10 10:53
Jake Slack27-Apr-10 10:53 
AnswerRe: ASP.Net: Losing Javascript events on async postback Pin
daveyerwin27-Apr-10 14:12
daveyerwin27-Apr-10 14:12 
GeneralRe: ASP.Net: Losing Javascript events on async postback Pin
Jake Slack28-Apr-10 2:09
Jake Slack28-Apr-10 2:09 
GeneralRe: ASP.Net: Losing Javascript events on async postback Pin
daveyerwin28-Apr-10 2:31
daveyerwin28-Apr-10 2:31 
QuestionItemTemplate can't find a control in placeholder Pin
mark_me27-Apr-10 9:44
mark_me27-Apr-10 9:44 
AnswerRe: ItemTemplate can't find a control in placeholder Pin
Jamil Hallal27-Apr-10 21:03
professionalJamil Hallal27-Apr-10 21:03 
GeneralRe: ItemTemplate can't find a control in placeholder Pin
mark_me28-Apr-10 11:40
mark_me28-Apr-10 11:40 
QuestionFree Online Test and Interview Questions Pin
Nikhil Bandekar27-Apr-10 7:11
Nikhil Bandekar27-Apr-10 7:11 
AnswerRe: Free Online Test and Interview Questions Pin
Sandeep Mewara27-Apr-10 18:56
mveSandeep Mewara27-Apr-10 18:56 
QuestionHow to align EmptyDataText in the middle of gridview Pin
Andraw11127-Apr-10 6:30
Andraw11127-Apr-10 6:30 
AnswerRe: How to align EmptyDataText in the middle of gridview Pin
RCoate27-Apr-10 17:01
RCoate27-Apr-10 17:01 
QuestionNamespace not exposed in aspx.cs file Pin
Adam Brown 327-Apr-10 6:00
Adam Brown 327-Apr-10 6:00 
AnswerRe: Namespace not exposed in aspx.cs file Pin
michaelschmitt27-Apr-10 7:01
michaelschmitt27-Apr-10 7:01 
AnswerRe: Namespace not exposed in aspx.cs file Pin
daveyerwin27-Apr-10 7:15
daveyerwin27-Apr-10 7:15 
QuestionListbox selecteditem not eqal to true [modified] Pin
Sandesh M Patil27-Apr-10 5:55
Sandesh M Patil27-Apr-10 5:55 

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.