This is a migrated thread and some comments may be shown as answers.

how to use email columns..Atanas/Team Please help

0 Answers 19 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ajmal
Top achievements
Rank 1
ajmal asked on 14 May 2011, 07:44 AM

Hello,

I found a solution, but email comes without hyperlink when grid load first time with page = 1 data...

when page = 2 clicked, then email comes with hyperlink and then after page = 1 also has hyperlink..

why not the first time? any idea..please help

if (column.ColumnName == "Email")
                      {
                          columns.Bound(column.DataType, column.ColumnName).Title("Email")
                                    .ClientTemplate("<
a href='mailto:<#=  Email #>'><#= Email #></a>");
                      }

Tags
Grid
Asked by
ajmal
Top achievements
Rank 1
Share this question
or