Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
274 views
Hi,

I am new to Organization chart. In am binding the OrgChart with Collection objects. After binding the chart i am having the following option in Org chart.
Create new node (using creating node item in the collection and rebind it to to chart).
Edit or Delete node (using contextmenu right click update the coloection and rebind it to OrgChart).

Please let me know how to change the background color in the chart node item.
While creating the new code it will be show with different color to highlight.
While edit or deleting the new code it will be show with different color to highlight.

Regards,
Kannan S


Plamen
Telerik team
 answered on 07 Nov 2012
4 answers
132 views
I have set AllowMultiRowEdit = true in order to put every item in the grid to edit mode, then edit and update them all at once.
However, it seem to me that if there is too many item that are editing at a time, then the update won't work.
For example, if I set the PageSize = 80, it will work perfectly, but if I set it to be 100, then it won't work. At first, I thought that 80 is the limit number of row that can be editing at a time, but then when I tested with another grid, It works when I set PageSize to 50, but it won't work if I set the PageSize to 55.

I guess that it's has something to do with the limit of amount of data that the grid can hold at a time or so.

Would you please explain?

Thanks

Lamk.

 

LamKhoa
Top achievements
Rank 1
 answered on 07 Nov 2012
2 answers
95 views
Hello

When clicking on add new record link, everything works alright. But when clicking on plus icon (just on the left of add new record link), not only new item overlay window pops up, but additionally new item row is shown in grid, as inline editing would have been enabled (which is not the case).

Thank you and best regards,
Roger
Tsvetoslav
Telerik team
 answered on 07 Nov 2012
4 answers
253 views
Hi There,

I have a repeater control that outputs two RadDatePickers per row as shown below.

<asp:Repeater ID="rep_mediaassetbursts" runat="server" DataSourceID="ods_mediaassetbursts" OnItemDataBound="rep_mediaassetbursts_ItemDataBound"
            <HeaderTemplate> 
                <table> 
                <tr> 
                <th>Bursts</th> 
                <th>Value</th> 
                <th>Start Date</th> 
                <th>End Date</th> 
                </tr> 
            </HeaderTemplate> 
            <ItemTemplate> 
                <tr> 
                <td><asp:Label ID="burstNumber" runat="server" Visible='true' ></asp:Label></td
                <td><telerik:RadNumericTextBox ID="MediaAssetBurstValue" runat="server"  DbValue='<%# Bind("investment") %>'  MinValue='0' Width="75px" DataType="System.Int32" Type="Currency"  ><NumberFormat DecimalDigits="0"  /><EnabledStyle HorizontalAlign="Right" /></telerik:RadNumericTextBox></td
                <td><telerik:RadDatePicker ID="BurstStartDate" runat="server"
                    </telerik:RadDatePicker><asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" ControlToValidate="BurstStartDate" 
                ErrorMessage="Enter a date!" Display="Dynamic"></asp:RequiredFieldValidator></td
                <td><telerik:RadDatePicker ID="BurstEndDate" runat="server"   ></telerik:RadDatePicker><asp:RequiredFieldValidator runat="server" ID="Requiredfieldvalidator2" ControlToValidate="BurstEndDate" 
                ErrorMessage="Enter a date!" Display="Dynamic"></asp:RequiredFieldValidator><asp:CompareValidator ID="dateCompareValidator" runat="server" ControlToValidate="BurstEndDate" 
                ControlToCompare="BurstStartDate" Operator="GreaterThanEqual" Type="Date" ErrorMessage="The second date must be after the first one." Display="Dynamic"></asp:CompareValidator> 
                <asp:Label runat="server" ID="datevalue"></asp:Label> 
                </td> 
                </tr> 
            </ItemTemplate> 
            <FooterTemplate> 
                <tr> 
                <td></td
                <td> 
                <telerik:RadNumericTextBox ID="burstTotalValue" Type="Currency" runat="server"  Value='0'  MinValue='0' Width="75px" DataType="System.Int32" ReadOnly="true"  > 
                <NumberFormat DecimalDigits="0"  /> 
                <ReadOnlyStyle BorderStyle="none" HorizontalAlign="Right" /> 
                </telerik:RadNumericTextBox></td
                <td colspan="2"><asp:CompareValidator ID="burstTotalValueCheck" runat="server" 
                    ErrorMessage="Burst Totals must match the total investment for the assset" ControlToValidate="burstTotalValue" Type="Integer"></asp:CompareValidator></td
                </tr> 
                </table> 
            </FooterTemplate> 
            </asp:Repeater> 

I want to associate a javascript function to the OnDateSelected event for each of the RadDatePickers so that i can work out the number of weeks between the dates and display the value in the "datevalue" label. 

I am aware of the standard paramaters that get passed to the javascript function that you assign to the OnDataSelected property, but my problem is from within that function how can I access the other RadDatePicker and also the label.

