FormDecorator won't work targeting .Net 2.0

6 posts, 0 answers
  1. Greg
    Greg avatar
    9 posts
    Member since:
    Nov 2007

    Posted 04 May 2008 Link to this post

    I am trying to target .Net 2.0 and the form decorator isn't working. If I change the target framework for the project to 3.5 it works fine. Any ideas? Thank you.
  2. Greg
    Greg avatar
    9 posts
    Member since:
    Nov 2007

    Posted 07 May 2008 Link to this post

    Does this work for anybody else? Is there just no solution?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 08 May 2008 Link to this post

    Hello Greg,

    By default, we only add the .NET 3.5 versions of our controls in the Visual Studio 2008 toolbox. This means that if your project is set to use .NET 2.0, you will not see the RadControls in the toolbox. You will need to manually add the .NET 2.0 version of the controls in order to use them with VS 2008. Here is how to do that:

    Open the toolbox, right click inside and select "Add tab". Name the new tab 'RadControls for ASP.NET AJAX .NET 2.0". Then right-click inside it and select "Choose Items...". When the popup window opens, make sure that the ".NET Framework Components" tab is selected. Then click the "Browse..." button. Navigate to "C:\Program Files\Telerik\RadControls for ASPNET AJAX Q1 2008\Bin" and select the Telerik.Web.UI.dll file. Finally click OK. After these steps you should be able to see the RadControls for ASP.NET AJAX.

    Regards,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Greg
    Greg avatar
    9 posts
    Member since:
    Nov 2007

    Posted 08 May 2008 Link to this post

    I guess I should have been a little more specific. When I put the form decorator control, a text box and button on a page and target the .Net framework 2.0 and view the page, the controls are not rendered with a skin. If I change the target framework to 3.5 in the project properties and view the page again it has the skin.
  6. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 10 May 2008 Link to this post

    Hello Greg,

    Thank you for the clarification. The RadFormDecorator is working fine with asp.net 2.x - the online demo is on this framework as well. Can you please open a support ticket and send us your application so we can check it? Once we have a better view over your setup, we will do our best to help.



    Sincerely yours,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Greg
    Greg avatar
    9 posts
    Member since:
    Nov 2007

    Posted 15 May 2008 Link to this post

    The telerik team clued me in on the fact I didn't have my web.config properly setup for ajax with .net 2.0. I had forgotten you had to modify the web.config for a fresh ajax site with .net 2.0. It was a quick sample site I threw together just to see the form decorator in action, so I overlooked that.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017