Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
84 views
Hi all,
There is a weird behaviour of the Chart when the zoom is active. The same graph without zoom displays all the margins, but if the zoom is active, the right and top margins aren't shown.  (images one serie.jpg, oneserieNozoom.jpg)
Another weird behaviour is about the XAxis labels: if the zoom is inactive the Xaxis label are ok, but when I turn on the zoom the first label appears cut in the middle and It cannot be read. (OneSerieLabelsOK.jpg, OneSerieLabelsCutOff.jpg)
Anyone knows what can it be due to and how can I solve it?
Thanks in advance
Giuseppe
Telerik team
 answered on 02 Aug 2011
1 answer
117 views
Hello

I'm trying to apply some custom positioning on the Y-Axislabel. This is working fine using the following code:  (left situation) in screenshot)

BaseChart.PlotArea.YAxis.AxisLabel.Visible = true;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.RotationAngle = 360;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.Position.Auto = false;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.None;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.Position.X = 20;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.Position.Y = -30;

But once I try to call GetBitmap() or the RenderControl() method on the chart the label position is lost. (right situation in screenshot)

Kind Regards,
Kristof
Giuseppe
Telerik team
 answered on 02 Aug 2011
10 answers
403 views

Hi,

Here’s the code:

 

<div>

    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" ShowContentDuringLoad="true" >

        <Windows>

            <telerik:RadWindow ID="RadWindow1" runat="server" Behaviors="Close,Minimize,Move,Resize,Maximize" Modal="true" Skin="Office2007" Title="NewPage" >

                <ContentTemplate> 

                    Here's the text for Modal window!

                </ContentTemplate>                

            </telerik:RadWindow>

        </Windows>

    </telerik:RadWindowManager>

    <br />

    <input type="button" value="click Here" onclick="openRadWindow();" />

    <script type="text/javascript">

 

        function openRadWindow() {

 

            var rwManager = $find("<%= RadWindowManager1.ClientID %>");

            var rwindow = rwManager.Open("", "RadWindow1");

            rwindow.center();

            return false;

        }

    </script>

</div>


I’m using $find() to grab the Window Manager as this section is in a user control and the container page also has a RadWindowManager.

When I click on the button, the RadWindow shows up including the title but -  anything inside the Content template does not show in the window.

Am I missing something?

 

Also, I wonder if the content template is specific to Q3-2009 release as we haven’t updated to that version yet.

 

Any help pointer will be great appreciated.

v
Top achievements
Rank 1
 answered on 02 Aug 2011
1 answer
91 views
I am very new to this concept so please let me know how to integrate telerick radschedular with asp.net from the scratch..please i search a lot but couldnt find any useful links plese help.
Plamen
Telerik team
 answered on 02 Aug 2011
3 answers
395 views

Hi,

 

How to show only current month days in the MonthView and NOT show the last/next few days of the previous/next month.

Regards
Shashi

Plamen
Telerik team
 answered on 02 Aug 2011
2 answers
289 views
Hi!

I have made a web site following exactly the example provided here:
http://demos.telerik.com/aspnet-ajax/upload/examples/clientsideapi/defaultcs.aspx

I get the files to upload without problem but the RadProgressArea doesn't show up. Is there something not represented in the example code that should be included to make the RadProgressArea show up and present the progress?

Cheers!
Christoffer Rosenqvist
Top achievements
Rank 1
 answered on 02 Aug 2011
1 answer
104 views
Hello! I have RadGrid with no records, and column with filter template. In filter template i have RadTextBox.
User must enter value in RadTextBox, press enter and then on server-side there is a search request with paramenter, wich is value in RadTextBox. So i have problems implementing this functionality. Here is my markup for column in RadGrid:
<telerik:GridBoundColumn DataField="FullName" UniqueName="FullNameColumn" HeaderText="Имя"
                        ReadOnly="true" CurrentFilterFunction="Contains" AllowFiltering="true"   
                        ShowFilterIcon="false" FilterControlWidth="200px">
                        <FilterTemplate>
                            <telerik:RadTextBox runat="server" AutoPostBack="true" ID="NameRadTextBox" ClientIDMode="Static" EmptyMessage="Введите ФИО" ClientEvents-OnKeyPress="btnClick"/>
                            <telerik:RadCodeBlock ID="rcb1" runat="server">
                                    <script type="text/javascript">
                                        function btnClick(sender, e) {
                                            if (e.get_keyCode() == 13) {
                                                $find("<%= RadAjaxManager.ClientID %>").ajaxRequest();
                                            }
                                        }
                                    </script>
                                </telerik:RadCodeBlock>
                        </FilterTemplate>
                    </telerik:GridBoundColumn>
Subscribing on event:
<telerik:RadAjaxManager ID="RadAjaxManager" runat="server" OnAjaxRequest="RadAjaxManager_AjaxRequest">
.....

 On server-side i have handler for RadAjaxManager_AjaxRequest:
protected void RadAjaxManager_AjaxRequest(object sender, AjaxRequestEventArgs e)
        {
             
                var results = new List<CompanyUser>();
                var searchStr = e.Argument;
                var users = _userProvider.SearchByName(searchStr);
                UsersList.DataSource = users;
                UsersList.DataBind();
 
        }
But nothing happens. Grid is still empty. I checked recieved data from
 database and it's ok. What is missed or what i'm doing wrong? 
Tsvetina
Telerik team
 answered on 02 Aug 2011
1 answer
123 views
I am trying to bind a grid with xml datasource.
<asp:XmlDataSource ID="XmlDataSource1" runat="server" EnableCaching="False"
    DataFile="http://www.w3schools.com/xml/cd_catalog.xml" XPath="CATALOG/CD"></asp:XmlDataSource>
But no data displayed. Is there any error in my XPath.

Tsvetina
Telerik team
 answered on 02 Aug 2011
1 answer
215 views
Hi,
I've three RadWindow, each content template depends by others content template.
I need to refresh each content template after the click of a radbutton into a RadWindow.

I force the rad ajax panel update using the follow codes
public static void updatePanel(RadAjaxPanel sender, RadAjaxPanel target)
{
   sender.ResponseScripts.Add(String.Format("$find('{0}').ajaxRequest();", target.ClientID));
}

but it works only for the radwindow wich I'm displaying in that moment, if i open the others rad window I don't see any changes.
I try also to fire the Load event and set the property reloadonshow = true but the event call before the button click.

Can you help me?
Marin Bratanov
Telerik team
 answered on 02 Aug 2011
2 answers
83 views
I could not get the popup editor to be modal in RadGrid.I do not see the option in the popupsettings to make the popup modal,  like shown in your demo. Am I missing something?
fijula
Top achievements
Rank 1
 answered on 02 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?