Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
Hello.

I announced lastest version of telerik control Q3 SP1.

Is this version fix the problem that i reported you?

please refer below link.

http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/tab-scrolling-doesn-t-work-correctly.aspx
Bozhidar
Telerik team
 answered on 09 Jan 2012
3 answers
273 views
Hi,
I currently have two issues.  My first issue is that, when  I press enter in the RadGrid filter box it fires the ItemCommand event with an CommandArgument that is set to another button. The other button shows and hides the filter row.So when pressing enter it seems to hide the filter row rather than just applying the filter.  This only seems to be the case in IE, in chrome it works as expected.  I was trying to produce a sample for this issue but unfortunately I hit another issue i couldn't solve in my sample.

Issue 2 (sample issue)
In my sample, When i press enter in the box the page reloads but it doesnt filter the items.  When I refocus the filter box and press enter it then filters successfully.  I also noticed that the filter drop down was not displaying.  Once again, this all works fine in chrome but not in Internet Explorer.

Here is the sample which currently has issue 2. I am hoping that if we can resolve issue 2 it will then display the problems I was having with issue 1 and you can help me solve this as well. 


http://dl.dropbox.com/u/13207221/TelerikRadGridTest.zip
Michael
Top achievements
Rank 1
 answered on 09 Jan 2012
1 answer
155 views
Hi,

I am trying to put validation on date input of raddatepicker.

I am having a wb page which have a master page too. I have added a raddatepicker control in it which is not a required field.

I want to validate data entered by user in date input of the control manually.

Eg. If user enters some text value in date input and clicks on save button then I want to display 'Invalid date' to user.

I have checked the project shared on http://www.telerik.com/community/code-library/aspnet-ajax/calendar/validation-of-non-mandatory-datepicker-control.aspx. But this code is not working if the web page have masterpage file included.

I suppose,datepicker control is not found in this case.

Can you please help me in this case.

Sample code for this will be a great help. :)
Antonio Stoilkov
Telerik team
 answered on 09 Jan 2012
1 answer
236 views
Hello,

Haven't been able to find any documentation and it looks like my only option is to set a command name and command argument for a button, but I'm trying to work around this.  Any ideas?

var toolBar = $find("<%= m.ClientID %>");
var button = toolBar.findItemByText("Get Button");
button.enable();
//want to do something like this:
button.click("openWindow(1)");
Brian Garson
Top achievements
Rank 2
 answered on 09 Jan 2012
3 answers
126 views
Hi:
I have a chart that is using Skin="Vista".  So, on the form the 3 colors are green, red and blue.  When I 'print' the graph (generate a png), the colors are light blue, light green and blue.  What can I do to get the colors the same?
Phil
P.S.: See the png example.
Phil
Top achievements
Rank 2
 answered on 09 Jan 2012
2 answers
103 views
Hi there,

I am trying to add a new group of commands to the default RadEditor via the following code (taken from demos):

EditorToolGroup etg = new EditorToolGroup();
rdHTMLEditor.Tools.Add(etg);
EditorTool addLoginLink = new EditorTool();
addLoginLink.Name = "AddLoginLink";
addLoginLink.Text = "Add Login Link";
etg.Tools.Add(addLoginLink);


By doing this, I lose ALL other commands / buttons from the RadEditor, which is not desirable - am I misinterpreting the method .Add() ? I would have thought it would have appended...

If I have to alter the XML to add my commands to, where can I get an up-to-date version of the XML that forms the default RadEditor? Are the files at http://www.telerik.com/support/kb/aspnet-ajax/editor/default-toolsfile-xml-file.aspx still valid?

Update: the files at the link above are not valid, as they are missing some commands (Format code block, etc.)

Thank you,

Mike Kingscott
Mike
Top achievements
Rank 1
 answered on 09 Jan 2012
1 answer
94 views

Hi

