Telerik

Telerik and MVC

Feed from this thread
  • px Intermediate avatar

    Posted on Oct 14, 2007 (permalink)

    Hi Guys,

    Is Telerik planning on making it RadControls compatible with Microsofts new MVC framework announced at ALT.NET?

    Cheers

    Peter

    Reply

  • Telerik Admin admin's avatar

    Posted on Oct 15, 2007 (permalink)

    Hello peter hardy,

    It is still too early to say something definitive on the subject given that nothing has been released to the public yet. We are following development in that area closely and will watch out for ways to make our controls work in that setup.

    One thing is for sure: we cannot afford not to support any major application development framework that is coming out of Microsoft. Probably the best question here is not "if", but "when" :-). We will dedicate time and resources for research and will have an announcement as soon as we are more into the new MVC framework.

    All the best,
    Hristo Deshev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • px Intermediate avatar

    Posted on Oct 15, 2007 (permalink)

    It light of the fact that no public version exists, it would sensible to to test the Telerik controls against there current MonoRail implementation. If Microsoft delivers on their promise (and for once it well looks like the might) we should be able to identify some of the major problems this way. Has any work been done on MonoRail integration? Are any of guys out there using Monorail with Telerik controls? Cheers, Pete

    Reply

  • Jafin Intermediate Jafin's avatar

    Posted on Oct 15, 2007 (permalink)

    It would be great if you could consider targeting both the MS MVC and the monorail approach.  Too early to see how close the structure would be but one area Monorail misses out on is a rich toolset at the view level.  (Although this appears to be rapidly improving).

    I do hope Telerik consider the MVC frameworks in the future.

    Reply

  • nagir Master avatar

    Posted on Oct 16, 2007 (permalink)

    Hi all,

    My +1 to MVC!

    Hope to see Telerik controls in this area too!
    I believe it will be hard work to do it :)

    Cheers,
    Dmitriy.

    Reply

  • James avatar

    Posted on Dec 16, 2007 (permalink)

    Me too! Very excited about the lightweight and modular opportunities with MVC and Telerik embracing it would be great.

    Reply

  • px Intermediate avatar

    Posted on Dec 16, 2007 (permalink)

    Hi Guys,

    Now we have a intial CTP I was wondering it Telerik have any views. Will making the Telerik Suite work with MVC take a  lot of work?

    Cheers,

    Pete

    Reply

  • Telerik Admin admin's avatar

    Posted on Dec 17, 2007 (permalink)

    Hi guys,

    We have played a bit with RadControls in MVC and here is what we found:

    ASP.NET server controls require a "server" form to be present on the page (<form runat="server">). Since such server form is not present by default in a MVC ViewPage server controls won't work and in most cases will throw an exception that a server form tag is missing. The same applies for RadControls as well.

    If you add a server form in your ViewPage all server controls will start working. In fact if you drag and drop a server control from the Visual Studio toolbox a server form will be inserted automatically for you.
    There is one catch though - ViewState and postbacks are enabled by adding a server-side form. This means that the ViewState hidden field and the JavaScript "__doPostBack" function will be rendered in your output. Also since view pages are not regular ASP.NET WebForms pages no fields are generated for server controls. For example if you add a Label with ID="Label1" there won't be a protected field called "Label1" in the codebehind. A possible workaround is to create that field by yourself and use Page.FindControl to initialize it.

    You can find a simple running MVC application utilizing RadMenu and RadGrid. It has server-side form tag added.

    At the time being we are not sure if Microsoft is going to support or recommend the approach I have just described. We still don't have any specific plans with regards to the MVC framework. We will wait for more information by Microsoft how 3rd party vendors can extend the MVC platform. A few possible directions are to provide some HTML render helpers for some controls or custom Controllers and ViewPages.

    Regards,
    Atanas Korchev,
    the Telerik dev team

    Instantly find answers to your questions at the new Telerik Support Center
    Attached files

    Reply

  • Posted on Dec 21, 2007 (permalink)

    Thanks for the update. I plan to start new projects at my company using the MVC framework, but not being able to use Telerik (or other 3rd party) server controls without heavy modification is an obvious problem.

    Reply

  • Brian Lowry avatar

    Posted on Dec 24, 2007 (permalink)

    Just FYI... the issue you were describing involving server controls not having a protected variable in the designer file (you used Label1 as an example) is actually a known issue they have identified. To fix the issue, simply right click on the containing viewpage/viewcontrol and select "Convert to Web Application". That will add the control to the designer file.

    I would love it if there was a way I could receive updates from you all concerning the Telerik support of MVC. I am heading in that direction, and need to use your Editor control. Please support it. :)

    Thanks,
    Brian Lowry

    Reply

  • Robert Saddler avatar

    Posted on Jan 11, 2008 (permalink)

    I would like to second Donald Lee's comment.

    We will be adopting MVC at some point over the next year and want to continue using Teleriks controls without any major headaches.

    Reply

  • KevReid avatar

    Posted on Mar 25, 2008 (permalink)

    Hi guys,

    Any chance we can have an update on Telerik's stance on this matter?



    Thanks,
    Drammy

    Reply

  • Telerik Admin admin's avatar

    Posted on Mar 27, 2008 (permalink)

    Hi all,

    Thank you for your interest in RadControls support for MVC. As you all know the new framework is still in an early stage where there is not yet a clear recommendation from Microsoft for using third-party UI controls with MVC.

    I want to assure you that we are following closely all the latest developments in the MVC and we will be among the first component vendors to offer official support for MVC. We are currently researching a couple of options - please stay tuned for an update in the coming months.

    For now please, refer to the sample we have attached in an earlier post in this thread.

    Best wishes,
    Ivo
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Martin avatar

    Posted on May 9, 2008 (permalink)

    If you are looking for simple RadChart controls on a Monorail view, then you can do the following:
    • Reference RadChart dll file
    • Instantiate a new chart from a Controller
    • Set every property of the chart object programatically (you can borrow useful properties of a sample ASPX page)
    • Bind to data
    • Call the Save method of the chart object pointing the file path to a folder under your virtual directory root (you can do it to a  /temp folder)
    • Pass the saved file path to the view, via the PropertyBag
    • Insert in the view a IMG tag. Something like <img src="$imgsrc"/> (using Velocity) does the job.
    This works fine for us!
    Hope it helps somebody.

    Reply

  • Greg avatar

    Posted on Jun 16, 2008 (permalink)

    I was wondering if there's been any movement with the integration of the RadControls and the MVC framework? 

    We're considering using the MVC framework for a new project and the availability of the RadControls is a factor we'd like to consider.

    Thanks,
    Greg

    Reply

  • Telerik Admin admin's avatar

    Posted on Jun 20, 2008 (permalink)

    Hi Greg,

    There are a couple of options which we are currently researching with pilot projects. We will announce more details shortly. Our goal is to be among the first component vendors who provide tools for MVC.

    Thank you for your patience.

    Sincerely yours,
    Ivo
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Carlos Carlos's avatar

    Posted on Jun 24, 2008 (permalink)

    That would be great... looking forward to use MVC with Telerik :)

    Reply

  • nagir Master avatar

    Posted on Jun 30, 2008 (permalink)

    Hi,
    Any updates on this matter? Estimations? Dates?
    I need to know if we can rely in the close future at Telerik in this area.

    Cheers.

    Reply

  • Telerik Admin admin's avatar

    Posted on Jul 1, 2008 (permalink)

    Hello,

    We are currently in R&D phase with regards to MVC development. That's why we would appreciate any feedback from you. What features would you like to see from MVC controls - pure client-side controls, grid-like components for presenting tabular data, navigation controls? Please do not hesitate to state your opinion.

    Regards,
    Albert
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • nagir Master avatar

    Posted on Jul 1, 2008 (permalink)

    Hi Albert,

    Personally I'd like to have the whole RadControls Suite available to use in ASP.NET MVC (without tricks). Theoretically.
    Also it would be great if the controls were not tight to particular View Engine, so we can use Telerik controls in different cases (NVelocity, Brail, NHaml etc).

    As for the client side part, as far as it can be replaced with any available HS library (jQuery, Prototype, ExtJS, YUI etc) I don't care about poor client-side controls. But client-side API is always good.

    But talking about particular functionality here is my list in order of priority:
    1. Skinning.
    2. Grid - filtering/grouping (Pagin/Sortin are just must, so I don't include it).
    3. Editor + Spellcheck.
    4. Input.
    5. TreeView.
    6. Scheduler.
    Also very important part is generating lighter HTML. And much more important is implementing real Ajax solution (not just rendering the whole page), if possible based on available JS libraries or stand alone (much like ExtJS provides it's base functionality via jQuery, YUI, Prototype or standalone).

    All this might sound a bit generic, but it can be a starting point.

    Cheers.
    Dmitriy.

    Reply

  • Telerik Admin admin's avatar

    Posted on Jul 1, 2008 (permalink)

    Hi,

    Thank you for your extensive feedback. We would probably release counterparts of some of the existing controls. We cannot migrate all at once due the lack of page and control lifecycle (viewstate, postbacks, etc). That's why we would probably start with smaller and lighter components and update them on a regular basis.

    Regards,
    Atanas Korchev,
    the Telerik dev team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Posted on Jul 6, 2008 (permalink)

    Hey,

    I would like to know the progress so far on making the controls compatible with the MVC Framework.

    Presently, I am able to get most of the controls working fine by little hacks and without modifying the RadControls source code. Some of the controls like the RadUpload control cannot be fixed (since it raises a postback with an illegal MVC routing param) unless the actual source code is modified.

    Some kind of a roadmap on this will be greatly appreciated.

    Thanks,
    Rahul

    Reply

  • Telerik Admin admin's avatar

    Posted on Jul 7, 2008 (permalink)

    Hi Rahul,

    We still do not have an official roadmap on MVC compatibility. We are still researching a couple of architectural options and we are expecting some updates from the MVC team within Microsoft.

    We will make an announcement as soon as we have something tangible.

    Regards,
    Ivo
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

    Reply

  • Adam avatar

    Posted on Aug 5, 2008 (permalink)

    Hi,

    In reply to your request for feedback for mvc controls, i'd like to see a range of pure client-side controls, especially:
    • Editor + Spell Checker (This would be most valuable)
    • Calendar control
    An MVC version of the Chart control would also be invaluable, though i imagine it would be unlikely to be a pure client-side control. A range of client-side navigation controls would also be very valuable.

    I also agree with previous posts in that ideally the controls should generate light weight XHTML, and implement true Ajax requests that only generate and return the required response to minimize response times.

    Given the programming model of MVC, i think client-side controls would prove to be most valuable for developers. Ideally, it would be great if in time you could convert all your current ASP.Net controls into MVC controls.

    Are you likely to release any preview versions of any MVC controls soon? It would be great to get an idea of whats in store for the future.

    Looking forward to your MVC controls. Regards,

    Adam.

    Reply

  • John Valentine John Valentine's avatar

    Posted on Sep 4, 2008 (permalink)

    Since MVC is REST(ful) it really doesn't make a whole lot of sense to rely on Postbacks, forms or any other server control. In my opinion server side controls breaks the spirit and intent of MVC; would it make more sense to make the controls with the ability to rely on a generic service, the ability to link closely with DOM elements, and to offer a client side API simpler than the other alternatives out there (Ext, YUI, etc...) to do the ajax work?

    We have to remember that data caching is handled differently in MVC; ergo the REST approach is really sort of a step back in some respects.

    I can't wait to start implementing MVC controls from Telerik. I am sure that they will be far superior to YUI and friends.

    I personally would like to see a Fusebox'esque framework for MS MVC from the Telerik team where the Telerik MVCControl libraries are included as components. THAT would be a very nice approach!

    Cheers!

    John

    Reply

  • Chase Salvatori avatar

    Posted on Sep 10, 2008 (permalink)

    Stephen Walther had a nice way of implementing the Ajax Control Toolkit into MVC.

    http://weblogs.asp.net/stephenwalther/archive/2008/08/22/asp-net-mvc-tip-36-create-a-popup-calendar-helper.aspx

    Just another possibility for implementing RadControls into MVC.

    Reply

  • Telerik Admin admin's avatar

    Posted on Sep 11, 2008 (permalink)

    Hello Chase Salvatori,

    Unfortunately this approach won't work for RadControls for ASP.NET Ajax as they are server-side controls. As can be seen in that blog post the calendar extender is instantiated entirely on the client-side (because it is extender rather than a control) which is not supported by RadControls.

    Regards,
    Atanas Korchev,
    the Telerik dev team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • ahoads76 avatar

    Posted on Sep 25, 2008 (permalink)

    Is there a beta of the work you're doing for MVC that we can help test?  It would be nice to see a strong indication from Telerik that something is on the way.  Two competing products are already functional with MVC, but I would prefer to stay with Telerik.

    Reply

  • Telerik Admin admin's avatar

    Posted on Sep 26, 2008 (permalink)

    Hi Aaron,

    We are committed to be among the first major ASP.NET component vendors to provide MVC support. We will soon have something to show to the community.

    Sincerely yours,
    Ivo
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • Seth Juarez avatar

    Posted on Sep 26, 2008 (permalink)

    Any time table? This will determine whether or not the organizations I work for will purchase new licenses of Telerik or not.

    Reply

  • James avatar

    Posted on Sep 28, 2008 (permalink)

    Second! A totally informal target for the first beta and production builds would allow me to determine if its a possibility for upcoming projects. Thanks for being so responsive to your customer base!

    James

    Reply

  • Todd Anglin Master Todd Anglin's avatar

    Posted on Sep 29, 2008 (permalink)

    Stay tuned guys! We're closely monitoring this thread and we're preparing to make some broader announcements regarding our MVC support very soon. I can't commit any timelines just yet, but as soon as we firm-up a few details, we'll deliver the info to you. We know it's very important for you guys to know our road map for MVC so you can make responsible decisions for your projects, so expect more details soon.

    -Todd

    Reply

  • Telerik Admin admin's avatar

    Posted on Oct 1, 2008 (permalink)

    Hi all,

    In case you have missed this - please check out the blogpost from yesterday. We will soon have more details on MVC support on the blogs.

    Regards,
    Ivo
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • Telerik Admin admin's avatar

    Posted on Oct 3, 2008 (permalink)

    Hi all,

    Here come some further details on Telerik RadControls in Microsoft ASP.NET MVC from the blogs.

    Enjoy! ... and keep your feedback coming -- we are listening!

    Kind regards,
    Ivo
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • Marcia avatar

    Posted on Oct 3, 2008 (permalink)

    Thanks for the sample, I love RadControl I'm on my 5 company(as a consulty) and I always request for them to buy Telerik control.
    Now my delima conver the web sit to MVC , so of course I was very happy with your demo.
    I need to have my grid programatically but from the code behind I cant find some properties and event as you can see on my commente code.

    //RadGrid1.Width = Unit.Percentage(98);

    //RadGrid1.AllowSorting = true;

    //RadGrid1.AllowPaging = true;

    //RadGrid1.AutoGenerateColumns = false;

    //RadGrid1.GridLines = GridLines.None;

    //RadGrid1.ShowStatusBar = true;

    //RadGrid1.AllowMultiRowSelection = true;

    //RadGrid1.PagerStyle.Mode = GridPagerMode.NumericPages;

    //RadGrid1.ShowGroupPanel = true;

    //RadGrid1.AllowAutomaticDeletes = true;

    //RadGrid1.AllowAutomaticInserts = true;

    //RadGrid1.AllowAutomaticUpdates = true;

    GridEditCommandColumn editcommandColumn;

    editcommandColumn =

    new GridEditCommandColumn();

    //RadGrid1.MasterTableView.Columns.Add(editcommandColumn);

    editcommandColumn.UniqueName =

    "ThiseditcommandColumn";

    editcommandColumn.ButtonType =

    GridButtonColumnType.ImageButton;

    editcommandColumn.EditImageUrl =

    "~/Images/icon_edit.gif";

    editcommandColumn.HeaderText =

    "Edit";

    //RadGrid1.MasterTableView.DataKeyNames = new string[] { "PropertyID" };

    //RadGrid1.MasterTableView.AutoGenerateColumns = false;

    Why is that?

    Reply

  • Telerik Admin admin's avatar

    Posted on Oct 6, 2008 (permalink)

    Hi Marcia,

    How the grid is created - dynamically or statically declared on the page?

    Regards,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • Tej avatar

    Posted on Oct 31, 2008 (permalink)

    Hi Telerik Team,

    i am new in using your controls but as far as i found it so good. we are working on the MVC project where we would like to incorporate your controls into our project. could you suggest me on following that can i use your controls along with MVC Application ? the controls which i want to use are:

    RadMenu, RadTab, RadCalendar, RadGrid, RadSpellchecker

    can i use all of the abouve controls in my MVC application ?

    if yes then how?? please give me some roadmap to that.
    if No then why??

    Reply

  • Telerik Admin admin's avatar

    Posted on Oct 31, 2008 (permalink)

    Hi Tej,

    With our upcoming Q3 release all RadControls for ASP.NET AJAX will not look for FORM tag anymore and you will not get server-side or client-side exception if the control page does not have FORM (like MVC).

    You can use controls with templates in pure MVC style similar to this example with RadGrid:
    http://blogs.telerik.com/VladimirEnchev/Posts/08-10-17/The_Grid_in_Microsoft_ASP_NET_MVC_Beta.aspx

    or you can use our controls with client-side creation/data-binding similar to this example:
    http://blogs.telerik.com/VladimirEnchev/Posts/08-10-02/Telerik_RadControls_in_Microsoft_ASP_NET_MVC.aspx

    Let me know if you have more questions and/or problems.

    Best wishes,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • Marina avatar

    Posted on Nov 11, 2008 (permalink)

    Hello Vlad,

    I have downloaded the latest version of RadControls(2008.3.1105.20) and I am trying to use it with MVC beta.
     Any control I am trying to embed on the page gives me the following error:
     
    System.IO.FileNotFoundException: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    When I use earlier version of Telerik.Web.UI (The one that I have downloaded with  your example) it does work. It looks like  there is a reference to an old version of System.Web.Extensions

     Could you please shed some light on this issue?

    Thank you,

    Mary  Zarubin.




    Reply

  • Telerik Admin admin's avatar

    Posted on Nov 12, 2008 (permalink)

    Hi Marina,

    For MVC (which is .NET 3.5) you should use our .NET 3.5 assembly (2008.3.1105.35).

    Greetings,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

  • Tej avatar

    Posted on Nov 13, 2008 (permalink)

    HI Telerik Team,

    we are using RadGrid in the MVC project. we are using Beta release for MVC. my question is that can we have full fledge functionality of RadGrid in Asp,Net MVC project i.e. features like filtering, paging, sorting etc

    i am using q3 release of the telerik controls. till now what all controls are fully supported with MVC ?? are their any plans on full release of telerik controls with MVC??  if you could give some inlight on that that would be benfical for us in using telerik controls further in MVC projects.

    thanks.

    Tej.

    Reply

  • Telerik Admin admin's avatar

    Posted on Nov 14, 2008 (permalink)

    Hello Tej,

    Please check these blog posts for more info:
    http://blogs.telerik.com/AtanasKorchev/Posts/08-11-06/ASP_NET_Ajax_Controls_in_ASP_NET_MVC.aspx
    http://blogs.telerik.com/VladimirEnchev/Posts/08-10-02/Telerik_RadControls_in_Microsoft_ASP_NET_MVC.aspx

    All the best,
    Vlad
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

    Reply

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2009 Telerik. All rights reserved.