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

We are working with the rad grid and we till now we are binding the data in a basic binding for historical reasons.
Now we want to change the behavior of the data binding, filtering and grouping to gain the best performance we can get from your grid.

We work with ado.net and mssql, and I wanted to know if there is an example for our needs that I can learn from it.
I don't care if it a client binding or server binding. but I need a paging and filtering and grouping that I will send the expression
(paging: startIndex,page size and so, filtering: expression and grouping: I don't how it's works behind the scene) to our stored procedure
and than I will get the results of the only page size.

10x.
Viktor Tachev
Telerik team
 answered on 06 Jan 2015
1 answer
188 views
Hi there,

I was wondering if you guys have an implementation of a timeline chart.  Something similar to the combination of a Range Bar Chart and a Stacked Bar Chart.

John
Danail Vasilev
Telerik team
 answered on 06 Jan 2015
1 answer
128 views
Hello,
We are running with an strange issue with RadGrid(Having EditForm Template) Filtering,
Current behavior
Grid rows are getting filtered down normally by an external filtering event like (Drop down, Search box etc),
So with this grid (having filtered data source bound to it) - when we try to Edit the row 

1. Rows NeedDataSource event is getting fired and entire grid is getting reset with original data source
2. Thus, the Edit row action gets resulted into Expanding the First row on default data source 

Expected behavior
 Ideally after filtering the rad grid rows, only the selected Row should be expand on click of Edit even after rebinding it.
 Any idea, how to handle this scenario?

Attach is the sample screens shows above behavior in action.
Steps to reproduce -
1. Filtered the Grid based on Product name Drop down (External filtering)
2. Once filtered, try to expand any row
3. It will result RadGrid Expanding the different row different than the filtered row which needs to be expanded.

You will notice in step 3 that Grid has all the rows again with default first row in expand state.

Thanks,
Chetan
Radoslav
Telerik team
 answered on 06 Jan 2015
2 answers
281 views
Hello Dears,

Could you please answer to my below questions :

    - How to customize the size of columns text in RadGantt chart as its mentionned in attachement ?
    - How to modify the langauge showing of the RadGantt chart (example : Add Task --> Ajouter Tâche) ?
    - How to change the caption of buttons in the same chart ?

Thank you in advance,
Zak
Bozhidar
Telerik team
 answered on 06 Jan 2015
