4.5 ItemType?

9 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 20 Sep 2012 Link to this post

    I don't seem to be able to use the 4.5 "ItemType" "Item" property in my GridTemplateColumn

    Now this is my first time trying it, but...does it work, am I doing this wrong?

    <telerik:RadGrid ID="learnerGrid" runat="server" OnNeedDataSource="learnerGrid_NeedDataSource" AutoGenerateColumns="false" ShowHeader="true" Height="500px" ItemType="AuthDB.Model.MppProfile">
            <MasterTableView>
                <Columns>
                    <telerik:GridTemplateColumn DataField="UserName" HeaderText="Name">
                        <ItemTemplate>
                            <span><%# Item.UserName %></span>
                            <span></span>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                    <telerik:GridBoundColumn DataField="FullNameReverse" HeaderText="Name" />
                </Columns>
                <NoRecordsTemplate>
                    No learners
                </NoRecordsTemplate>
            </MasterTableView>
            <ClientSettings>
                <Scrolling AllowScroll="true" ScrollHeight="500px" />
            </ClientSettings>
        </telerik:RadGrid>
  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 25 Sep 2012 Link to this post

    Hello,

    Unfortunately the current version of the RadGrid does not provide support for this feature. However we have plans for implementing the asp.net 4.5 Model Binding for the next official release of the RadControls for ASP.NET AJAX (Q1 2013). Please excuse us for the inconvenience caused. 

    Kind regards,
    Pavlina
    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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bill
    Bill avatar
    175 posts
    Member since:
    Apr 2010

    Posted 08 Feb 2013 Link to this post

    Pavlina, I can't find any demos for the beta that use model binding...

    I tried looking here, but couldn't find anything on it:
    http://demos.telerik.com/aspnet-ajax-beta/Grid/Examples/programming/binding/defaultcs.aspx

    Do you know where I can find any demos on this?
  5. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 13 Feb 2013 Link to this post

    Hello,

    Unfortunately we do not have demos for the ModelBinding into the beta version of our control. The official version will have SDK uploaded where you can find demos with the ModelBindign for the major data bound controls. Also because of ModelBinding is feature introduced into the 4.5 framework the demos will be available only into the SDK, because our demos are hosted on the main stream framework 4.0.

    Greetings,

    Pavlina
    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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Stephen
    Stephen avatar
    2 posts
    Member since:
    Jan 2013

    Posted 25 Feb 2013 Link to this post

    Hi Pavlina,

      I see that RadControls for ASP.NET AJAX (Q1 2013) has been released since 20th February  2013. Is there any demo available with this particular new feature implemented in it ( Model Binding To a RadGrid).

    Regards,
    Stephen.
  7. Barbaros Saglamtimur
    Barbaros Saglamtimur avatar
    110 posts
    Member since:
    Jul 2012
  8. Stephen
    Stephen avatar
    2 posts
    Member since:
    Jan 2013

    Posted 25 Feb 2013 Link to this post

    Thanks for this Barbaros ,

       I have come across this page as well but i was hoping for a working C# example of model binding process.

    All the other Tools/Features have a working demo, but though because Strongly typed model binding is  requires .NET 4.5 and Teleriks examples are on a server framework
     4.0. That there may be a demo available on request or at a different Telerik demo link( lets say a server that supports 4.5 to show items they support on that framework).

    Regards,
    Stephen.
  9. Barbaros Saglamtimur
    Barbaros Saglamtimur avatar
    110 posts
    Member since:
    Jul 2012

    Posted 26 Feb 2013 Link to this post

    You are right. I am expecting working samples under Data Binding, where the first place I looked for.
  10. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 28 Feb 2013 Link to this post

    Hello,

    A sample projects which demonstrate the model binding for RadGrid, RadTreeList and RadListView are available in the link below:
    https://github.com/telerik/aspnet-sdk/tree/master/Integration/ModelBinding

    Greetings,
    Pavlina
    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 RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017