Click here to Skip to main content
15,909,199 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Hi , How to Add Time Values. Pin
Guffa2-Nov-08 21:27
Guffa2-Nov-08 21:27 
Question'Microsoft.Jet.OLEDB.4.0' Issue Pin
Haridas.R2-Nov-08 17:37
Haridas.R2-Nov-08 17:37 
QuestionFind Control in EditItemTemplate Column In DataGrid Pin
itsruta2-Nov-08 17:08
itsruta2-Nov-08 17:08 
AnswerRe: Find Control in EditItemTemplate Column In DataGrid Pin
_AK_2-Nov-08 20:13
_AK_2-Nov-08 20:13 
GeneralRe: Find Control in EditItemTemplate Column In DataGrid Pin
itsruta2-Nov-08 21:44
itsruta2-Nov-08 21:44 
QuestionError #2048: Security sandbox violation in [modified] Pin
mangrovecm2-Nov-08 1:33
mangrovecm2-Nov-08 1:33 
QuestionRe: Error #2048: Security sandbox violation in Pin
DJANEK123425-Jan-09 6:32
DJANEK123425-Jan-09 6:32 
QuestionWhat could cause not to edit an item in listview at 1st click but 2nd click? Pin
JUNEYT1-Nov-08 9:52
JUNEYT1-Nov-08 9:52 
Hello,

I have a edit button in the listview's items template. When I try to edit one of the listed record, it doesn't edit it in 1st click but it does in 2nd click. What could cause such problem? The other question is how I can go return to runtime view of the listview after editing an item.

Thanks.

<br />
    Private Sub ListView1_ItemEditing(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ListViewEditEventArgs) Handles ListView1.ItemEditing<br />
<br />
<br />
        ListView1.EditIndex = e.NewEditIndex<br />
<br />
    End Sub<br />
<br />
    Private Sub ListView1_ItemUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ListViewUpdateEventArgs) Handles ListView1.ItemUpdating<br />
<br />
        Dim item As ListViewItem = ListView1.Items(e.ItemIndex)<br />
        Dim myDescription As TextBox = CType(item.FindControl("Description"), TextBox)<br />
<br />
        If String.IsNullOrEmpty(myDescription.Text) Then<br />
            Return<br />
        End If<br />
<br />
        Dim Pnumber As Label = CType(item.FindControl("PropertyNumber"), Label)<br />
        Dim Hindex As Label = CType(item.FindControl("HeadingIndex"), Label)<br />
<br />
        Call UpdateRecord(CType(Pnumber.Text, Int64), CType(Hindex.Text, Int32), myDescription.Text)<br />
<br />
    End Sub<br />
<br />



What a curious mind needs to discover knowledge is noting else than a pin-hole.


QuestionPlease help me with this problem!!!! Pin
mabbas_861-Nov-08 8:11
mabbas_861-Nov-08 8:11 
AnswerRe: Please help me with this problem!!!! Pin
Guffa2-Nov-08 17:19
Guffa2-Nov-08 17:19 
GeneralRe: Please help me with this problem!!!! Pin
N a v a n e e t h2-Nov-08 20:58
N a v a n e e t h2-Nov-08 20:58 
General64 bit issue. Pin
Haridas.R1-Nov-08 7:04
Haridas.R1-Nov-08 7:04 
GeneralRe: 64 bit issue. Pin
Paul Conrad1-Nov-08 7:19
professionalPaul Conrad1-Nov-08 7:19 
QuestionTableless HTML Design?? [modified] Pin
Blumen1-Nov-08 3:28
Blumen1-Nov-08 3:28 
AnswerRe: Tableless HTML Design?? Pin
JimmyRopes1-Nov-08 4:32
professionalJimmyRopes1-Nov-08 4:32 
AnswerRe: Tableless HTML Design?? Pin
Guffa1-Nov-08 6:35
Guffa1-Nov-08 6:35 
GeneralRe: Tableless HTML Design?? Pin
Blumen1-Nov-08 18:24
Blumen1-Nov-08 18:24 
AnswerRe: Tableless HTML Design?? Pin
N a v a n e e t h2-Nov-08 17:01
N a v a n e e t h2-Nov-08 17:01 
GeneralRe: Tableless HTML Design?? Pin
Blumen2-Nov-08 17:51
Blumen2-Nov-08 17:51 
AnswerRe: Tableless HTML Design?? Pin
Steve Echols2-Nov-08 17:58
Steve Echols2-Nov-08 17:58 
GeneralRe: Tableless HTML Design?? Pin
Blumen2-Nov-08 18:08
Blumen2-Nov-08 18:08 
GeneralRe: Tableless HTML Design?? Pin
Steve Echols2-Nov-08 18:39
Steve Echols2-Nov-08 18:39 
GeneralRe: Tableless HTML Design?? Pin
Blumen2-Nov-08 20:45
Blumen2-Nov-08 20:45 
QuestionDynamic Form [modified] Pin
Sennive1-Nov-08 3:03
Sennive1-Nov-08 3:03 
AnswerRe: Dynamic Form Pin
Prasanna Kumar Pete1-Nov-08 19:27
Prasanna Kumar Pete1-Nov-08 19:27 

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.