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

 When I click on a column of a radgrid, grid.SortExpressions.GetSortString()  returns NULL on first click. On second click it returns clicked column name ASC on thrid click it returns clicked column DESC and on next click it returns NULLagain.

 Can you please advise me what is wrong here. Need to correct it ASAP.

My Code look like this:


<telerik:RadGrid ID="HmsCasesGridView" runat="server" AutoGenerateColumns="false" AllowSorting="true" Skin="Default" AllowPaging="true" AllowCustomPaging="true" PageSize="20">
<MasterTableView>
<Columns>
<telerik:GridHyperLinkColumn DataTextField="OpenActionTitle" DataNavigateUrlFields="EmployeeID,CaseID" DataNavigateUrlFormatString="../Forms/Case.aspx?EmployeeID={0}&CaseID={1}" Display="true">
</telerik:GridHyperLinkColumn>
<telerik:GridBoundColumn DataField="CaseID" />
<telerik:GridBoundColumn DataField="EmployeeID" />
<telerik:GridBoundColumn DataField="Name" />
<telerik:GridBoundColumn DataField="NextPlannedDate" DataFormatString="{0:dd.MM.yyyy}" />
<telerik:GridBoundColumn DataField="NextActivityName" />                
</Columns>
</MasterTableView>
</telerik:RadGrid>

Thank you,
Tabassum
Pavlina
Telerik team
 answered on 11 Mar 2015
4 answers
65 views
All other ParentNodes are firing OnNodeClick event
Dave
Top achievements
Rank 1
 answered on 11 Mar 2015
3 answers
1.4K+ views
I have multiple RadComboBox controls on a page with an empty message. They work great until a user accidentally selects an item and is unable to clear the item so that it shows the empty message again.  As soon as the user leaves the control, it shows the last selection they had.  I would prefer that a user could press the delete or backspace button and have the selection show the empty message as if they had not made a selection.  How do I go about doing that?
Nencho
Telerik team
 answered on 11 Mar 2015
1 answer
110 views
Hi,

I have a RadGrid with 100 rows and a pop-up edit form. When the user scrolls to let's say row# 80 and clicks the edit button, the pop-up edit form shows up at the top of the grid. This is not a behaviour I need. I need the pop-up to show up just above the 80th row.

How to accomplish that?

Thanks,
Leszek

Pavlina
Telerik team
 answered on 11 Mar 2015
3 answers
80 views
Hi there,

I'm basically creating a RadFilter in code behind but when trying to link the RadFilter to a RadGrid also created in code behind, there seems that RadFilter's FilterContainerId is not accessible, only when it's created on aspx page. I tried this:

var rf = new RadFilter();

and then tried to set property like this

rf.FilterContainerId

but it says "cannot resolve symbol FilterContainerId"

How do I perform this?

Thanks.
Maria Ilieva
Telerik team
 answered on 11 Mar 2015
6 answers
312 views
Good afternoon,

Could somebody give me an advice, how can I make sticky footer in my master page, created from Telerik Responsive Web Site template ?

First I will try to describe the steps I've done, yet.

1. Through VS2010 Telerik menu, UI for ASP.NET AJAX - Create New Telerik Project
2. Choosed Telerik C# Web Forms Site for .NET Framework 4.0
3. Choosed project type - Responsive Web SiteAfter whole project has been created.

I put this into  <%--Footer--%> section in MasterPage.master file:
<telerik:LayoutRow>
                    <Columns>
                        <telerik:LayoutColumn CssClass="footer">
                            <hr />
                            Footer: © 2002-2015 Company Inc, 201 Jones Rd, Waltham, MA 03451
                        </telerik:LayoutColumn>
                    </Columns>
                </telerik:LayoutRow>

Then I set in default.css this:
#wrapper .footer
{
    background-color: orange;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 100px;
    width: 100%;
}

And in base.css I set this:
html {
    position: relative;
    min-height: 100%;
}
 
body {
    font: normal 16px "Segoe UI", Arial, sans-serif;
    color: #555555;
    margin: 0 0 125px;
    padding: 25px;
}
 
form {
    height: 100%;
    margin: 0;
    padding: 0;
}

The result is on this link: http://www.screencast.com/t/8KDAHJQTa

Question is, how could I achieve something like this ? http://mystrd.at/data/sticky_footer.html

Thank you for your advice and help.

Best regards

Vasssek
Vasssek
Top achievements
Rank 1
 answered on 11 Mar 2015
2 answers
163 views
While loading the boxplot chart I'm getting above error. I will appreciate if you can help me figure out, why.

