Click here to Skip to main content
15,902,299 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Generaldone...finally Pin
Kunal P23-Feb-07 3:21
Kunal P23-Feb-07 3:21 
GeneralRe: done...finally Pin
kubben23-Feb-07 3:22
kubben23-Feb-07 3:22 
GeneralRe: done...finally Pin
Kunal P23-Feb-07 3:23
Kunal P23-Feb-07 3:23 
GeneralRe: done...finally Pin
kubben23-Feb-07 3:30
kubben23-Feb-07 3:30 
QuestionFileUpload Web Control is not working with Atlas Pin
Rajesh_K_Sharma20-Feb-07 4:39
Rajesh_K_Sharma20-Feb-07 4:39 
AnswerRe: FileUpload Web Control is not working with Atlas Pin
badgrs20-Feb-07 5:54
badgrs20-Feb-07 5:54 
GeneralRe: FileUpload Web Control is not working with Atlas Pin
Jon Sagara20-Feb-07 6:30
Jon Sagara20-Feb-07 6:30 
QuestionCells(2).Text returns an empty string Pin
Hampden Tech20-Feb-07 3:37
Hampden Tech20-Feb-07 3:37 
I have the following code in my application...

Protected Sub gridTerms_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles gridTerms.RowDataBound
Dim strMsg As String
If (e.Row.RowType = DataControlRowType.DataRow) Then
If (e.Row.FindControl("lnkDelete") IsNot Nothing) Then
strMsg = "return confirm('Please confirm. Delete payment term " & Trim(e.Row.Cells(2).Text) & "?');"
CType(e.Row.FindControl("lnkDelete"), LinkButton).OnClientClick = strMsg
End If
End If
End Sub

For some reason the contents of this cell (which is a code) appears blank in the debugger and the JavaScript confirm shows an empty string in the message. The GridView appears fine but even investigating the value of e.Row.Cells(2).Text in the debugger reveals an empty string. Any ideas??
AnswerRe: Cells(2).Text returns an empty string Pin
kubben20-Feb-07 3:52
kubben20-Feb-07 3:52 
GeneralRe: Cells(2).Text returns an empty string Pin
Hampden Tech20-Feb-07 3:54
Hampden Tech20-Feb-07 3:54 
GeneralRe: Cells(2).Text returns an empty string Pin
kubben20-Feb-07 3:59
kubben20-Feb-07 3:59 
AnswerRe: Cells(2).Text returns an empty string Pin
Marcus J. Smith20-Feb-07 4:09
professionalMarcus J. Smith20-Feb-07 4:09 
AnswerRe: Cells(2).Text returns an empty string Pin
asithangae20-Feb-07 19:23
asithangae20-Feb-07 19:23 
GeneralRe: Cells(2).Text returns an empty string Pin
Marcus J. Smith21-Feb-07 2:22
professionalMarcus J. Smith21-Feb-07 2:22 
GeneralRe: Cells(2).Text returns an empty string Pin
asithangae21-Feb-07 17:35
asithangae21-Feb-07 17:35 
QuestionIframe and internal postback in asp.net?? Pin
Tridip Bhattacharjee20-Feb-07 3:14
professionalTridip Bhattacharjee20-Feb-07 3:14 
AnswerRe: Iframe and internal postback in asp.net?? Pin
Sandeep Akhare20-Feb-07 3:18
Sandeep Akhare20-Feb-07 3:18 
QuestionSQL Server Does not exits or Access denied Pin
Aswanikumarj20-Feb-07 3:02
Aswanikumarj20-Feb-07 3:02 
AnswerRe: SQL Server Does not exits or Access denied Pin
asithangae20-Feb-07 19:27
asithangae20-Feb-07 19:27 
QuestionPager1 conflicts with pager2 Pin
iamdking20-Feb-07 1:59
iamdking20-Feb-07 1:59 
Questionurl problem Pin
Tamimi - Code20-Feb-07 1:23
Tamimi - Code20-Feb-07 1:23 
AnswerRe: url problem Pin
Mark J. Miller20-Feb-07 1:33
Mark J. Miller20-Feb-07 1:33 
GeneralRe: url problem Pin
Tamimi - Code20-Feb-07 1:41
Tamimi - Code20-Feb-07 1:41 
GeneralRe: url problem Pin
Mark J. Miller20-Feb-07 1:48
Mark J. Miller20-Feb-07 1:48 
AnswerRe: url problem Pin
Sandeep Akhare20-Feb-07 1:44
Sandeep Akhare20-Feb-07 1:44 

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.