Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
129 views
Hello,
I use a database to show a chart. Sometimes, The values in Y axis are wrong.
Any suggestions?
As these values change once a day, what will be the best solution to cache- values or gif?

Christos K.

A suggestion:
In page http://www.telerik.com/support/aspnet-ajax/chart.aspx the link Post in forums shows to http://telerik.sitefinity.com/community/forums/aspnet-ajax/chart.aspx which is not valid (at least to me) .
Ves
Telerik team
 answered on 13 Apr 2009
1 answer
60 views
I have a RadGrid with rows populating from a SQL DB, I need to send an email on update fire event if a rejected checkbox is true. My question is how do I access the "rejected" checkbox from the edit form and check to see if it has been set to true. Also I would like to be able to access any of the data from the entire record if possible so I can compile the email and send it out with the data from the record. I work in VB.NET
Yavor
Telerik team
 answered on 13 Apr 2009
1 answer
94 views
Hi,

i'm trying to evaluate the ASP.NET AJAX control suite and i'm having issues around the licenses i believe that the trial version i downloaded has limitations, could you point me to where the developer edition download.

Thanks,
Ashley
Paul
Telerik team
 answered on 13 Apr 2009
1 answer
102 views
Hello

Assume we have the RadGrid control on the page, it allows multiple editing and all rows are in Edit mode. How can I collect data about rows that were edited and form the updated row collection on the client (without callbacks)

Thanks in advance
Yavor
Telerik team
 answered on 13 Apr 2009
9 answers
928 views

I'm trying to change the calendar width of date picker.
This code is not working for me. Did I miss anything.
Thanks!

<

telerik:RadDatePicker ID="dtValue" runat="server" Width="125px">

 

<DateInput Width="50px"></DateInput>

 

<Calendar Width="50px" Height="50px" ShowRowHeaders="false" UseColumnHeadersAsSelectors="false"

 

CellAlign="Left" CellVAlign="Middle" FirstDayOfWeek="Default" DayNameFormat="FirstLetter"

 

TitleAlign="Center" runat="server" />

 

</telerik:RadDatePicker

 

 

cilerler
Top achievements
Rank 1
 answered on 13 Apr 2009
6 answers
76 views
I am using a context menu as a "drop down button" where I tell the menu to showAt() a specific position.  The problem is that if the menu is close to the bottom of the page, it will ignore my y coordinate and display itself further up the page (still keeping the x coordinate I supplied).  It appears to be doing this in order to make sure the entire menu is visible in the window.  Is there a setting or anything to prevent this behavior?  I would like it to display where I tell it to...even if it expands the page downward.

