Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1495
items in wed drop down in web data grid
posted

This obviously does not work but how do I accomplish this.  It's one of the template fields in a web data grid.  I want to show a drop down with actions (and images eventually too)

 

<ig:TemplateDataField Header-Text="Actions" Key="AssetID" Width="75">
    <ItemTemplate>                                                      
        <ig:WebDropDown ID='ddCustomList' runat='server' Width='75'>
            <Items>
                <ig:DropDownItem Text="Edit" NavigateUrl='AssetEdit.aspx?aid=<%# Eval("AssetID")%>&wid=<%# Eval("WorkCenterID")%>'></ig:DropDownItem>
                <ig:DropDownItem Text="Transfer" NavigateUrl='AssetTransferInitiate.aspx?aid=<%# Eval("AssetID")%>&wid=<%# Eval("WorkCenterID")%>'></ig:DropDownItem>
                <ig:DropDownItem Text="Documents" NavigateUrl='AssetDocuments.aspx?aid=<%# Eval("AssetID")%>&wid=<%# Eval("WorkCenterID")%>'></ig:DropDownItem>
            </Items>
        </ig:WebDropDown>
    </ItemTemplate>       
    <Header Text="Actions" />
</ig:TemplateDataField>

Parents
No Data
Reply
  • 1495
    Offline posted

    Can anyone help?  Basically when I choose an item it ends up with the url exactly as you se ethere instead of putting my AssetID and my WorkCenterID in it's place.  Help?

Children