in

CodeSmith Community

Your Code. Your Way. Faster!

Atlas and GridView pagertemplate

Last post 02-18-2008 3:38 AM by vladnech. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-14-2008 11:11 AM

    • vladnech
    • Not Ranked
    • Joined on 07-31-2007
    • Posts 2
    • Points 40

    Atlas and GridView pagertemplate

    Hi all I have the DropDownList inside the pagertemplate. This DropDownList is used for the changing of GridView size (PageSize). On SelectedIndexChanged event the GridView size is changed, BUT, when I put the GridView inside the atlas:UpdatePanel the event does not work. I think I have to register the trigger something like Triggers atlas:ControlEventTrigger ControlID="name of the DropDownList" EventName="SelectedIndexChanged" /Triggers But I don't know what kind of name I have to provide for the ControlID of this trigger, because the DropDownList is inside the pagertemplate Could you recommend me anything? thanks
    • Post Points: 35
  • 02-14-2008 8:01 PM In reply to

    • mike123
    • Top 10 Contributor
    • Joined on 02-25-2005
    • Toronto, Ontario
    • Posts 723
    • Points 16,775

    Re: Atlas and GridView pagertemplate

    vladnech,

     Depends on how old your templates are ...  since some time ago there was an event added PageSizeChanged, you may use that (if it isn't there you could set the ChildrenAsTriggers=true on your updatepanel control)

    Mike Shatny
    -------------------------------------
    Member of the .netTiers team
    http://www.nettiers.com
    -------------------------------------
    • Post Points: 35
  • 02-18-2008 3:38 AM In reply to

    • vladnech
    • Not Ranked
    • Joined on 07-31-2007
    • Posts 2
    • Points 40

    Re: Atlas and GridView pagertemplate

    I am using Microsoft.Web.Atlas.dll (version 2.0.50727.0). I think I don't have such options, as you described.
    • Post Points: 5
Page 1 of 1 (3 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems