Helper function inside template column

Discussion in 'ASP .Net Datagrid Control' started by Chris, Nov 24, 2003.

  1. Chris

    Chris Guest

    Hi,

    I need help with some c# syntax. I'm trying to call a
    helper function from within a datagrid template column.
    In VB.NET i'd do:

    <%# Helper(Container.DataItem("item")) %>

    However in c# I'm getting a bunch of syntax errors. Can
    someone point in the right direction please?

    Cheers

    Chris
    Chris, Nov 24, 2003
    #1
    1. Advertising

  2. Crees,

    What kind of function are you trying to call?
    Can you send me the code?




    The Best Regards,
    Web Developer
    Michael Tkachev

    "Chris" <> wrote in message
    news:4c8301c3b276$35587320$...
    > Hi,
    >
    > I need help with some c# syntax. I'm trying to call a
    > helper function from within a datagrid template column.
    > In VB.NET i'd do:
    >
    > <%# Helper(Container.DataItem("item")) %>
    >
    > However in c# I'm getting a bunch of syntax errors. Can
    > someone point in the right direction please?
    >
    > Cheers
    >
    > Chris
    Michael Tkachev, Nov 25, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. D. Shane Fowlkes

    Hyperlink Column & Helper Function not working

    D. Shane Fowlkes, Nov 19, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    820
    =?Utf-8?B?RU5JWklO?=
    Nov 19, 2004
  2. D. Shane Fowlkes
    Replies:
    1
    Views:
    410
    Marina
    May 19, 2005
  3. Rahul
    Replies:
    1
    Views:
    177
    Catalin T
    Dec 7, 2006
  4. Bauduin Raphael

    Rails helper working with template

    Bauduin Raphael, Aug 14, 2004, in forum: Ruby
    Replies:
    0
    Views:
    114
    Bauduin Raphael
    Aug 14, 2004
  5. kevin
    Replies:
    1
    Views:
    372
    Kairi Zikpin
    Jul 21, 2006
Loading...

Share This Page