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

RadGrid Automatic Operations inside RadWindow

2 Answers 75 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sean
Top achievements
Rank 1
Sean asked on 17 Jun 2010, 01:39 AM
Hello,

I'm having some trouble with getting a RadGrid to perform automatic operations inside a RadWindow, and am wondering if i'm either doing something wrong or it's not possible.

Scenario: I have RadGrid (Id = RadGridHdr) on default.aspx.vb.  This grid is databound with all automatic operations enabled and working beautifully.  I have the OnRowDblClick clientsetting set to open a RadWindow (Id = RadWindowDtl).  This works no problem.  The RadWindow loads detail.aspx.vb which contains another RadGrid (Id = RadGridDtl).  This grabs the request object from the OnRowDblClick client event which is a selectparameter on the datasource that feeds RadGridDtl.  All this works no problem.  I can click the Insert button and the ItemCommand fires for RadGridDtl (I'm using a formtemplate with radcontrols for the insert/edit).  However when I click the PerformInsert button the RadGridDtl basically refreshes itself leaving me on a blank insert form.  I have all the Automatic Operations enabled and I know the Insert Query on the datasource is correct.  Also another snafu is when RadGridDtl has rows the Edit button is inoperable as well.

Will I need to do advanced data-binding or even client side insert/update/delete because of the RadWindow layer?  I can't post an example project due to this being internal data housed in an Oracle Database.  I'm workin in VB.Net and using Q1 2010 SP2 controls.

Any help would greatly be appreciated.

Thanks,

Sean

2 Answers, 1 is accepted

Sort by
0
Sean
Top achievements
Rank 1
answered on 18 Jun 2010, 04:21 PM
Ok I've tracked down a path so far.  It looks to me like the ImageButtons are not firing the ItemCommand.  I found this forum post from 2007: http://www.telerik.com/community/forums/aspnet/grid/radgrid-event-itemcommand-not-firing.aspx 

And it sounds like the solution was to set the persistance mode on the datasource for the grid.  However i'm not finding that settings in the property on the grid. 

Anyone have any thoughts? 
0
Iana Tsolova
Telerik team
answered on 22 Jun 2010, 10:19 AM
Hi Sean,

Please find our answer to your questions in the other thread you have posted on the same subject.

Regards,
Iana
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
Sean
Top achievements
Rank 1
Answers by
Sean
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or