Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
173 views

I have the below markup, and in IE11, I get a horizontal scroll, which is equivalent to the width of my MasterTableView Border if the Grid is in a Tooltip.  This does not happen in Chrome.

Version: 2014.3.1024.40

The only way I can get rid of the Horizontal scroll, is to specifically set the width of the MasterTableView to be the width of
my grid minus my border width times 2 , then the width is correct and I get NO scroll.  

The rendered html shows 100% if I omit the width on the MasterTableView, but yet I get a border if the grid's in a Tooltip and I don't specify the width as defined above.


 
<telerik:RadToolTip ID="rttPerformanceData" runat="server" HideEvent="ManualClose"
       Modal="False" Title="Select To View Performance Data Being Returned" Position="BottomCenter"
       RelativeTo="BrowserWindow" ShowEvent="FromCode" EnableViewState="True" ShowCallout="false"
       ShowDelay="0" AutoCloseDelay="0" Visible="false">
       <telerik:RadGrid ID="rgAirSoundModels" runat="server" AutoGenerateColumns="False"
           BorderWidth="0" GridLines="Both" Visible="true" AllowSorting="true" Width="500px"
           CommandItemStyle-HorizontalAlign="Right" EnableLinqExpressions="false" MasterTableView-TableLayout="Fixed">
           <MasterTableView DataKeyNames="pm_ProductModelID" TableLayout="Fixed" BorderWidth="1" BorderStyle="Solid" BorderColor="Gray">
Galin
Telerik team
 answered on 16 Jan 2015
7 answers
183 views
Is there a way or method for displaying the error message/warning for RadDateInput1 from a Javascript function?  For example, the user does not enter a value in RadDateInput1, and my Javascript function returns dateInput.get_SelectedDate = null; return false;  - so it doesn't postback to the server.  But I would like my RadDateInput1 to show the user that they need to add/change a value by displaying the error you would normally get if you entered a value that was not a date.
Vasil
Telerik team
 answered on 16 Jan 2015
1 answer
85 views
Hello,

I am using Radscheduler with telerik version 2014.3.1209.40. I have inline template with one textbox and two combobox. What I want to do is when the user click enter after fill in details, I want to save the appointment. Currently, when we click enter, the page redirected to Home page. Is there any possible ways to save when user click enter? My requirement is not to have save button inside template. 

There is another problem also. I don't allow user to drag and drop to another timeslot. But it can still see something like " || " on both side of timeslot. We will have cancel button on right side of timeslot. The problem is when we click between cancel button and this " || " marking, timing becomes 00:00. And sometimes the timeslot shift to another employee's slot. How can I prevent it? 

Thanks in advance.

Best regards,
Ei Wai
Boyan Dimitrov
Telerik team
 answered on 16 Jan 2015
5 answers
861 views
Hi all,

I need, if possibile, an example of how to add an "OK" button inside a notification to close it (instead of using the X on the top right corner).

I'm playing around with it, but it doesn't work.

Thank you.
Marin Bratanov
Telerik team
 answered on 16 Jan 2015
1 answer
81 views
I used this code to add a 2nd y axis
Dim axis As Telerik.Web.UI.AxisY = New Telerik.Web.UI.AxisY
axis.Name = "AdditionalAxis"
Rad1.PlotArea.AdditionalYAxes.Add(axis)

and when creating series I can tell a series to bond to the 2nd additional axis with
oSeries.AxisName = "AdditionalAxis"

but my 2nd axis is on the left side - how do I tell it (with API) to dock to the right side of the chart?
I see it in the example here but don't see how it is done.
http://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/multipleyaxes/defaultvb.aspx?show-source=true
​
Danail Vasilev
Telerik team
 answered on 16 Jan 2015
1 answer
136 views
Hi

We are having lots of trouble with trying to set labels for a stacked bar chart.
Here is the C# code to generate the chart.