We use Telerik Editor as part of the OpenText Context Management System (although I'm not sure what version).

I've noticed that when entering links in the text editor, the order of the HTML attributes is always changed to follow a certain order.

Entering the following test links…

<li><a href="http://www.example.com" title="Example" class="test" rel="external">Example 1</a></li>

<li><a title="Example" rel="external" href="http://www.example.com" class="test">Example 2</a></li>

…always produces:

<li><a class="test" title="Example" rel="external" href="http://www.example.com">Example 1</a></li>

<li><a class="test" title="Example" rel="external" href="http://www.example.com">Example 2</a></li>


Being able to control the order for consistency is great but we would prefer to have href first as it is the most common…having a logical order can help with gzip page size (Google recommends href then alphabetising the rest, e.g., href class rel title). 

Is it possible to override the specified ordering to change to our preference?

Thanks

Neil

Rumen
Telerik team
 answered on 09 Jan 2012
1 answer
146 views
Hell all,

I'm trying to open a RadWindow  with some dynamic behavior inside the RadWindow (grids and forms).  I created a sample project and am able to get the RadWindow open and update controls using Ajax by setting the EnableViewState to false on almost all the controls inside the RadWindow.

Now that I've added a Cancel button, I get the error:

Failed to load viewstate.
The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.
For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request. 

Here is the snippets to the sample project i created for test purposes:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnGetDate" >
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="datePanel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
       <telerik:AjaxSetting AjaxControlID="RadToolBar1" >
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="windowPanel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
 
<telerik:RadToolBar ID="RadToolBar1" Runat="server"
    onbuttonclick="RadToolBar1_ButtonClick">
    <Items>
        <telerik:RadToolBarButton runat="server" Text="Window">
        </telerik:RadToolBarButton>
    </Items>
</telerik:RadToolBar>
 
<asp:Panel ID="windowPanel" runat="server">
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
    </telerik:RadWindowManager>
 
    <telerik:RadWindow ID="RadWindow1" runat="server" Modal="true" >
        <ContentTemplate>
            <asp:Panel ID="datePanel" runat="server">
                Date: <asp:Literal ID="litDate" runat="server" EnableViewState="false"></asp:Literal><br />
             
                <asp:Button ID="btnGetDate" runat="server" Text="Update Date" OnClick="GetDate_Click" EnableViewState="false" />
                <br />
                <asp:Button ID="btnClose" runat="server" Text="Cancel" OnClick="btnClose_Click" EnableViewState="false" />
            </asp:Panel>
        </ContentTemplate>
    </telerik:RadWindow>
</asp:Panel>

The code behind looks like this:

protected void RadToolBar1_ButtonClick(object sender, Telerik.Web.UI.RadToolBarEventArgs e)
{
    RadWindow1.VisibleOnPageLoad = true;
    RadWindowManager1.Controls.Add(RadWindow1);
    litDate.Text = "not set";
}
 
protected void GetDate_Click(object sender, EventArgs e)
{
    litDate.Text = DateTime.Now.ToLongTimeString();
    RadWindow1.VisibleOnPageLoad = true;
    RadWindowManager1.Controls.Add(RadWindow1);
}
 
protected void btnClose_Click(object sender, EventArgs e)
{
    RadWindow1.VisibleOnPageLoad = false;
    RadWindowManager1.Controls.Remove(RadWindow1);
}

Any help would be appreciated.
Andrey
Telerik team
 answered on 09 Jan 2012
3 answers
223 views
Hi Everyone !

I am creating the email editor with RadEditor. Although I can insert image with Image Manager, when i click the send button the image cannot show. I attach the file . Let me know who can resolve?

Here are my C# code behind.

 SmtpClient smtp = new SmtpClient();
        MailMessage mail = new MailMessage();
        mail.To.Add("xxxxxx@xxxx.com");
        mail.From = new MailAddress("xxxxxx@gmail.com");
        mail.Body = RadEditor1.Content;

        smtp.Host = "smtp.gmail.com";
        smtp.Port = 587;
        smtp.EnableSsl = true;       
        smtp.EnableSsl = true;
        smtp.Send(mail);

Thanks
Htut
Rumen
Telerik team
 answered on 09 Jan 2012
5 answers
179 views
Hello Telerik Community,
     I'm seem to have more problem with the button with telerik sizing issue.  It seem to be ignoring the width property when set.

                    <td ><telerik:RadSpell ID="RadSpell1" runat="server"
                            ControlsToCheck="txtNotes,txtRoute" Visible="False" Width="80px"
                            WordIgnoreOptions="None" />
                    </td>

The total width is about 90px in (IE) (see screen shoots).  
The total width is about 96px in (Firefox) (see screen shoots).

It seem the only way to fix this is to add the width in the <td width=80px>.
Rumen
Telerik team
 answered on 09 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?