Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
559 views

 

I have a DropDownListBox with the AutoPostBack="true" on a RadWindow, it is also defined as an AsyncPostBackTrigger inside the UpdatePanel of the RadWindow.

<asp:DropDownList ID="ddlAttachDocType" runat="server" CausesValidation="false" DataTextField="LookUpTypeDescription"
    DataValueField="LookUpTypeValue" Width="300" OnSelectedIndexChanged="ddlAttachDocType_SelectedIndexChanged"
    AutoPostBack="true" />

<asp:AsyncPostBackTrigger ControlID="ddlAttachDocType" EventName="SelectedIndexChanged" />

When the SelectedIndexChange event fires my RadWindow closes.

What am I missing? I need to hide/display certain div's on the page based on the SelectedIndexChange value.

Rodney

Marin Bratanov
Telerik team
 answered on 27 May 2016
1 answer
76 views

Hi
I would like a RadNumericTextBox to extend its width to fill the Div its placed within.
This works fine when there is just a label and RadNumericTextBox. But when I place a RadDropDownList in front of the RadNumericTextBox
The Width doesn’t grow.
Please see the picture, and my markup code.
I have used many variations of css Setting the Width:100%; But try as I have, there seems something about the RadDropDownList that interferes.

Thanks for any help

Mark

 

<%--pcs_cost_per_unit--%>
                             <div class="rdfRow">
                                 <asp:Label ID="Label1" runat="server" AssociatedControlID="pcs_cost_per_unitTextBox" CssClass="rdfLabel" Text="pcs_cost_per_unit"></asp:Label>
 
                                 <telerik:RadDropDownList RenderMode="Lightweight" runat="server" ID="RadDropDownListpcs_cost_per_unit" Width="50" DataMember="pcs_cost_per_unit_currency"
                                     SelectedValue='<%# DataBinder.Eval(Container.DataItem, "pcs_cost_per_unit_currency") %>'>
                                 </telerik:RadDropDownList>
                                 <telerik:RadNumericTextBox ID="pcs_cost_per_unitTextBox" runat="server" DataType="Decimal" DbValue='<%# Bind("pcs_cost_per_unit") %>' RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" CssClass="rdfInput" />
 
                             </div>
 
 
                             <div class="rdfRow">
                                 <asp:Label ID="pcs_dutyLabel2" runat="server" AssociatedControlID="pcs_dutyTextBox" CssClass="rdfLabel" Text="pcs_duty"></asp:Label>
                                 <telerik:RadNumericTextBox ID="pcs_dutyTextBox" runat="server" DataType="Double" DbValue='<%# Bind("pcs_duty") %>' RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" WrapperCssClass="rdfInput" />
                             </div>
                             <div class="rdfRow">
                                 <asp:Label ID="pcs_contingencyLabel2" runat="server" AssociatedControlID="pcs_contingencyTextBox" CssClass="rdfLabel" Text="pcs_contingency"></asp:Label>
                                 <telerik:RadNumericTextBox ID="pcs_contingencyTextBox" runat="server" DataType="Double" DbValue='<%# Bind("pcs_contingency") %>' RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" WrapperCssClass="rdfInput" />
                             </div>
                             <div class="rdfRow">
                                 <asp:Label ID="pcs_wastageLabel2" runat="server" AssociatedControlID="pcs_wastageTextBox" CssClass="rdfLabel" Text="pcs_wastage"></asp:Label>
                                 <telerik:RadNumericTextBox ID="pcs_wastageTextBox" runat="server" DataType="Double" DbValue='<%# Bind("pcs_wastage") %>' RenderMode="Lightweight" Skin="<%#Container.OwnerDataForm.Skin %>" WrapperCssClass="rdfInput" />
                             </div>

Maria Ilieva
Telerik team
 answered on 27 May 2016
6 answers
296 views

I have a problem. I can't create a border inside cells. I think there is a bug inside style builder. On Your default example of RadEditor this doesn't work too. Help please!

 

There is a possibility to turn on a default style for cells inside a table?

Marcin
Top achievements
Rank 1
 answered on 27 May 2016
1 answer
166 views

Hi,

I received the following error , it triggered trough Telerik.Web.UI.WebResource.axd during processing submit event, so I cannot know which component causes the problem.

 

In  Telerik.Web.UI.WebResource.axd  at line 31126 

 "if(!(a.value&&a.value.replace(/ /g,""))){return true;"

it gives errors saying: 

"Unable to get property 'value' of undefined or null reference"

well the "a" is null ,  but which telerik or ui item it really refers? 

 

The Call Stack is:

