Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
124 views
I have radlistbox in pop-up which is causing a run-time Error "System.FormatException: Input string was not in a correct format error is thrown." .when the same pop-up is been opened in IE or FireFox it works properly without any error or interruptions.Please Provide solution to this problem.
Plamen
Telerik team
 answered on 12 Mar 2015
1 answer
145 views
I have a RAD grid with around 100 rows and need to submit each of the rows to database. As of performance constraints, we planned to do the submission through client side using JQuery. What's the best way to collect each RAD grid row data from client side and push it to server? 
Viktor Tachev
Telerik team
 answered on 12 Mar 2015
10 answers
261 views
Hi there,

I have got a scheduler and a grid on the page and I basically drag an item from the grid and drop onto the scheduler.
The controls are working on the server-side. 

The scheduler involves the assigned appointments and the grid involves the unassigned appointments. The scheduler is also grouped by the staff list which ultimately shows that staff list and the staff's appointment based on the date.

So, the problem occurs once I drag and drop onto the scheduler control. The scheduler and the grid are refreshing (the loading circle comes up) however, the data are on the same spot at the end. I have to refresh the page to see the right result which the data has moved from the grid to the scheduler.

Here is my server side code which does the last thing in order to refresh the controls, however, that doesn't work.
Appreciate your help and time.

1.private void BindData()
2.        {
3.            RadScheduler2.DataSource = Appointments;
4. 
5.            RadGrid1.DataSource = UnassignedAppointments;
6.            RadGrid1.DataBind();
7.        }

Mehmet
Top achievements
Rank 1
 answered on 12 Mar 2015
1 answer
83 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
66 views
All other ParentNodes are firing OnNodeClick event
Dave
Top achievements
Rank 1
 answered on 11 Mar 2015
3 answers
1.5K+ 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
112 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
316 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?