i have a textbox with TextMode="MultiLine" and i need to set the text to some values which my default should appear as follows: --- ENTER YOUR CONTENT HERE --- ============================================== *|LIST:DESCRIPTION|* Unsubscribe *|EMAIL|* from this list: *|UNSUB|* Our mailing address is: *|LIST:ADDRESS|* Our telephone: *|LIST:PHONE|* Forward this email to a friend: *|FORWARD|* Update your profile: *|UPDATE_PROFILE|* but i am not able to get one after the other can anyone help me K.Gayathri
MalarGayu
Posts
-
multiline property of textbox -
converting html into plaintexthi friends i need to know how to convert html contents into plain text. these html contents are from the ajax editor. any help would be of great benefit to me. K.Gayathri
-
mergetags in a web applicationhi friends i need to create a mergetag which combines the fields which i specifiy instead of the email if of the person so how to use the mergetag... can anyone help me with an example.. K.Gayathri
-
how to send emails in asp.net(without IIS throught smtp)ya i got what u r saying for that only i am trying to use smtp to send mails (is it ok) so now tell me how to send emails..hope u would have got my code from my previous posting.. K.Gayathri
-
how to send emails in asp.net(without IIS throught smtp)hi i am having my .net application running in my system and i need to send a mail (eg to test to my email id itself). so i am sending an email from my .net application to my email address hope u got my question now.. i am getting the error a smtp not connected... K.Gayathri
-
how to send emails in asp.net(without IIS throught smtp)hi thanks for the reply my problem is i am not able to connect to the smtp server can anyone help me out my code is: in my web.config file i have: my asp.net c# code is MailMessage msgMail = new MailMessage(); msgMail.To = txtEmail.Text; SqlCommand slistname = new SqlCommand("select * from list_builder where listid=" + selVal, conn); drSubGroups = slistname.ExecuteReader(); while (drSubGroups.Read()) { msgMail.Subject = drSubGroups["ListName"].ToString(); } SqlCommand sAccoutdet = new SqlCommand("select * from create_account where UserId=" + Session["UserId"].ToString(), conn); drSubGroups = sAccoutdet.ExecuteReader(); while (drSubGroups.Read()) { msgMail.From = drSubGroups["EmailId"].ToString(); } msgMail.Body = "Confirm your subscription"; SmtpMail.SmtpServer = System.Configuration.ConfigurationManager.AppSettings["SMTPServer"]; SmtpMail.Send(msgMail); K.Gayathri
-
how to send emails in asp.net(without IIS throught smtp)hi thanks for the reply as per the link u gave i wrote this in my web.config file and in my code i wrote this: MailMessage msgMail = new MailMessage(); msgMail.To = txtEmail.Text; SqlCommand slistname = new SqlCommand("select * from list_builder where listid=" + selVal, conn); drSubGroups = slistname.ExecuteReader(); while (drSubGroups.Read()) { msgMail.Subject = drSubGroups["ListName"].ToString(); } SqlCommand sAccoutdet = new SqlCommand("select * from create_account where UserId=" + Session["UserId"].ToString(), conn); drSubGroups = sAccoutdet.ExecuteReader(); while (drSubGroups.Read()) { msgMail.From = drSubGroups["EmailId"].ToString(); } msgMail.Body = "Confirm your subscription"; SmtpMail.SmtpServer = "smtp.domain.com"; SmtpMail.Send(msgMail); but still not working can you plz help me... K.Gayathri
-
how to send emails in asp.net(without IIS throught smtp)hi friends i need to send mails from an asp.net application using c# but my IIS is not configured in my laptop so how to send mails can anyone help me in this issue plz.. K.Gayathri
-
html contents into plain texthi thanks for the reply but in the code my document.getelementbyid(" ") is not finding the element so only i am using find method.. so now how to proceed plz... K.Gayathri
-
html contents into plain texthi i am having the following function in javascript: function passvalue() { var editor = $find("<%=Editor1.ClientID%>"); var content = editor.get_content(); window.opener.document.getElementById("ctl00_cphMain_txtEditor").value = content; self.close(); } in this function in am getting the editor contents but all are in html format. can anyone plz tell me how to convert the contents into plain text. K.Gayathri
-
how to get the dynamically created radiobutton checked valuesi am using the following code RadioButton rdl ; rdl = (RadioButton)PHEmailfmt.FindControl("rd1") as RadioButton; if (rdl != null) { if (rdl.Checked) { Response.Write("rd1 is checked"); } } rdl = (RadioButton)PHEmailfmt.FindControl("rd2") as RadioButton; if (rdl != null) { if (rdl.Checked) { Response.Write("rd2 is checked"); } } rdl = (RadioButton)PHEmailfmt.FindControl("rd3") as RadioButton; if (rdl != null) { if (rdl.Checked) { Response.Write("rd3 is checked"); } } } but the find control returns null so can anyone help me plz... i have created 3 dynamic radio buttons as rd1,rd2,rd3 and on the click of the save button i have the following.. K.Gayathri
-
how to get the dynamically created radiobutton checked valueshi friends can anyone help me with this issue plz: i am creating dynamic radio buttons based on the values i choose from a dropdownlist and if i click the save button i am not able to get the radiobuttons clicked ids so how to do it..... looking for help.... K.Gayathri
-
how to get the dynamically created radiobutton checked valueshi thanks for the reply but if i click the button i am not able to get the value(i mean the checked radiobuttons id) but on post back it says that the radiobuttons do not exist so i have recreated them on every post back but could not make the radiobuttons checked value to be set instead i am able to get only the id. plz do help me... stuck with this and not able to proceed further... K.Gayathri
-
how to get the dynamically created radiobutton checked valueshi friends i am created radiobuttons dynamically and i am putting it in a list : say: List lstRadioButton; i am adding the radiobuttons id to the list and i am also adding the radio button text and checked value to the list and on the viewstate(i know that the buttons will not be there) so i am recreating it with the same id which i got from the list but dont know how to assign the text and checked value if am doing all these in order to get which of the radio buttons is checked... hope u got my question. K.Gayathri
-
Attach an editor in as aspx pagehi thanks for the reply i am actually doing: i want an editor to be opened(as a new page say page2.aspx) on the click of a button or textarea and retreieve the values from the editor and get in inside the textarea in the first page.now on the click of the save button below the editor in page2.aspx the page should be closed and the values of the editor should be got in the textarea of page1.aspx K.Gayathri
-
Attach an editor in as aspx pagehi i am not able to open the links it says server error: 404 - File or directory not found. K.Gayathri
-
Attach an editor in as aspx pagehi i have a textarea on the click of the textarea i need an editor to popup...so how to do hope u got my question... K.Gayathri
-
Attach an editor in as aspx pagehi friends i am using ajaxtoolkit...i am using editor from the toolkit i need to know how to invoke the editor on the click of a textarea... anyone to help me plz............ K.Gayathri
-
Attach an editor in as aspx pagehi friends i am creating a signupform wherein there is a text area where by the user on the click of the text area he enters an editor and so what ever he types in the editor will be back in the textarea so how to do it...what editor to have...how to invoke the editor... how to get the editor... can anyone help me.. K.Gayathri
-
runtime generation of controls and their texthi friends i am using the following code: int i = Convert.ToInt32(Session["Count"].ToString()); int k = 0; string[] strTextBoxValues = new string[] { }; for (k = 0; k <= i - 1; k++) { string textboxval = "DynamicTextbox" + Convert.ToString(k); TextBox textval = (TextBox)this.Page.FindControl(textboxval); textval.ID = textboxval; Response.Write(textval.Text); } but the findcontrol method returns null....and any one to help me in this issue as i am stuck in my work... K.Gayathri