Click here to Skip to main content
15,885,760 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: dialog box on if condition Pin
ships_agr30-Mar-10 18:08
ships_agr30-Mar-10 18:08 
QuestionA problem with Textbox and the property .SelectedText Pin
_ASPAle_30-Mar-10 9:15
_ASPAle_30-Mar-10 9:15 
AnswerRe: A problem with Textbox and the property .SelectedText Pin
Gregory Gadow30-Mar-10 9:28
Gregory Gadow30-Mar-10 9:28 
GeneralRe: A problem with Textbox and the property .SelectedText Pin
_ASPAle_30-Mar-10 12:02
_ASPAle_30-Mar-10 12:02 
GeneralRe: A problem with Textbox and the property .SelectedText Pin
Gregory Gadow30-Mar-10 18:22
Gregory Gadow30-Mar-10 18:22 
GeneralRe: A problem with Textbox and the property .SelectedText Pin
Venkatesh Mookkan31-Mar-10 1:36
Venkatesh Mookkan31-Mar-10 1:36 
QuestionPopulate A Label in Listview From VB Event Pin
MarkPhD30-Mar-10 7:52
MarkPhD30-Mar-10 7:52 
AnswerRe: Populate A Label in Listview From VB Event Pin
Gregory Gadow30-Mar-10 8:04
Gregory Gadow30-Mar-10 8:04 
I'm not sure where the problem might be, but you can rewrite this a bit to help with the debugging.
VB.NET
Dim Obj As Object = lvPTRPhoneCalls.FindControl("IDNOInsertLabel")
If Obj IsNot Nothing Then
    Dim Lbl As Label = TryCast(Obj, Label)
    If Lbl IsNot Nothing Then
        Lbl.Text = lblSelectedIDNO.Text
    Else
        'Do something to report the error
    End If
Else
    'Do something to report the error
End If

With this, you can see if the control is not being found, or if it is found but is not a label.
QuestionProblem with Web Service Pin
Sider8930-Mar-10 6:20
Sider8930-Mar-10 6:20 
AnswerRe: Problem with GridView [modified] Pin
Sandeep Mewara30-Mar-10 6:59
mveSandeep Mewara30-Mar-10 6:59 
GeneralRe: Problem with GridView Pin
Sider8930-Mar-10 8:11
Sider8930-Mar-10 8:11 
QuestionInsert Into Listview Label Pin
MarkPhD30-Mar-10 6:13
MarkPhD30-Mar-10 6:13 
AnswerRe: Insert Into Listview Label Pin
Sandeep Mewara30-Mar-10 7:05
mveSandeep Mewara30-Mar-10 7:05 
QuestionQueyString problem in IE6 Pin
Abbas_here30-Mar-10 5:05
Abbas_here30-Mar-10 5:05 
AnswerRe: QueyString problem in IE6 Pin
Not Active30-Mar-10 5:21
mentorNot Active30-Mar-10 5:21 
AnswerRe: QueyString problem in IE6 Pin
Abbas_here30-Mar-10 5:34
Abbas_here30-Mar-10 5:34 
GeneralRe: QueyString problem in IE6 Pin
Not Active30-Mar-10 6:02
mentorNot Active30-Mar-10 6:02 
GeneralRe: QueyString problem in IE6 Pin
Rutvik Dave30-Mar-10 8:38
professionalRutvik Dave30-Mar-10 8:38 
Questionstop page reloading in asp.net Pin
vikas shukla30-Mar-10 2:30
vikas shukla30-Mar-10 2:30 
AnswerRe: stop page reloading in asp.net Pin
Not Active30-Mar-10 4:37
mentorNot Active30-Mar-10 4:37 
AnswerRe: stop page reloading in asp.net Pin
T M Gray30-Mar-10 6:19
T M Gray30-Mar-10 6:19 
GeneralRe: stop page reloading in asp.net Pin
Not Active30-Mar-10 6:44
mentorNot Active30-Mar-10 6:44 
GeneralRe: stop page reloading in asp.net Pin
T M Gray30-Mar-10 7:20
T M Gray30-Mar-10 7:20 
JokeRe: stop page reloading in asp.net Pin
Rutvik Dave30-Mar-10 8:42
professionalRutvik Dave30-Mar-10 8:42 
GeneralRe: stop page reloading in asp.net Pin
MyDevBank31-Mar-10 10:17
MyDevBank31-Mar-10 10:17 

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.