This is a migrated thread and some comments may be shown as answers.

[Solved] Client-Side OnRowCreated Not Firing (Redux))

2 Answers 140 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Greg Johnson
Top achievements
Rank 2
Greg Johnson asked on 01 May 2008, 03:41 PM
I had posted in this forum yesterday but that thread went missing. It used to be located here [http://www.telerik.com/community/forums/thread/b311D-bdkbmt.aspx] and the contents of it can be found in the cached version here [http://search.telerik.com/search?q=cache:3Ptq3mw5t78J:www.telerik.com/community/forums/thread/b311D-bdkbmt.aspx++TelerikExample.zip&access=p&output=xml_no_dtd&ie=UTF-8&client=forums&num=20&site=forums&proxystylesheet=forums&oe=UTF-8].

I would like to add in a few important quotes from that thread before continuing onward.


(from me)
I have a client-side event that attaches and works like a champ.

<ClientSettings  
    AllowColumnsReorder="True" 
    AllowDragToGroup="True" 
    EnableClientKeyValues="true">  
    <Selecting AllowRowSelect="False" /> 
    <ClientEvents OnRowCreated="OnRowCreated" /> 
</ClientSettings> 

It works until I expand one of the MasterTableView rows to expose the DetailTable inside it. I have an <asp:UpdatePanel> surrounding my RadGrid. When the expand button is clicked the page does an update with the UpdatePanel.

All seems to work well but the OnRowCreated client-side event doesn't fire for the grid. Now the rows have lost their click event and it no longer works like a champ.

Do you have any advice? I'm sure it must be a javascript issue. The listeners are not being attached to the gridrows. Thanks for your help. 


(from Yavor )

Hello Greg,

In order to troubleshoot the application, you can nest the grid in an AjaxPanel, or Ajaxify the control through the AjaxManager, to see if the problem will persist.

Kind regards,
Yavor
the Telerik team



(from me)

I am getting the same issues with the RadAjaxPanel. I will cook up a demonstration application for your review this afternoon. In the meantime if you have any other suggestions please feel free to provide them.

thanks,
greg johnson 


(from me)
I have created a demonstration project for your examination. It is attached to this post. I believe that it shows the issue exactly. If you have any questions do not hesitate to ask.

greg johnson


(from me)


greg johnson

2 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 02 May 2008, 07:56 AM
Hello Greg,

Please, keep in mind that the forum post that you are referring to was not deleted, but rahter transferred into a support ticket. You can refer to the support ticket for more information, and we can continue our communication there.

Kind regards,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Greg Johnson
Top achievements
Rank 2
answered on 02 May 2008, 01:52 PM
Sorry about the confusion. I didn't know about the support ticket until just now. I will continue this discussion in my support ticket. Thanks again.

greg johnson
Tags
Grid
Asked by
Greg Johnson
Top achievements
Rank 2
Answers by
Yavor
Telerik team
Greg Johnson
Top achievements
Rank 2
Share this question
or