Telerik.Web.UI.RadInputExtender.prototype.isEmpty [Line: 31126, Col: 1], Telerik.Web.UI.WebResource.axd

Telerik.Web.UI.RadInputExtender.prototype.get_value [Line: 31132, Col: 7], Telerik.Web.UI.WebResource.axd
Telerik.Web.UI.RadInputExtender.prototype._beforeSubmit [Line: 31248, Col: 1], Telerik.Web.UI.WebResource.axd
Telerik.Web.UI.RadInputManager.prototype._beforeSubmit [Line: 31311, Col: 6], Telerik.Web.UI.WebResource.axd
Telerik.Web.UI.RadInputManager.prototype._onSubmit [Line: 31307, Col: 58], Telerik.Web.UI.WebResource.axd
Telerik.Web.UI.RadInputManager.WebForm_OnSubmit [Line: 31322, Col: 56], Telerik.Web.UI.WebResource.axd
onsubmit [Line: 21, Col: 90], ManualInvoiceEdit2.aspx
Sys.WebForms.PageRequestManager.prototype._onFormSubmit [Line: 15, Col: 22512], Telerik.Web.UI.WebResource.axd
Sys.WebForms.PageRequestManager.prototype._doPostBack [Line: 15, Col: 15349], Telerik.Web.UI.WebResource.axd
Sys.WebForms.PageRequestManager.prototype._doPostBackWithOptions [Line: 15, Col: 16021], Telerik.Web.UI.WebResource.axd
Anonymous function [Line: 6, Col: 298], Telerik.Web.UI.WebResource.axd
Global code [Line: 1, Col: 1], script block (423)

 

I have 

Telerik.Web.UI.dll 2016.2.504.40
Telerik.Web.UI.Skins.dll 2016.2.504.40
jQuery 1.11.1

 

Any help or comment?

 

Thanks.

 

 

 

 

 

Vessy
Telerik team
 answered on 27 May 2016
1 answer
158 views

Hi,

How can I dynamically (with C# code) associate the same color to the LineSeries Name (along with the X Axis), and the actual chart line in the SeriesItems?

Marin Bratanov
Telerik team
 answered on 27 May 2016
0 answers
83 views

Hi,

I am trying to find out a way to apply CSS for a substring of characters on kendo tree view nodes

For example in the below tree view node texts, I want the substrings (100), (55), (45) in the node texts to be shown in Red color. Can you help me achieve this? Appreciate your help on this.

 

ParentNode1 (100)

   Childnode1

   Childnode2 (55)

   Childnode3 (45)

     

Chaithanya
Top achievements
Rank 1
 asked on 26 May 2016
1 answer
49 views

Hi,

 

I have coded the ASPX page for LineChart (same as in the demo code) as below. But the chart is displayed as an AreaChart, not a LineChart.

Is the any way or dynamic code that i can force the chart from Area Chart to Line Chart?

 <telerik:RadHtmlChart runat="server" ID="LineChart" Width="800" Height="500" Transitions="true" Skin="Silk"> ........

<Series><telerik:LineSeries Name="Week 1">

     <SeriesItems>

Vessy
Telerik team
 answered on 26 May 2016
3 answers
65 views

In testing, editing the image works as expected.

 

When the site is published and a user edits an image, clicks save etc, the changes to the image are not saved.

 

Everything else about the site seems fine, I could not find anywhere if certain folder need certain permissions. I believe all the correct permissions on the folder where the images are stored is correct.

Is there anything anyone could suggest I try to resolve the issue.

Vessy
Telerik team
 answered on 26 May 2016
8 answers
284 views
Hi,

I noticed, after a lot of trial and error, that using a RadFileExplorer in an ASP.NET AJAX UpdatePanel is not possible. Uploading, viewing works fine, but deleting and refreshing results in an error in Visual Studio in a script file loaded from a web resource (Telerik.Web.Resource.WebResource_2.axd), in _callWebService:function(_13,_14,_15), on line 29:

if(this._folderCache[_1e]!=null&&!_14){

This only occurs when the RadFileExplorer is inside an UpdatePanel and otherwise works just fine. Maybe this can be mentioned in the documentation.

Greetings,

Roland

Vessy
Telerik team
 answered on 26 May 2016
0 answers
82 views

Hi,

 

My stored procedure gives a list of absentees per week in a date range.  I am getting one list per each college. How can I combine multiple lists in to one Master List, and use that Master List to loop through the Lists + their elements, and Add the CategorySeriesItem and it's corresponding WeekNumber (from a date range)  in XAxis.

Please help me out in the right direction or with sample code.

Ravi
Top achievements
Rank 1
 asked on 26 May 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?