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

Grid Update, Cancel events not firing but Delete event fires

1 Answer 73 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sachin Raheja
Top achievements
Rank 1
Sachin Raheja asked on 18 May 2010, 08:02 PM
Hi,

I have a RadTabStrip on a page with 2 tabs (Tab1 and Tab2).
Tab1 has a corresponding RadPageView which has a ascx control containing a 2 level RadGrid (with mastertableview and detailtableview). Lets call it Grid1. 
When clicked on a row in detailtableview, a subtab is dynamically created in Tab2. So precisely user can create n number of subtabs in tab2, by clicking on rows in tab1.
The subtabs have corresponding radpageviews and an ascx control having a radgrid (lets call it Grid2) is loaded in the pageview using the PageViewCreated event of RadMultiPage.
Now i am creating Grid1 and Grid2 in ascx file, and i create mastableviews, detailtableviews with corresponding columns in page_init of ascx controls. And both the grids have GridEditFormType set to WebUserControl, and i load ascx control using EditFormSettings.UserControlName property.

Now the issue is for Grid1, the itemcommand event fires for all the events (update, insert, cancel and delete), but the itemcommand event is not getting fired for Grid2 update, insert and cancel events, however for delete command it fires the event and page_load gets fired for all the commands. I also have onclick events for save and cancel buttons in ascx control with respective command names but event the click events doesnt fire.

could you please help me out resolving this issue ?

Thanks

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 24 May 2010, 08:00 AM
Hello Sachin,

I suspect that there is a problem with the way the controls are loaded on the page and/or the way the grid is created. However, in order to properly trace the source of the issue, it will be best if you open a formal support ticket, and send us a small working project, demonstrating your approach. We will debug it locally, and get back to you with more information on the matter.

Best wishes,
Yavor
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Sachin Raheja
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or