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
90
Cell Template in C#
posted

I am currently  using infragistics v.6.3.  I have a data bound web grid which I want to create a cell template with a text box in it.  However my web grid is defined in InitializeLayout event in C# and I want to define the cell template there as well.  I am not sure what the syntax is to define a cell template.  Any suggestions?

Parents
No Data
Reply
  • 28464
    posted

    Hello,

    Yes, this is possible -- there is an interface called ITemplate that a custom class needs to implement at rutime.

    There is a great thread on how this can be achieved, complete with full source code:

    http://forums.infragistics.com/forums/t/2995.aspx

    Hope this helps.

Children