foreach (var jItem in jobsViewModels)
{
RadHtmlChartJobsProgress.Visible = true;
for (var i = 0; i < jItem.JobStepsBreakdownList.Count; i++)
{
var newSeries1 = new BarSeries();
newSeries1.GroupName = jItem.JobName;
foreach (var jItem in jobsViewModels)
{
RadHtmlChartJobsProgress.Visible = true;
for (var i = 0; i < jItem.JobStepsBreakdownList.Count; i++)
{
var newSeries1 = new BarSeries();
newSeries1.GroupName = jItem.JobName;
newSeries1.DataFieldX = newSeries1.GroupName;
if (i == 0)
{
newSeries1.Stacked = true;
// var newAxis = new AxisItem();
// newAxis.LabelText = jItem.JobName;
// RadHtmlChartJobsProgress.PlotArea.XAxis.Items.Add(newAxis);
                        
                    }
// newSeries1.Name = jItem.JobName;
RadHtmlChartJobsProgress.PlotArea.Series.Add(newSeries1);
var item = new CategorySeriesItem();
item.BackgroundColor = Color.Green;
item.Y = 1;
if (jItem.JobStepsBreakdownList[i].RagStatusName == "Red")
{
item.BackgroundColor = Color.Red;
}
else if (jItem.JobStepsBreakdownList[i].RagStatusName == "Amber")
{
item.BackgroundColor = Color.Orange;
}
else if (jItem.JobStepsBreakdownList[i].RagStatusName == "Complete")
{
item.BackgroundColor = Color.LightBlue;
}
else
{
item.BackgroundColor = Color.Green;
}
newSeries1.TooltipsAppearance.ClientTemplate = "Milestone: " +
jItem.JobStepsBreakdownList[i].WorkflowStepName;
newSeries1.SeriesItems.Add(item);
newSeries1.LabelsAppearance.Visible = false;
// RadHtmlChartJobsProgress.PlotArea.Series[i].Items.Add(item);
}
RadHtmlChartJobsProgress.PlotArea.XAxis.LabelsAppearance.Visible = true;
RadHtmlChartJobsProgress.DataBind();
}
if (i == 0)
{
newSeries1.Stacked = true;
// var newAxis = new AxisItem();
// newAxis.LabelText = jItem.JobName;
// RadHtmlChartJobsProgress.PlotArea.XAxis.Items.Add(newAxis);
newSeries1.DataFieldX = newSeries1.GroupName;
}
// newSeries1.Name = jItem.JobName;
RadHtmlChartJobsProgress.PlotArea.Series.Add(newSeries1);
var item = new CategorySeriesItem();
item.BackgroundColor = Color.Green;
item.Y = 1;
if (jItem.JobStepsBreakdownList[i].RagStatusName == "Red")
{
item.BackgroundColor = Color.Red;
}
else if (jItem.JobStepsBreakdownList[i].RagStatusName == "Amber")
{
item.BackgroundColor = Color.Orange;
}
else if (jItem.JobStepsBreakdownList[i].RagStatusName == "Complete")
{
item.BackgroundColor = Color.LightBlue;
}
else
{
item.BackgroundColor = Color.Green;
}
newSeries1.TooltipsAppearance.ClientTemplate = "Milestone: " +
jItem.JobStepsBreakdownList[i].WorkflowStepName;
newSeries1.SeriesItems.Add(item);
newSeries1.LabelsAppearance.Visible = false;
// RadHtmlChartJobsProgress.PlotArea.Series[i].Items.Add(item);
}
RadHtmlChartJobsProgress.PlotArea.XAxis.LabelsAppearance.Visible = true;
RadHtmlChartJobsProgress.DataBind();
}


If we enable the Add Axis code, we get all of the series items stuffed into 1 axis item. If we do not we cannot get a stacked series to have an X-Axis name but the series do display correctly.
How can we can do this? Help please!
Danail Vasilev
Telerik team
 answered on 16 Jan 2015
1 answer
38 views
Hi,

Can someone please explain how can I create Line Chart that will contain multiple series, BUT with customized ClientTemplate.
I've read that customization of ClientTemplate is possible if HtmlChart is bind to datasource, but if I bind it, the result is ONE single line, not multiple sets...

Thanx in advance,
Stefan
Danail Vasilev
Telerik team
 answered on 16 Jan 2015
3 answers
181 views
Hi,
     I would like to change the rad editor typing format as per Language  selection change or a Globalization concept.

For Example:-

If I select  English Language then editor support English format to type
else i select Arabic Language then editor Support Arabic format to type

so how can implement it.

Please provide Demo Source code.
Ianko
Telerik team
 answered on 16 Jan 2015
3 answers
170 views
Hi,

Is it possible to fire the "init insert" command when there are no rows in the coupled datasource of the dataform object?

For now I created a button and in it's click event I put the following code:

Radform1.Items(0).FireCommandEvent("InitInsert", "")

But when the coupled datasource has no rows, it fails (because of the empty itemscollection).

Is there a workaround for inserting the "first row"?

Regards
Lennart Burkels
Top achievements
Rank 1
 answered on 16 Jan 2015
0 answers
153 views
Hello,

I am trying to develop a chat room on our website. When I was searching, I found this article. I download the project and tried to run it on my local pc. It is working fine until Register When I login, it goes to Chat page,page load event,then it showed 500 error. Does anyone tried to run that project and face the same issues? Can anybody help me?

Thanks in advance.

Best regards,
Ei Wai
Ei Wai
Top achievements
Rank 1
 asked on 16 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?