Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
128 views

I've read a number of articles about this and thought I took the necessary steps to correct it, but it still isn't working.

I've got a RadWindow with a number of controls defined on it that are all in the same ValidationGroup. On the button to save the stuff I've specified:

ValidationGroup="attachmentValidations"

When I do this my data is saved, but the RadWindow will not close.

If I remove the above and add:

CausesValidation="true"

It will close the window, but doesn't appear to do any validation.

I've added the following lines per your help article:

<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />

Still no luck. Any help would be appreciated.

 

Rodney

 

 

 

 

Marin Bratanov
Telerik team
 answered on 27 May 2016
3 answers
538 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
72 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
276 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
157 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
152 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
79 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
45 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
58 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
273 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
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?