function showContextMenu(e,controlId,menuId){ 
            var control = document.getElementById(controlId); 
            var contextMenu = $find(menuId); 
            var pos; 
             
            pos = getControlPosition(controlId); 
            contextMenu.showAt((pos.x + control.offsetWidth), (pos.y)); 
            $telerik.cancelRawEvent(e); 
        } 
         
        function getControlPosition(elementId) { 
            var element = document.getElementById(elementId); 
            var left = 0; 
            var top = 0; 
 
            if (element != null
            { 
                // Try because sometimes errors on offsetParent after DOM changes. 
                try 
                { 
                    do { 
                        element = element.offsetParent; 
                        left += element.offsetLeft; 
                        top += element.offsetTop; 
                        if (element != document.body && element != document.documentElement){ 
                            top -= element.scrollTop; 
                            left -= element.scrollLeft; 
                        }   
                        if(element.style.overflow != '' || element.style.overflowX != '' || element.style.overflowY != ''){break;} 
                        } while(element.tagName!='BODY'); 
                } 
                catch (e) 
                { 
                    // Do nothing 
                    alert('error'); 
                } 
            } 
            return {x:left, y:top}; 
        }  

Yana
Telerik team
 answered on 13 Apr 2009
1 answer
121 views
I'm trying to use RadMaskedTextBox in a multiline mode just like in this demo example
http://demos.telerik.com/aspnet-ajax/input/examples/radmaskedtextbox/address/defaultcs.aspx

What I've discovered is that after submitting this form RadMaskedTextBox1.Text property contains only the first line of the entered text. The rest of the lines just disappear. Is this a bug or am I doing something wrong?

I'm using the Telerik ASP.NET AJAX v2009.1.402.35 on .Net Framework 3.5  and IE 7.

Thank you
Pavel
Telerik team
 answered on 13 Apr 2009
4 answers
91 views
Hi,

is there a way to avoid the reformating of the source when changing edit modes?

Before my Grid (part) looks like this:
<Columns> 
    <telerik:GridEditCommandColumn ButtonType="ImageButton" ItemStyle-Width="32px" HeaderStyle-Width="32px" /> 
    <telerik:GridBoundColumn DataField="LanguageCode" HeaderText="LNG" ReadOnly="True" SortExpression="LanguageCode" UniqueName="LanguageCode" ItemStyle-Width="33px" HeaderStyle-Width="33px" ItemStyle-Font-Bold="true" /> 
    <telerik:GridBoundColumn DataField="Title" HeaderText="Title" SortExpression="Title" UniqueName="Title" ItemStyle-Width="150px" HeaderStyle-Width="150px" /> 
    <telerik:GridBoundColumn DataField="TheContent" HeaderText="TheContent" ReadOnly="False" SortExpression="TheContent" UniqueName="TheContent" /> 
    <telerik:GridButtonColumn CommandName="DoActivate" Text="Aktivieren" ButtonType="PushButton" /> 
</Columns> 
 

After a switch to design (and back I guess) it looks like this:
<Columns> 
                        <telerik:GridEditCommandColumn ButtonType="ImageButton" ItemStyle-Width="32px" HeaderStyle-Width="32px" > 
<HeaderStyle Width="32px"></HeaderStyle> 
 
<ItemStyle Width="32px"></ItemStyle> 
                        </telerik:GridEditCommandColumn> 
                        <telerik:GridBoundColumn DataField="LanguageCode" HeaderText="LNG" ReadOnly="True" SortExpression="LanguageCode" UniqueName="LanguageCode" ItemStyle-Width="33px" HeaderStyle-Width="33px" ItemStyle-Font-Bold="true" > 
<HeaderStyle Width="33px"></HeaderStyle> 
 
<ItemStyle Font-Bold="True" Width="33px"></ItemStyle> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="Title" HeaderText="Title" SortExpression="Title" UniqueName="Title" ItemStyle-Width="150px" HeaderStyle-Width="150px" > 
<HeaderStyle Width="150px"></HeaderStyle> 
 
<ItemStyle Width="150px"></ItemStyle> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="TheContent" HeaderText="TheContent" ReadOnly="False" SortExpression="TheContent" UniqueName="TheContent" /> 
                        <telerik:GridButtonColumn CommandName="DoActivate" Text="Aktivieren" ButtonType="PushButton" /> 
                    </Columns> 

This behaviour is extremely frustrateing since pages become very "unreadable" after this.

Regards

Manfred
Yavor
Telerik team
 answered on 13 Apr 2009
3 answers
173 views
Hello
After upgrading to the ASPNET.Ajax version, we've noticed a delay in one of our webpages. After investigating, turns out that the delay was mainly caused by the use of RadChart controls inside the page.

On the page, the RadCharts are located inside a repeater. The repeater will render 6 RadCharts for each item in its DataSource. The maximum number of items we can have on the repeater is 5-6, so 5 items x 6 chart = 30 charts.
The charts are not that complicated, these are simple bar charts containing one series that show monthly data across 6-7 years.

Without the radcharts, the page loads in less then a second; when using the radcharts however, the page loads in 9-11 seconds. By simply putting them to the page without databinding the page already takes 6 seconds to load in the browser.

Do you have some RadChart tips I can use to speed up the page? Does anybody else confronted this situation after upgrading to ASPNET.Ajax version?

Thanks a lot,
Lucian

Vladimir Milev
Telerik team
 answered on 13 Apr 2009
1 answer
471 views
Error Creating Control - RadCalendar1Could not load file or assembly 'Telerik.Web.UI, Version=2009.1.311.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The system cannot find the file specified.

Sir, I am getting this error when I drag the calender control from tool box to page. Please advice me what to do?

I have VStudio 2008 express edition. I downloaded the Ajax telerix RadControls for ASP.NET AJAX Q1 2009.
The livedemo works fine. When I open the livedemo in visual developer 2008 no page is displayed and controls do not appear.

Please advise me on this.
Pavlina
Telerik team
 answered on 13 Apr 2009
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?