I have spent a lot of time on this with no luck.

Thanks.
Gauri

Here is the chart design 
<telerikUI:RadHtmlChart runat="server" ID="chartDrilldownPLOS" Width="770" Height="230">
                    <Appearance>
                        <FillStyle BackgroundColor="White"></FillStyle>
                    </Appearance>
                    <ChartTitle>
                        <Appearance Visible="false"></Appearance>
                    </ChartTitle>
                    <PlotArea>
                        <Series>
                            <telerikUI:BoxPlotSeries
                                DataLowerField="Q1Min"
                                DataQ1Field="Q2Min"
                                DataMedianField="GroupMean"
                                DataQ3Field="Q3Max"
                                DataUpperField="Q4Max">
                                
                                <Appearance FillStyle-BackgroundColor="#165b8c"></Appearance>

                                <TooltipsAppearance Color="#165b8c" BackgroundColor="#67adda">
                                    <ClientTemplate>
                                        Minumum: #=dataItem.Q1Min# <br />
                                        25th Percentile: #=dataItem.Q2Min# <br />
                                        Median: #=dataItem.GroupMean# <br />
                                        75th Percentile: #=dataItem.Q3Max# <br />
                                        Maximum: #=dataItem.Q4Max# <br />
                                    </ClientTemplate>
                                </TooltipsAppearance>
                            </telerikUI:BoxPlotSeries>
                        </Series>
                        <XAxis>
                            <MinorGridLines Visible="false" />
                            <MajorGridLines Visible="false" />
                            <Items></Items>
                        </XAxis>
                        <YAxis>
                            <MinorGridLines Visible="false" />
                        </YAxis>
                        
                    </PlotArea>
                </telerikUI:RadHtmlChart>


Here is the code to load it

        private void LoadChartDrilldownPLOS(int drilldownLevel, string hospitals, string surgeons)
        {
            using (var chartingctx = new ChartingDataContext())
            {
                var resultFromDb = chartingctx.getPLOSDrillDown(sourceType, riskCategory, riskLevel,
                    cbbDateType.SelectedValue == "1" ? true : false, dtpStartDate.SelectedDate, dtpEndDate.SelectedDate,
                    hospitals, surgeons, chkIndexOperation.Checked, drilldownLevel);

                chartDrilldownPLOS.PlotArea.XAxis.Items.Clear();
                DataTable datatable = new DataTable();
                datatable.Columns.Add("Q1Min");
                datatable.Columns.Add("Q2Min");
                datatable.Columns.Add("Q3Max");
                datatable.Columns.Add("Q4Max");
                datatable.Columns.Add("GroupMean");
                foreach (var result in resultFromDb)
                {
                    chartDrilldownPLOS.PlotArea.XAxis.Items.Add(new AxisItem(result.DateGroup));
                    datatable.Rows.Add(new object[] { result.Q1Min ?? 0, result.Q2Min ?? 0, result.Q3Max ?? 0, result.Q4Max ?? 0, 
                        result.GroupMean ?? 0 });
                }
                                
                chartDrilldownPLOS.DataSource = datatable;
                chartDrilldownPLOS.DataBind();
            }
            drilldownTypePLOS = drilldownLevel;
        }









































Gauri
Top achievements
Rank 1
 answered on 11 Mar 2015
1 answer
128 views
Hello ,
In my whole application, I have used custom scroll bar.
In Rad list box, I am not able to change scroll bar design. Is there any way to change style of scroll bar in rad list box ?
Magdalena
Telerik team
 answered on 11 Mar 2015
1 answer
191 views
Hello ,
In my whole application, I have used custom scroll bar like this :
http://noraesae.github.io/perfect-scrollbar/

In Rad list box, can i apply custom scroll bar like http://noraesae.github.io/perfect-scrollbar/ ?
Magdalena
Telerik team
 answered on 11 Mar 2015
7 answers
356 views
Hi,

I don't know if this is possible or not. I have a default page, which is there was a radmenu that when I clicked It will add dynamically a dock, inside is a user control I called on the page, Inside the user control is text boxes, labels and radwindow.

Now here is a problem, I have custom command of dynamically created dock, that when I clicked on the custom command, the rad window, inside the user control which is on dynamically added dock should be display, but it doesn't work. I want to try the same thing as the
http://www.jotform.com, that when they clicked on the custom command on their dock the radwindow will open. I hope anyone could help me on this. It's bugging me for almost 1 week


Thanks

jonathan
Arshad
Top achievements
Rank 2
 answered on 11 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?