Search

You searched for the word(s): userid:624667

Matching Posts

  • How to change GridView Row color on mouse over

    Hello, I am trying to create a Mouse Over for my GridView and have a problem hope any of you can shed some light to how to fix it Currently my Alternate GridView Row is using this CSS style with an image .mGrid .alt { background : #fcfcfc url( Images/grd_alt.png) repeat-x top ; } In my GridView I have some codes below, when my mouse move over the Alternate Row I would like to replace the image I defined in my css stylesheet with a color but it doesn't work Protected Sub GridView1_RowDataBound
    Posted to Data Presentation Controls (Forum) by Truc-Mi on 11/11/2009
  • Re: How to change GridView Row color on mouse over

    Thanks for a quick reply, I inserted the Code into my CSS Style and make adjustments to my GridView as stated but same results. When I move my move over to the Alternate Row, it suppose to change the Background color to what I specified but it's not my alternate row image still show
    Posted to Data Presentation Controls (Forum) by Truc-Mi on 11/11/2009
  • Re: How to change GridView Row color on mouse over

    Thank you all for reply, I ran out of time to correct this so for now my solution is NOT using the Alternate Row image, then all of the suggestion above works. Later when I have more time I will read all the links provided and see what I have done wrong with my settings.
    Posted to Data Presentation Controls (Forum) by Truc-Mi on 11/11/2009
  • Re: KeepInInsertMode in ObjectDatasource

    Thanks, as you suggested I use the Inserted event in the detailsview and it works.
  • Re: Change Gridview cell in edit mode

    Thanks for your code, other user already gave me the answer see above posts. By the way, your method seems to use sqldatasource, I am using objectdatasource that's where I am having problem. But I will keep your code as well in the event if I use sqldatasource.
    Posted to Data Presentation Controls (Forum) by Truc-Mi on 2/20/2009
  • Re: Change Gridview cell in edit mode

    You are a genious! Your code is right on, I've spent hours trying different approaches, events none work until you responded. Many thanks! Here is the code in VB. Dim UserLogonName As String = User.Identity.Name() If (GridView1.EditIndex <> -1) AndAlso (e.Row.RowType = DataControlRowType.DataRow) Then If e.Row.RowIndex = GridView1.EditIndex Then Dim userMod As TextBox = DirectCast (e.Row.FindControl( "UserModifiedTextBox" ), TextBox) userMod.Text = UserLogonName End If End If
    Posted to Data Presentation Controls (Forum) by Truc-Mi on 2/20/2009
  • Change Gridview cell in edit mode

    Hello, I am trying to replace a cell value in a GridView (Edit Row) but unable to, I hope you can help me with thanks in advance. I have a GridView with data fields in them using ObjectDataSource, when user click on EDIT, I want to replace a Data field "UserModifiedTexBox" to a new value I specified, below is my code, my page ran without report any error but the field doesn't populate with the value I want. PLEASE HELP! Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object
    Posted to Data Presentation Controls (Forum) by Truc-Mi on 2/20/2009
  • KeepInInsertMode in ObjectDatasource

    Hello everyone, I have an issue hope you can help. My DetailsView is binded to an ObjectDataSource, if the insert failed, I want to keep in the insertmode, I tried e.KeepInInsertMode = True but it didn't like it what's the equivalent? If I left this line out any error occurred, it will take me back to the View mode and any data I entered are lost. Thanks in advance for any feedback. Protected Sub odsData_Inserted(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ObjectDataSourceStatusEventArgs
  • Re: Get new inserted record using Dataset question

    Thank you for your suggestion, I've seen some samples on how to use stored procedure for this but hoping to implement this feature wo the stored procedure. My other option is to use Sqldatasource. Thanks again.
  • Get new inserted record using Dataset question

    Hello everyone, I have a Dataset generated using the Wizard the Insert code is as shown, because I select the Advanced option so the SELECT .... SCOPE_IDENTITY() added automatically, how do I return the newly record in my DetailsView Record Inserted code? I tried something like this but it didn't like it, thanks in advance for any help, by the way my RecordID column is an Auto generated number (integer) Dim NewRecID As Integer = CInt(e.Command.Parameters("RecordID").Value) lblNewRecord
Page 1 of 14 (134 items) 1 2 3 4 5 Next > ... Last »