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

context menu with Grid as control on tabstrip

3 Answers 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
johnathan
Top achievements
Rank 1
johnathan asked on 13 Jan 2009, 06:52 AM
Hi,
 I am finally making great progress with your tools. I have however hit a little bump in the rode. I created a grid with a context menu per your sample code and everythign worked great. The next step was to actually create a tabstrip and have a radgrid on each tab view. No problem, I changed the aspx pages hosting the grid to ascx pages and linked them to the tabstrip view. Everything worked well with the exception of the contextmenu and the editform popup. The javascript is looking for the radgrid which is no longer onthe page but in the control page. Are there any examples of how to pass the grid information to host page for the control? I believe this is what is causing the problem

3 Answers, 1 is accepted

Sort by
0
johnathan
Top achievements
Rank 1
answered on 14 Jan 2009, 05:45 AM
where are you Princy:-) Nothing stumps you
0
Princy
Top achievements
Rank 2
answered on 14 Jan 2009, 06:49 AM
Hello Jonathan,

I did not understand why you would want to call the client events of the grid in the usercontrol page, from the host page. Instead, you can very well call the client events for the grid from the ascx page which contains the grid itself. I'm not sure if that is your scenario. If not, can you provide a bit more explanation on what you are trying to achieve?

Regards
Princy.
0
johnathan
Top achievements
Rank 1
answered on 14 Jan 2009, 05:23 PM
Sorry i am a business layer and database layer programmer just getting in to the interface side. I was simply using the exmaples given, and in the example it uses the document object to access the grid, and I didn't think there was a document object in a controls page. Once again excuse my ignorance, i will try to change the sample to use a controls page and acess the grid and it's events from there. thanks for the question because it got me thinking in the right direction. Appreciate all the great help and direction
Tags
Grid
Asked by
johnathan
Top achievements
Rank 1
Answers by
johnathan
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or