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

[Solved] Hybrid application - suggestions requested

4 Answers 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Shoeb
Top achievements
Rank 1
Shoeb asked on 10 Feb 2011, 05:19 PM
Guys,

I am looking for experts advice and resources. We had application which is built on top of Telerik ASP.NET AJAX controls. We heavily rely on these controls and using latest release Q3 2010 SP2.

I am looking forward to keep optimizing the application with respect to maintainability, testability and performance. To achieve this, I was thinking of using ASP.NET MVC extensions.

In the view of this approach, I was initially thinking of using ASP.NET MVC control on my web forms, since we cannot migrate entire application. I would like to approach slowly and address the pain areas first. I came across Telerik blog post (http://blogs.telerik.com/blogs/posts/09-12-18/using_telerik_extensions_for_asp_net_mvc_within_an_asp_net_webforms_application.aspx) which guides using MVC control within ASP.NET WebForms application. Unfortunately I could not replicate the behaviour in my sample application. I am keep getting NullReferenceException when I put simple date picker on web form.

I would like to know is this the right appoach first of all. If yes, can someone please help me with some good resource, code samples or blogs which uses ASP.NET 3.5 and MVC 2.

Thanks
Shoeb

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 11 Feb 2011, 09:33 AM
Hello Shoeb,

 We are not aware of this problem (NullReferenceException). Is it possible to send us a sample project which replicates it?

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Shoeb
Top achievements
Rank 1
answered on 11 Feb 2011, 04:27 PM
Sample application attached. I followed the steps as suggested in the blog post.

Also would like to know on the approach.

Thanks
Shoeb
0
Alex Gyoshev
Telerik team
answered on 15 Feb 2011, 01:29 PM
Hi Shoeb,

I am attaching an updated solution with the new approach that we use in the Visual Style Builder application. The ViewPageExtensions class introduces the InitializeViewContext extension method that will make your life much easier (the only requirement is to call it in the code-behind).

Best regards,
Alex Gyoshev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
jacques delisle
Top achievements
Rank 1
answered on 01 Mar 2011, 04:02 PM
Hi Alex,

Your ViewPageExtension work well, i can use helper in view page, I'd like to use helper in viewuser control, how to do it.

Thanks for your excellent support!
Tags
General Discussions
Asked by
Shoeb
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Shoeb
Top achievements
Rank 1
Alex Gyoshev
Telerik team
jacques delisle
Top achievements
Rank 1
Share this question
or