Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

footable bug in rowupdating event #898

Open
seannctu opened this issue Sep 12, 2023 · 1 comment
Open

footable bug in rowupdating event #898

seannctu opened this issue Sep 12, 2023 · 1 comment

Comments

@seannctu
Copy link

hi all, when I am in rowupdating event and get the object from templatefield, some of the textbox should be x but it show me x,x and dropdownlist it refresh with old value. Anyone face the same issue like me?

`
Private Sub Search_GridView_RowUpdating(sender As Object, e As GridViewUpdateEventArgs) Handles Search_GridView.RowUpdating
Dim row = Search_GridView.Rows(e.RowIndex)

    Dim accountdate, payflow, member, ID As String

    accountdate = CType(row.Cells(0).Controls(0), TextBox).Text
    payflow = CType(row.FindControl("DDLPayFlow"), DropDownList).SelectedItem.Value
    member = CType(row.FindControl("DDLMember"), DropDownList).SelectedItem.Value
    ID = CType(row.Cells(12).Controls(0), TextBox).Text
End Sub

`

@seannctu
Copy link
Author

I found it all the textbox/dropdownlist act abnormal are all set to "phone", others are all act correct.

Search_GridView.HeaderRow.Cells(i).Attributes("data-hide") = "phone"

@seannctu seannctu changed the title footable bug when rowupdating event footable bug in rowupdating event Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant