Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
206 views

Hi,
i have been using radeditor for email application as body for sending text ,if we send bold text or text with forecolours  through smtp to other mails like gmail e.t.c the text we are sending in bold or with forecolour are displayed as simple text without colour  ,how to solve this any idea i amsending smtp code please respond,thanks.

try
       {
           DbLayer objDB = new DbLayer();
           System.Net.Mail.MailMessage Message = new System.Net.Mail.MailMessage();           
           Message.To.Add(rdtxtTo.Text);
           if (rdtxtCC.Text != string.Empty)
           {
               Message.CC.Add(rdtxtCC.Text);
           }
           if (rdtxtBcc.Text != string.Empty)
           {
               Message.Bcc.Add(rdtxtBcc.Text);
           }
           Message.Subject = rdtxtSubject.Text;
         //Discalimercode
           CreateEventEntities objentity = new CreateEventEntities();
         
           var mailDisclaimers = from c in objentity.Disclaimers where c.DisclaimerID == 1 select c;
           if (mailDisclaimers.ToList().Count > 0 && mailDisclaimers.ToList()[0].DisclaimerID != 0)
           {
               if (mailDisclaimers.ToList()[0].DisclaimerText.ToString().Length > 0)
                   Disctext = mailDisclaimers.ToList()[0].DisclaimerText.ToString();
               Disctext = "<br/><br/><br/><br/><br/>" + Disctext;
           }
           rdeditortxt.Content =  rdeditortxt.Content + Disctext;
             
              Message.Body =  rdeditortxt.Text;
           System.Net.Mail.SmtpClient SmtpClient = new System.Net.Mail.SmtpClient("smtp.gmail.com", 587);
           SmtpClient.EnableSsl = true;
           SmtpClient.Credentials = new System.Net.NetworkCredential("abc.com", "abc");
           System.Net.Mail.MailAddress FromEmail = new System.Net.Mail.MailAddress(TextBox1.Text);
           Message.From = FromEmail;
              SmtpClient.Send(Message);
Saimadhukar
Top achievements
Rank 1
 answered on 21 Nov 2011
1 answer
111 views
Having trouble databinding a radGrid using the NeedDataStore ... using C#, but am having trouble with the syntax. I know that I should probably use the FindControl or FindItemByText ... but just need a kick in the right direction.

Thanks!

Larry

Princy
Top achievements
Rank 2
 answered on 21 Nov 2011
1 answer
135 views
Hi All,

How to Export  only the template column with label field and bound column and visible column in radgrid into excel.
we want HeaderText of radgrid column name as Column name in Excel how to get that..
please give the valuable solution for this.
Shinu
Top achievements
Rank 2
 answered on 21 Nov 2011
1 answer
129 views
I'd like to bind a simple two column grid to an ArrayList with an initial size of 0.

Can I be pointed to an example of how can to declare my grid to show column headers when the ArrayList is empty?












Princy
Top achievements
Rank 2
 answered on 21 Nov 2011
1 answer
264 views
Hello.

For you information, the javascript code I have used to get the value of a hidden value is:

function GetSelectedRowCellValue(sender, args) {
    var grid = $find("RadGridMain");
    var selected = grid.get_masterTableView().get_selectedItems();
    if (sel.length > 0) {
        var row = grid.get_masterTableView().get_selectedItems()[0];
        var cellValue = grid.get_masterTableView().getCellByColumnUniqueName(row, "TheColumnName").innerText;
        ...
    }
    ...
}

The ASP.NET code is:

<telerik:GridBoundColumn DataField="TheColumnName" UniqueName="TheColumnName" DataType="System.Int32" Visible="true" Display="false" />

The Visible and Display settings are important.

I hope this can help other developers.

Regards
Augusto
Shinu
Top achievements
Rank 2
 answered on 21 Nov 2011
2 answers
188 views
My radbuttons and radtoolbar button does not render properly when I use raddatepicker in my form.  I'm using IE9.
I use a master page have two content place holders.  One for the main content and form and another that has a floating div on at the bottom of the page.  I place several telerik controls in the main content (i.e. textbox, numeric textbox, combo box, datepicker, grids, etc.)  and i also use a radajaxmanager and radajaxlaodingpanel.  The weird think is that the problem only happens when i place rad datepicker in my form.  all the other controls works fine with radbutton and radtoolbar.  Can someone help me solve this please? 
JR
Top achievements
Rank 2
 answered on 21 Nov 2011
2 answers
352 views
So I'm wondering if it's possible to retrieve the DataKeyField of the Appointment inside the OnAppointmentDelete event and how (server-side not client-side)?

Regards,
Sasha.
Sasha
Top achievements
Rank 1
 answered on 20 Nov 2011
2 answers
171 views
Hi i've a rad grid. I can expand the row in the grid. I've binded the grid from the dataset. When I expand the rows i want to populate the textboxes inside the expanded row. I'm unable to do that.


Can anyone help me out this?? Thank you
Suderson
Top achievements
Rank 1
 answered on 20 Nov 2011
9 answers
542 views
Hi,

One of the pages loading usercontrols dynamically from a folder (each usercontrol has a different form and a different functionality), but when I click in any button in the usercontrol which causes postback, then the entire usercontrol disapears.
Does Telerik ajax controls handles this issue? if so, please let me know how.

Regards,
Bader
Bader
Top achievements
Rank 1
 answered on 19 Nov 2011
1 answer
189 views
I have a radtabstrip

<

 

 

telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="Windows7"

 

 

 

Align="Justify" ReorderTabsOnSelect="True" Width="347px" >

 

 

 

<Tabs>

 

 

 

<telerik:RadTab Text="Providers" NavigateUrl="http://localhost/CMIPSII/Default.aspx" runat="server">

 

 

 

</telerik:RadTab>

 

 

 

<telerik:RadTab Text="Reports" NavigateUrl="http://localhost/CMIPSII/Report/Reports.aspx"

 

 

 

runat="server">

 

 

 

</telerik:RadTab>

 

 

 

</Tabs>

 

 

 

</telerik:RadTabStrip>

I have to store the navigation url in webconfig and refer here.

Need help.

 

Stuart Hemming
Top achievements
Rank 2
 answered on 19 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?