Ticket Q91970
Visible to All Users

HtmlRowCreated event lost data after click update.

created 17 years ago

Please check my attachment.
I am using tow databind event.
One is using HtmlDataCellPrepared event.
Another one is HtmlRowCreated.
my problem is After finished update click changes value is lost.
If i click edit button change Aspx combo and then click update for changes value that doesn't show in Label.
Please help me.

Comments (3)
DevExpress Support Team 17 years ago

    Hi Supat,
    First, I would like to let you know that the approach you are using is not good. It is possible to achieve the exactly same effect with less code. To do this, it is necessary to create columns of the necessary type in the ASPxGridView. I do not understand why you are using templates so intensively. Could you please clarify why?
    I have created a sample project, which works properly. To be exact, I used your UserControl, removed all the code from the code behind file and wrote my own code instead. My code works properly. I hope it will be helpful to you.
    Finally, I would like to ask you to send us the code, which is possible to compile as is.
    Thanks,
    Plato

    SL SL
    Supat Lorcharoenchok 17 years ago

      usercontrol file is my working file.
      if u want to do sample for AspxCombo process u can do for me.
      but i want to get code behind file databind.
      don't want to use datasource control.
      please check my attachment.

      DevExpress Support Team 17 years ago

        Hi Supat,
        I attached a sample project in which the ASPxGridView is bound to a DataSet at runtime, just as in your application. So, I do not see a significant difference between your code and mine.
        Thanks,
        Plato

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.