or

<telerik:GridTemplateColumn UniqueName="UserName" DataField="FirstName" DataType="System.String" AllowFiltering="false" SortExpression="FirstName"> <HeaderTemplate> <asp:LinkButton id="btnName" runat="server" Text="Name" Title="Sort by Name" CommandName='Sort' CommandArgument='FirstName' /> </HeaderTemplate> <ItemTemplate> <span class="ListTitle" style="font-size: 14px;"> <%#Container.DataItem("FirstName")%> <%#Container.DataItem("LastName")%></span><br /> <div class="QuestionDetails"> <strong><%#Container.DataItem("EmailAddress")%></strong> </div> </ItemTemplate> </telerik:GridTemplateColumn>

<telerik:RadCaptcha ID="CaptchaCode" runat="server" ValidationGroup="SubmitGroup" CaptchaTextBoxLabel=" Type the code from the image" CaptchaImage-TextChars="Numbers" BorderColor="Black" BorderWidth="0" ErrorMessage="" CaptchaImage-Height="40" CaptchaImage-Width="155" width="150" CssClass="font_captcha" ForeColor="Black" Display ="Dynamic" TabIndex =3 ></telerik:RadCaptcha> Private Sub Pages_Login_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache) AddHandler Me.loginButton.Click, New System.EventHandler(AddressOf loginButton_Click) If Not Page.IsPostBack Then CaptchaCode.EnableRefreshImage = True CaptchaCode.CaptchaLinkButtonText = "Generate New Image" CaptchaCode.CaptchaImage.EnableCaptchaAudio = True CaptchaCode.CaptchaAudioLinkButtonText = "Vision Impaired" CaptchaCode.CaptchaImage.UseAudioFiles = False CaptchaCode.CaptchaImage.AudioFilesPath = HttpContext.Current.Server.MapPath("~/App_Data/RadCaptcha") Page.DataBind() End If txtUserID.Focus() End Sub.font_captcha{ text-align:left; color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: normal;}.rcRefreshImage{ margin-left: 165px; margin-top :-40px; font-size: 10px; float: left; color: White; display: block; line-height:1.5em; background-image: url('../Images/Captcha_reload.png'); background-repeat: no-repeat; height: 20px; padding-left: 30px; margin-top:-40px; width: 120px; } .rcCaptchaAudioLink{ margin-left: 165px; margin-top :-17px; font-size: 10px; float: left; color: White; display: block; line-height: 1.5em; background-image: url('../Images/Captcha_audio.png'); background-repeat: no-repeat; height: 19px; padding-left: 30px; margin-top:-20px; width: 120px;}protected void MasterRadGrid_InsertCommand(object source, GridCommandEventArgs e) { try { Telerik.Web.UI.UploadedFile attachment = e.Item.FindControl("txtUpdateTaskCompletion2") as Telerik.Web.UI.UploadedFile;<telerik:RadGrid CssClass="GridAlign" ID="MasterRadGrid" runat="server" ShowStatusBar="true" AutoGenerateColumns="False" PageSize="3" AllowSorting="True" AllowMultiRowSelection="False" AllowPaging="True" GridLines="None" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" OnInsertCommand="MasterRadGrid_InsertCommand" OnDetailTableDataBind="MasterRadGrid_DetailTableDataBind" OnNeedDataSource="MasterRadGrid_NeedDataSource" OnUpdateCommand="MasterRadGrid_UpdateCommand" Skin="Metro" OnDeleteCommand="MasterRadGrid_DeleteCommand"> <PagerStyle Mode="NumericPages"></PagerStyle> <MasterTableView DataKeyNames="CommentID" AllowMultiColumnSorting="True" Width="100%" CommandItemDisplay="Top" Name="MainComment"> <CommandItemStyle CssClass="GridAlign" /> <NoRecordsTemplate> No Records to Display </NoRecordsTemplate> <HeaderStyle CssClass="InnerHeaderStyle" /><EditFormSettings EditFormType="Template"> <FormTemplate> <div id="content"> <table> <tr> <td style="width: 20%; padding-right: 10px"> <asp:Label ID="lblAttachments" runat="server" Text="<%$Resources:TMS.UI,TM_AddNewTask_lblTaskAttachmentTitle%>" /> </td> <td colspan="3" style="width: 65%"> <telerik:RadUpload ControlObjectsVisibility="RemoveButtons,AddButton" ID="rpTaskAttachments" runat="server" Localization-Add="<%$Resources:TMS.UI,TM_AddNewTask_btnAddAttachment%>" Localization-Remove="<%$Resources:TMS.UI,TM_AddNewTask_btnRemoveAttachment%>" Localization-Select="<%$Resources:TMS.UI,TM_AddNewTask_btnSelectAttachment%>" OnClientAdded="AddNewFields" Width="500px"> </telerik:RadUpload> </td> </tr> </table>