context menu with Grid as control on tabstrip

4 posts, 0 answers
  1. johnathan
    johnathan avatar
    11 posts
    Member since:
    Apr 2008

    Posted 13 Jan 2009 Link to this post

    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
  2. johnathan
    johnathan avatar
    11 posts
    Member since:
    Apr 2008

    Posted 13 Jan 2009 Link to this post

    where are you Princy:-) Nothing stumps you
  3. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 14 Jan 2009 Link to this post

    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.
  4. johnathan
    johnathan avatar
    11 posts
    Member since:
    Apr 2008

    Posted 14 Jan 2009 Link to this post

    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
Back to Top