Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Window > How to pass data on client side (cshtml) to a model window

Not answered How to pass data on client side (cshtml) to a model window

Feed from this thread
  • Narayanarao avatar

    Posted on Dec 27, 2011 (permalink)

    Hi ,

    I have a model window that i invoke on click of a button using the scripts. I want to pass certain parameters to model windowthat will facilitate the same. could you please help

    currently i use  "
     $('#NewContactWindow').data('tWindow').center().open();
    
     "

    Thanks,
    Anand

    Reply

  • Dimo Dimo admin's avatar

    Posted on Dec 27, 2011 (permalink)

    Hi Anand,

    It is not clear whether the Window content is retrieved as a partial view, a complete external page, or it is static and hard-coded.

    If it is retrieved as a partial view or a complete page, you can set some query string parameters that will be handled server-side. Modify the Window's contentUrl property before calling refresh() or ajaxRequest().

    All the best,
    Dimo
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Window > How to pass data on client side (cshtml) to a model window
Related resources for "How to pass data on client side (cshtml) to a model window"

ASP.NET MVC Window Features  |  Documentation  |  Demos  |  Telerik TV ]