2 answers
142 views
Following how most of the Telerik UI controls work how do I set the scale max value of a gauge control. I cant seem to get the syntax correct. I dont quite have a handle on how the Kendo stuff works yet and my javascript is lacking :( Using the below how do I access the scale object?


var radLinearGaugeObject = $find("ctl00_MainContent_RadPanelBar1_i0_i0_gaugeRunning");            
var gaugeRunning = radLinearGaugeObject.get_kendoWidget();
?

Thanks for the help,
Brian
Brian
Top achievements
Rank 1
 answered on 05 Jan 2015
1 answer
58 views
Is it possible to use the image editor and the file explorer together.

I want to be able to click an image in the file explorer and then edit the selected image in the image editor.  I have to say I have been struggling with this concept.  If someone could share some code or guide me to where this has already been done please do.

Thank you for your time

Simon
Vessy
Telerik team
 answered on 05 Jan 2015
1 answer
46 views
Hello,

when i paste some content from word in editor html tags are replaced with br.

eg as i paste this from word:

Some Text
Some Text
Some Text

.Vishy1
·Vishy2
·Vishy3

Some Text
Some Text
Some Text


1.vishy1
2.vishy2
3.vishy3

Some Text
Some Text
Some Text

It is converted as:


Some Text
Some Text
Some Text

Vishy1 (list replaced with  br)
Vishy2
Vishy3

Some Text
Some Text
Some Text

vishy1 (list replaced with  br)
vishy2
vishy3

Some Text
Some Text
Some Text

they all are inside a p tag

I want them to split by list tags as content before lists in a paragraph tag and content after lists in a paragraph tag.

Ianko
Telerik team
 answered on 05 Jan 2015
6 answers
231 views
I am just starting with the TreeList.
I have a button column and several boundColumns.
How do I get the value of a column on button click in the same row?

thanks
Felice
Konstantin Dikov
Telerik team
 answered on 05 Jan 2015
1 answer
329 views
I have a very simple test scenario that I am trying to work out and have found a very strange behavior that is keeping it from working.

Here is my basic scenario: I want to display a modal window with a single user control in it. The user control only contains a RadGrid for editing some basic data. If I put a copy of the RadWindow code on a test host aspx page, it works just fine. If I put the *exact same code* into a new bare bones user control, and desposit that on a different test page, the RadWindow no longer displays.

Here is my RadWindow definition:

<telerik:RadWindow ID="modalPopup" runat="server" Modal="true" OffsetElementID="main" OpenerElementID="btnShowWindow" Height="525px" Width="525px" InitialBehaviors="Resize">
    <ContentTemplate>
        <uc3:MissingLocationPremiumEditor ID="ctlMissingLocationPremiumEditor" runat="server" />
    </ContentTemplate>
</telerik:RadWindow>
<asp:Button ID="btnShowWindow" runat="server" Text="Show Window" />

If I put this on my test page, it works fine. If I put it into this user control (with no code behind), it no longer displays. When I click the button the screen flickers and nothing shows.

<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="windowdummy.ascx.vb" Inherits="McRating.windowdummy" %>
<%@ Register Src="../controls/ClientPicker.ascx" TagName="ClientPicker" TagPrefix="uc2" %>
<%@ Register Src="../protected/controls/ClientDetail.ascx" TagName="ClientDetail" TagPrefix="uc1" %>
<%@ Register Src="../protected/controls/MissingLocationPremiumEditor.ascx" TagName="MissingLocationPremiumEditor" TagPrefix="uc3" %>
<telerik:RadWindow ID="modalPopup" runat="server" Modal="true" OffsetElementID="main" OpenerElementID="btnShowWindow" Height="525px" Width="525px" InitialBehaviors="Resize">
    <ContentTemplate>
        <uc3:MissingLocationPremiumEditor ID="ctlMissingLocationPremiumEditor" runat="server" />
    </ContentTemplate>
</telerik:RadWindow>
<asp:Button ID="btnShowWindow" runat="server" Text="Show Window" />

Why would I get different behaviors?? My test pages have nothing more than a RadScriptManager on them because I was trying to strip this all done to the absolute bare minimum to get it working.

That is the basic issue, but I did a little more extensive troubleshooting. I created a test page that had the basic RadWindow code input right on it, and right below it, a reference to the user control - effectively giving me both ways of doing it on the same page. 

Here is where things got interesting. If I clicked the user control embedded version, the screen flashed and nothing else happened. It doesn't matter if I click that button first or not. Once I click the local page version of the RadWindow then I see the modal dialog as I should. HOWEVER, I accidentally noticed that in fact the user control embedded version is actually right underneath the one I see. If I move the local embedded RadWindow out of the way, I can see the window created by the user control, as shown in the attached image.

So, what is going on here anyway, and how can I fix it?
Marin Bratanov
Telerik team
 answered on 05 Jan 2015
8 answers
141 views
Hi Team,

I have problems to fire templatesID added as markups at runtime using demo samples. The TemplateID MondayTemplate are not fired but the item is marked as Special days in render. TemplateId are only working if specialDays are added as markup in the initial page like DateTemplate. Special days(as markup or runtime) are lost after paging need some event to reload?. Could you reproduce and help us? Regards

 <telerik:RadCalendar  ID="RadCalendar1" runat="server" Skin="Special" EnableMultiSelect="true" FirstDayOfWeek="Monday" UseRowHeadersAsSelectors ="true" 
            EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false" EnableMonthYearFastNavigation="false" DayNameFormat="Short" 
            ShowRowHeaders="true" ShowOtherMonthsDays="false" OnDefaultViewChanged="RadCalendar1_DefaultViewChanged"
            <ClientEvents OnDateSelecting="DateSelected" /> 
            <HeaderTemplate> 
                <asp:Image ID="HeaderImage" runat="server" Width="757" Height="94" Style="display: block" /> 
            </HeaderTemplate> 
            <FooterTemplate> 
                <asp:Image ID="FooterImage" runat="server" Width="757" Height="70" Style="display: block" /> 
            </FooterTemplate> 
            <SpecialDays> 
            <telerik:RadCalendarDay Date="2010/06/16" Repeatable="DayInMonth" TemplateID="DateTemplate" /> 
            </SpecialDays> 
            <CalendarDayTemplates> 
                <telerik:DayTemplate  ID="DateTemplate" runat="server"
                    <Content> 
                        <div class="rcTemplate rcDayDate"
                            date 
                        </div> 
                    </Content> 
                </telerik:DayTemplate> 
                <telerik:DayTemplate ID="MondayTemplate" runat="server" > 
                    <Content> 
                        <div class="rcTemplate rcMondayDate"
                            date 
                        </div> 
                    </Content> 
                </telerik:DayTemplate> 


 protected  void Page_Load(object  sender, EventArgs e) 
 if (!IsPostBack) 
 { 
    RadCalendarDay NewDay = new RadCalendarDay(RadCalendar1); 
    NewDay.Date = new DateTime(2010, 6, 20); <--Fire
    NewDay.Repeatable = RecurringEvents.DayAndMonth;<--Fire
    NewDay.TemplateID = "MondayTemplate"; <---------------NOT FIRED
    NewDay.ToolTip = "Tip";    <---Fire or ItemStyle.CssClass = "MyClass"; is ok.
    RadCalendar1.SpecialDays.Add(NewDay); 
 } 
}  

The Result is like no template added
<td title="Tip">
<div class="radTemplateDay_Special">18</div>
</td>

SpecialDays are lost after paging to next or prev month if added or not as markup.
Maria Ilieva
Telerik team
 answered on 05 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?