Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
91 views
I am simply calling radConfirm which opens up the default "OK" and "Cancel" buttons. However the "Cancel" button does not have focus.
   Is there a property or client side code that can set focus on "Cancel" button
Marin Bratanov
Telerik team
 answered on 04 Nov 2011
3 answers
125 views
I have created and saved a skin using the Visual Style Builder and now want to add controls and style them. Is there a way to import and select new controls?
Bozhidar
Telerik team
 answered on 04 Nov 2011
2 answers
272 views
I am using RadNotification control to show the results of sending emails.

Emails are being sent asynchronously and I want to trigger a notification on the async callback. When I try to change the notification text from this function, it does not change it on the notification, showing the initially set message.

Any suggestions? Here is my c# code:

      protected void SendEmail(string Subject, string MessageBody, string EmailList)
        {
             MailMessage mail = new MailMessage();
            //set the addresses
             string SelectedEmails = "";
            mail.From = new MailAddress("noreply@domain.com");
            string[] Emails = EmailList.Split(';');
            foreach (string Email in Emails)
            {    //remove duplicates
                if (SelectedEmails.IndexOf(Email) == -1)
                {  mail.To.Add(Email);
                    SelectedEmails +="; "+ Email;}
             }

            //set the content
            mail.Subject = Subject;
            mail.Body = MessageBody;
            //send the message
            SmtpClient smtp = new SmtpClient();
            Object userState = mail;
           //Attach event handler for async callback
            smtp.SendCompleted += new SendCompletedEventHandler(smtpClient_SendCompleted);
            //Send the email asynchronously
            smtp.SendAsync(mail, userState);
        }


        protected void smtpClient_SendCompleted(object sender, System.ComponentModel.AsyncCompletedEventArgs e)
        {
            //Get UserState as MailMessage instance from SendMail()
            MailMessage mailMessage = e.UserState as MailMessage;
            if (e.Cancelled)
            {
                ShowNotification("Sending of email message was cancelled. Address=" + mailMessage.To[0].Address);
            }

            if (e.Error != null)
            {
                ShowNotification("Error occured, info=" + e.Error.Message);
            }
            else
            {
                string EmailRecepients = "";
                int count = mailMessage.To.Count;
                for (int i = 0; i < count; i++)
                {
                    EmailRecepients += "\r\n" + mailMessage.To[i].Address;
                }
                ShowNotification("Notification was sent successfully to:" + EmailRecepients);
            }
        }

        protected void ShowNotification(string NotifcationText)
            {
                RadNotification1.Text = NotifcationText;
                RadNotification1.Show();
            }
Yuriy
Top achievements
Rank 1
 answered on 04 Nov 2011
3 answers
119 views
I am currently working with the latest internal build (01608Telerik.Web.UI_2011_2_1025_Dev_hotfix) and it seems that many of my radtooltips that were rendering properly in the last release build are now not rendering in IE9, FireFox 7 or Chrome. Only the callout shows. The tooltips render properly in IE8 and IE7. This only affects radtooltips that are managed by a radtooltipmanager. Is anyone else reporting this for this internal build?

Thanks
Mike
Marin Bratanov
Telerik team
 answered on 04 Nov 2011
1 answer
155 views
I created a en-US-Custom.txt  file. When i do this in my local machine and run the spell checker it is working fine.
But when the same was done on a server and launched the spell checker, then it thows an error.

RadSpell error. Server returned error: 500 Please, see the help for more details: RadSpell 3.x - Configuration - SpellCheckHandler./Core/Resources/Controls/RadControls/Spell/Telerik.RadSpellCheckHandler.ashxExpected ';'A fatal error has occurred

From the below link , i came to know its an unhandled exception.
http://www.telerik.com/community/forums/preview-thread/aspnet/spell/radspell-server-return-error-500-expected.aspx#1240142

After running the firebug in firefox, i got the below error.

e.target.tagName is undefined

Pls help me on this.

Regards,
Vinay
Jayesh Goyani
Top achievements
Rank 2
 answered on 04 Nov 2011
3 answers
497 views
Good afternoon,
I have following code written in aspx page:

<

 

div id="divEIS">

 

<

 

div id="divEIS1" runat="server" style="text-align :center ;" >

 

 

<telerik:RadTextBox ID="txtEISId" MaxLength ="9" runat="server" Font-Bold ="true" Font-Size ="10" Height="16">

 

 

</telerik:RadTextBox></div></div>

 

 

<div id="divSSN">

 

 

<div id="divSSN1" runat="server" >

 

 

<telerik:RadMaskedTextBox ID="txtSSN" runat="server" Mask="###-##-####" Font-Bold ="true" Font-Size ="10" Height="16">

 

 

</telerik:RadMaskedTextBox></div></div>

 


As user type in SSN# in the Box I would like to convert numbers to XXX-XX-4433 or after he/she hits search button,but actual value I need to pass to store procedure.

Thanks so much for your help.
Maria Ilieva
Telerik team
 answered on 04 Nov 2011
5 answers
406 views
Hi,

Please can u help me how to disable the rename functionality for treeview root node in RAD File explorer.
By default Delete functionality will disable for root node while right clicking on context menu treeview in file explorer .same thng it should happen for reanme.other than root node it should enable rename functionality
Please can u help me out..
How to solve this?
and one more thing how to get root node text on client side.

Thanks\
Bhavani
Dobromir
Telerik team
 answered on 04 Nov 2011
4 answers
354 views
Hi,
I had a requirement that, individual users need to save their Grid's state into a database.
i.e, what ever user changes the grid, ie., resizing the column width, reording the columns, sorting, filtering, page size etc need to be presisest.

When user relogins and click's a button called "Restore Last View", the previous gird's state need to restored from the database.

Any helps on this will be highly appreciated.

Regards,
Suresh Kumar Udatha.
July
Top achievements
Rank 2
 answered on 04 Nov 2011
2 answers
111 views
Hi 

I am exporting Grid data to Excel , Grid columns have some styles.

Is it possible to Export Grid data with Styles to Excel?

can anyone please help me

Regards
Kiran
kiran
Top achievements
Rank 1
 answered on 04 Nov 2011
1 answer
109 views
Hi

I'm using the RadWindow to handle a resizeable dialog. The dialog should contain two areas/rows:
- edits on the top - resizeable with the window
- validation & buttons on the bottom - area is always visible (the validation summary is only visible, if an validation error was found)

Is there any solution to reduce the scrollbars only to the editing area and not to the entire window content?

Cheers,
Jani
Kevin
Top achievements
Rank 2
 answered on 04 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?