If I was able to make OnDateSelected take extra paramaters i could pass into it the client id for the other RadDatePicker and the label.

I am looking for any suggested approaches.

Thanks in advance
Jason
Mahtab
Top achievements
Rank 1
 answered on 07 Nov 2012
1 answer
110 views
I am using Telerik ajax controls in VS2010 asp.net web project.
I am only targetting IE v8 browser.

When I encounter server side code exception, I get an error dialog box "There was an error in the call back."

When I click okay, nothing happens at the server side and code stops executing.

In this web application, there is no try catch exception handling any where. All the exception bubble up to Application_Error in global.asax.
In this specific case, how can I bubble up the exception to Global.asax?

Please help.

Thanks
Slav
Telerik team
 answered on 07 Nov 2012
2 answers
217 views
Hi All,

After installing the new version of editor (Telerik.Web.UI, Version=2012.2.912.40) hoping to fix some of the formatting issues I seem to have introduced more formatting issues. The problem is that if I type some text and try to change the font it does not change at all. When switching to HTML view I see following which appears to be properly formatted and all:
<span style="font-family: Courier New;">dfasdf asdf asdf asdf</span>

I have defined the editor as following:
<telerik:RadEditor runat="server" ID="richText" EditModes="Design" ToolsFile="EditorTools.xml" ContentAreaMode="Div" ContentFilters="ConvertFontToSpan,ConvertToXhtml,ConvertCharactersToEntities,IndentHTMLContent" StripFormattingOptions="All" Width="935px">
</telerik:RadEditor>

When inspecting html code using F12 Developer Tools I noticed that the content is still using FONT tag:
<FONT face="Courier New">dfasdf asdf asdf asdf</FONT>

Can anyone advise on this behavior? Has anything changed or have I missed anything?

Thanks

PS: I am on Win7 and IE9. Also see code discrepancy in the screenshot of the F12 tools
Aleksey
Top achievements
Rank 1
 answered on 07 Nov 2012
1 answer
56 views
Hi to all,
It's first time to use RadUpload control, I followed tutorial.
And now I would use this control in "insert form":

Insert several information and I attach 2 files (for example) then I submit my informations, it may be upload 2 files and then send my information.

How can I intercept "All Uploaded File event"?

Plamen
Telerik team
 answered on 07 Nov 2012
3 answers
58 views
Hi,

I use RadDock panels to give me a panel with a title bar.  Worked fine till Q3 now they all seem to float to the left.  Before they sat where they were put on the page.

Please could you advise me on any changes made between Q2 and Q3 so that I can get a work around for this problem.

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 07 Nov 2012
1 answer
85 views
 HI Support Team,

I Have Implemented The following gauge. I have Intialised the Gauge Ranges and there is no property to name the gauge range so that i can give from and to values from code behind. there is no online demo too for the alternative.


<div class="GuageBGImage">
                                                            <telerik:RadRadialGauge runat="server" ID="radTestDesign" CssClass="GuagePosition">
                                                                <Pointer Value="0" Color="#000000">
                                                                </Pointer>
                                                                <Scale Min="0" Max="100" MajorUnit="20" MinorUnit="5">
                                                                    <MajorTicks Size="5" Color="#777777" />
                                                                    <MinorTicks Size="2" Color="#777777" />
                                                                    <Labels Position="Outside" Color="#000000" Font="bold 11px Arial,Verdana,Tahoma" />
                                                                    <Ranges>
                                                                        <telerik:GaugeRange />
                                                                        <telerik:GaugeRange />
                                                                        <telerik:GaugeRange />
                                                                    </Ranges>
                                                                </Scale>
                                                            </telerik:RadRadialGauge>
                                                        </div>


I have set the values programatically as : 
GuageName.Scale.Ranges[GaugeRangeSeries].From  = value 

But as there are around 28 gauges its really difficult to maintain in that way. Please give me suggestion to name Scale Tag and Range Tag.

Thanks,
Mady.
Marin Bratanov
Telerik team
 answered on 07 Nov 2012
1 answer
188 views
Hi,

I have a user control with update panel, which I am opening in a popup from my page. This popup has a Rad grid which is again in another nested Update Panel. I have Edit Form in this grid.
Normal Scenario: The popup will open and on click of Add new record in the radgrid I am getting Edit form. In this scenario it works fine.

Second Scenario:  When the pop up is opened, it has values and the controls are  disabled, I have to enable the controls on server side side with the Asynch Postback. Now once i try to Click on Add new record button in the grid, it fires the event but does nothing but if we click the same button again, it will again fire the event and this time it will open the Edit form but closes the popup. I dont want the popup to be closed.
Please suggest.

Thanks,
Gagan
Marin
Telerik team
 answered on 07 Nov 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?