Two grids in a user control
Coolite Toolkit Version 0.8.2 now available for DOWNLOAD | See also Examples Explorer | Version 1.0 available Q1 2010
 

Coolite Forums

Welcome Guest ( Login | Register )
 
Two grids in a user control
Subscribe
Last Login: 2 days ago @ 9:49:22 PM
Posts: 6,
Posted 1/25/2010 1:44:47 AM

Group: Coolite Early Adopter
 Hi,

I am using two grid example in a user control but when i want to transfer rows from Gridpanel1 to Gridpanel 2 javasript error prompts that

Gridpanel 2 is unidentified

Is any know how to this or you have any example. Kindly provide me the solution on urgent basis


Thanks
KHafeez
Last Login: Today @ 4:16:20 PM
Posts: 3,961,
Posted 1/25/2010 12:41:30 PM

Group: Core Development Team
Hi KHafeez,

If you're referencing the GridPanels in JavaScript code, please ensure you are using the their client-side ID. The client-side ID may be different than the server-side ID. It WILL be different if the component is in a UserControl. 

Hope this helps.

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 2 days ago @ 9:49:22 PM
Posts: 6,
Posted 1/25/2010 11:51:59 PM

Group: Coolite Early Adopter
 Geoffrey,

Thankyou for prompt response I want to explain my scenario to, I have a webpage on which I used Gridpanel by ID Gridpanel1 and in it I use menu column and when I call a windoweditor user control through a menu command from code behind then it opens a window with two grids in it Gridpanel1 and Gridpanel2 like a two grid example of grid panel in your example explorer

When I want to transfer a row from gridpanel1 to gridpanel2 it throws a javascript error

Gridpanel2 is unidentified

And I wonder that widow editor user control already contains two grid Gridpanel1 and Gridpanel2 so why it throws this exception, your urgent response will highly appreciated and kindly provide me some example to achieve this


Thanks
KHafeez
Last Login: 2 days ago @ 9:49:22 PM
Posts: 6,
Posted 1/28/2010 4:18:01 AM

Group: Coolite Early Adopter
 
Hi,

This is the below code which is in usercontrol and run through menuitem in grid

It show an error Gridpanel2 is unidentified

KHafeez
Last Login: 2 days ago @ 9:49:22 PM
Posts: 6,
Posted 1/29/2010 2:36:55 AM

Group: Coolite Early Adopter
 Thanks Geoffrey yes you are right and i follow your instructions. and its done KHafeez
« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -8:00, Time now is 4:37pm