Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
267 views
Hi,
Can anyone tell me how to change the value of a masked textbox using javascript.
In the previous version I was using the SetValue(value) method but in the Q2 2012 version it doesn't work anymore.

Is there a list of all the new methods anywhere?

Thank you.
Princy
Top achievements
Rank 2
 answered on 27 Jun 2012
1 answer
124 views
Hi I am a new one here and have a question about the radupload control.

I am using the RadUpload control and setting up the properties as following: 
    maxfilesize=4MB
    IsPauseEnabled=false
    IsAutomaticUpload=true (we want to upload right after selecting a file)
    IsPauseEnabled=false (we do not want to users to pause the uploading)

When I upload a file successfully and select second one (bigger than the maxfilesize) to upload, I got the error message. At this point of time, there is a Upload button showing up. We only want the Cancel button at this time (please refer to the attachment).

Is there any way I can hide the Upload button?

Thanks.
Plamen
Telerik team
 answered on 27 Jun 2012
1 answer
106 views
Hi all,

I need to format the data exporting from my grid to Excel. How can I accomplish this?

Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 27 Jun 2012
1 answer
71 views

I am using rad combobox in my application for searching.

Whenever user type something in combobox it shows me related data.

I have used OnItemsRequested event for this.

I am having requirement that result drop down won’t show up until I type 3 charactors in combobox

I am using OnClientItemsRequesting event as follow to suppressed OnItemsRequested event.

 

  function onItemsRequesting(sender, eventArgs) {

            if (eventArgs.get_text().length < 3) {

                sender.hideDropDown();

                eventArgs.set_cancel(true);

            }

            else {

                sender._loadingMessage = "Searching for " + eventArgs.get_text() + "...";

            }

         }

I am using telerik V2011.3.1115.40

Initially combo doesn’t contain any items. It is working fine first time but whenever I remove the characters & number of characters  become to 2 & press another letter even then it shows me previous result for few seconds & then shows proper result. Is there any reason for this?

Can you please let me know how to remove all the items of the radcombobox in OnClientItemsRequesting event?

It might resolve the problem.

If you have any other resolution for this please let me know.

Shinu
Top achievements
Rank 2
 answered on 27 Jun 2012
5 answers
196 views

Hi!

                I noticed some display differences for the grid. In In the compatibility mode of Internet Explorer versions #8 and 9, the scroll bar extends all the way to the far right, even though the grid doesn’t have enough data to extend that far. If I take it out of compatibility mode, in Internet Explorer version #9, the scroll bar starts out next to the grid, like it should, but, after a post-back or something, the columns get wide enough so that the grid fills the whole screen. That doesn’t happen in Internet Explorer version #8. We can’t ensure which browser version our clients use (other than saying that they should use Internet Explorer), so is there any way around this? Has anyone else noticed similar problems? Thanks!

                                Holly

Pavlina
Telerik team
 answered on 27 Jun 2012
1 answer
65 views
My design

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="radwindow1.aspx.cs" Inherits="radwindow1" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
     
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="rad" runat="server">
    </telerik:RadScriptManager>
    <div>
        <telerik:RadWindow ID="rdwndw" runat="server" VisibleOnPageLoad="false">
            <Shortcuts>
                <telerik:WindowShortcut CommandName="CloseAll" Shortcut="Esc" />
            </Shortcuts>
            <ContentTemplate>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <telerik:RadComboBox ID="RadComboBox1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="sel1">
                            <Items>
                                <telerik:RadComboBoxItem Text="One" Value="One" />
                                <telerik:RadComboBoxItem Text="Two" Value="Two" />
                                <telerik:RadComboBoxItem Text="Three" Value="Three" />
                                <telerik:RadComboBoxItem Text="Four" Value="Four" />
                            </Items>
                        </telerik:RadComboBox>
                        <telerik:RadTextBox ID="RadTextBox1" runat="server">
                        </telerik:RadTextBox>
                        <telerik:RadButton ID="RadButton2" runat="server" Text="Save" OnClick="RadButton2_Click">
                        </telerik:RadButton>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </ContentTemplate>
        </telerik:RadWindow>
        <telerik:RadButton ID="rdbtnwhAnother" Text="Add WithHolding" runat="server" ButtonType="LinkButton"
            OnClick="rdbtnwhAnother_Click">
        </telerik:RadButton>
    </div>
    </form>
</body>
</html>

My code is as follows

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Reflection;
 
public partial class radwindow1 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
 
        }
    }
 
    protected void rdbtnwhAnother_Click(object sender, EventArgs e)
    {
        rdwndw.VisibleOnPageLoad = true;
 
    }
 
 
    protected void RadButton2_Click(object sender, EventArgs e)
    {
        rdwndw.VisibleOnPageLoad = false;
    }
 
 
    protected void sel1(object sender, EventArgs e)
    {
        RadTextBox1.Text = RadComboBox1.SelectedItem.Text;
    }
}

Unable to close the window 
Shinu
Top achievements
Rank 2
 answered on 27 Jun 2012
5 answers
169 views
Hello,

I have a grid 100% width and with 20 lines per page that obviously don't fit in a tablet screen (iPAD and Samsung Galaxy). The problem is that I'm not capable of scrolling the page vertically. In the iPAD I'm able to do it with two fingers, but in the Samsung Galaxy I didn't find a way to do it.

Any idea?

Thank you
Roberto

Marin
Telerik team
 answered on 27 Jun 2012
3 answers
134 views
Any one can help me to apply vertical style on Chart Series in RedChart. As i want to show x axis item vertically in positive direction
My Sample Code :

      ChartSeries pSeries = new ChartSeries();
            
          //radBarGraph.SeriesOrientation = Telerik.Charting.ChartSeriesOrientation.Vertical;
            int iCount = 5;
            radChart.PlotArea.XAxis.AutoScale = false;
            radChart.PlotArea.XAxis.Items.Clear();
            for (int i = 0; i < iCount; i++)
            {
            
                // Add a new item  
                pSeries.AddItem((double)i * 12, "Jan");
                radChart.PlotArea.XAxis.Items.Add(new ChartAxisItem("R"+Convert.ToString(iCount - i)));
                //pSeries.AddItem((double)i * 2, Convert.ToString(i * 2));
                //radChart.PlotArea.XAxis.Items.Add(new ChartAxisItem(Convert.ToString(iCount - i)));
            }

            radChart.Series.Add(pSeries);


Here "Jan" value show horizontally but i want to show it Vertically



Please Suggest..
Peshito
Telerik team
 answered on 27 Jun 2012
3 answers
152 views
Hi All,

How can i avoid panel menu refresh while selecting a page.


Regards,

Prassin
Kate
Telerik team
 answered on 27 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?