or
protected void RadGrid1_ItemUpdated(object sender, GridUpdatedEventArgs e) { if (Label19.Text != null && Label18.Text != null) { System.Net.Mail.MailMessage msgMail = new System.Net.Mail.MailMessage(); msgMail.Body = (" Dear ") + "<br/>" + "<br/>" + (" Kindly Be Noted That There Is a New Request Has Been Add From : ") + Label19.Text + "<br/>" + "<br/>" + ("Kindly Check "); msgMail.From = new MailAddress(""); msgMail.To.Add(DropDownList5.SelectedItem.Attributes.ToString()); msgMail.CC.Add(""); msgMail.Subject = (" Your Request Had Been : ") + Label18.Text; msgMail.IsBodyHtml = true; SmtpClient smtp = new SmtpClient(""); smtp.UseDefaultCredentials = false; NetworkCredential crdntl = new NetworkCredential(""); smtp.Credentials = crdntl; smtp.DeliveryMethod = SmtpDeliveryMethod.Network; smtp.Send(msgMail); }function getControl(rowIndex) {var masterTable = $find("<%=RadGridAudits.ClientID%>").get_masterTableView();var imageState = masterTable.get_dataItems()[rowIndex].findControl('ImageState');
// change the img to another image at this point...
}<telerik:GridTemplateColumn DataField="TagAuditState" HeaderText="Audit State" SortExpression="TagAuditState" UniqueName="TagAuditState"> <ItemTemplate> <asp:Image ID="ImageState" runat="server" /> <asp:Label ID="LabelTagAuditState" runat="server" SkinID="EditForms" Text='<%# Eval("TagAuditState") %>' /> </ItemTemplate> </telerik:GridTemplateColumn>function ClearBox(){ var box = $("#<%= ctrlBox.ClientID %>"); //what do I put here to clear the value?? //I tried box.text('') but it doesn't work}<input type='button' onclick='ClearBox();' /><telerik:RadAutoCompleteBox ID="ctrlBox" runat="server" InputType="Text" AllowCustomEntry="false" Filter="Contains" Delimiter=" " Width="630px" DropDownWidth="660px" EmptyMessage="Type here" OnClientDropDownOpening="openingDropdown" OnClientLoad="loadingAutoComplete" OnClientRequesting="requesting" ></telerik:RadAutoCompleteBox>