All my telerik controls are not working when deploy to server.
the screenshot 1.jpg shows the telerik control that I deploy on Live, the screenshot 2.jpg shows the telerik control that is my development laptop and it working perfectly.
Question
Kindly help me if I need to register the dll link in the server?
Thanks in advance
Telerik Team,
We are using ASP.NET Telerik RadTextBox controls in our application. Lets say I entered some text of 10 characters long and click on search button.
After the page postbacks(ajax postabck) we are seeing the search text entered in the textbox getting trimmed off from the right side.
This is only happening in if I enable Enterprise Mode internet explorer Version 11. By going into Tools > Enterprise Mode
Any help would be really appreciated.
Thanks,
Nishith Ghoshal
Hi,
I don't have really problem, my code work fine but I have got some questions about SaveImageOnServer of RadImageEditor.
First question:
What is the protocol used to save the picture on the server used by SaveImageOnServer ?
Second question:
What about the transferring security? I must do something to secure transfert or telerik takes charge of the security?
Thanks to spend time for me :)
Hi Folks,
I having an issue when i set some rows ClientSelectColumn checkboxes to checked server side, but when i access them client side in the RowCreated event I get the wrong answer.
function
RowCreated(sender, args) {
var
ID = args.getDataKeyValue(
"InstrumentID"
);
if
(selected[ID]) {
args.get_gridDataItem().set_selected(
true
);
ExpandGroups(args);
}
if
(args.get_gridDataItem().get_selected()) { //Always False!
RowSelected(sender, args);
}
else
RowDeselected(sender, args);
}
The Server side is setting the checkbox like:
//load the Grid
foreach (GridDataItem gdi in _GrdFunds.MasterTableView.Items)
{
if (gdi["selectColumn"] != null)
{
CheckBox gdiCheckbox = (CheckBox)gdi["selectColumn"].Controls[0];
if (isInstrumentSaved(gdi["InstrumentId"].Text, report))
{
gdiCheckbox.Checked = true;
gdi.Selected = true;
}
else
{
gdiCheckbox.Checked = false;
gdi.Selected = false;
}
}
}
And Grid is defined as:
<telerik:RadGrid ID="_GrdFunds"
runat="server"
AllowMultiRowSelection="True"
AllowFilteringByColumn="True"
CellSpacing="0"
GridLines="None"
ShowGroupPanel="True"
Skin="Metro"
DataSourceID="FundsList"
Style="margin-top: 5px;"
OnColumnCreated="_GrdFunds_ColumnCreated"
OnItemCreated="_GrdFunds_ItemCreated"
OnItemDataBound="_GrdFunds_ItemDataBound"
OnGroupsChanging="_GrdFunds_GroupsChanging" AllowSorting="True" Font-Size="X-Small" Height="100%">
<GroupingSettings CaseSensitive="False" ShowUnGroupButton="True" />
<ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True">
<Scrolling AllowScroll="true" UseStaticHeaders="true" />
<Selecting AllowRowSelect="True"></Selecting>
<Resizing AllowColumnResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" AllowResizeToFit="True" ShowRowIndicatorColumn="True"></Resizing>
<ClientEvents OnRowCreated="RowCreated" OnRowDeselected="RowDeselected" OnRowSelected="RowSelected" OnGridCreated="GridCreated"
OnColumnCreated="_GrdFunds_OnColumnCreated" OnMasterTableViewCreated="_GrdFunds_OnMasterTableViewCreated" />
<Animation AllowColumnReorderAnimation="True" />
</ClientSettings>
<MasterTableView AutoGenerateColumns="True" ClientDataKeyNames="InstrumentID" DataKeyNames="InstrumentID" DataSourceID="FundsList" GroupLoadMode="Client" GroupsDefaultExpanded="False" TableLayout="Fixed">
<CommandItemSettings ExportToPdfText="Export to PDF" />
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="False">
</RowIndicatorColumn>
<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
</ExpandCollapseColumn>
<Columns>
<telerik:GridClientSelectColumn DataType="System.Boolean" Reorderable="False" Resizable="False" UniqueName="selectColumn">
<HeaderStyle Width="36px" />
<ItemStyle Width="36px" />
</telerik:GridClientSelectColumn>
</Columns>
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column">
</EditColumn>
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableImageSprites="False"></FilterMenu>
</telerik:RadGrid>
Recently I ran into a strange issue where my usercontrols, when there are two or more of them managed by ajaxToolkit:ModalPopupExtender nested in another usercontrol, in RadAjaxPanel would lose input values between postbacks. There is no such issue with any other controls outside or the usercontrol parenting the problematic usercontrols.
As a revelation of my debugging attempts setting one of the problematic controls to visible false (and set it back to visible when they are supposed to appear in the modal popup) would solve this issue.
Here is my code:
Problematic controls:
01.
<asp:Panel ID=
"FileDefinitionEdit"
CssClass=
"sbpopup"
style=
"display:none"
runat=
"server"
>
02.
03.
04.
<div
class
=
"popupholder"
style=
"width:1000px"
>
05.
<uc3:FileDefinitionEdit ID=
"FileDefinitionEditAscx"
runat=
"server"
visible=
"false"
/>
06.
<div
class
=
"popbuttonarea"
> <asp:Button ID=
"Button5"
OnClick=
"Button5_Click"
CssClass=
"btn btn-primary btn-sm"
runat=
"server"
Text=
"Insert"
/>
07.
<asp:Button ID=
"Button6"
CssClass=
"btn btn-primary btn-sm"
OnClick=
"Button6_Click"
runat=
"server"
Text=
"Cancel"
/></div>
08.
</div>
09.
10.
11.
</asp:Panel>
12.
13.
<asp:Panel ID=
"ConnectionStringEdit"
CssClass=
"sbpopup"
style=
"display:none"
runat=
"server"
>
14.
15.
16.
<div
class
=
"popupholder"
style=
"width:1000px"
>
17.
<uc2:ConnectionStringEdit ID=
"ConnectionStringEditAscx"
runat=
"server"
Visible=
"false"
/>
18.
<div
class
=
"popbuttonarea"
> <asp:Button ID=
"Button4"
OnClick=
"Button4_Click"
CssClass=
"btn btn-primary btn-sm"
runat=
"server"
Text=
"Insert"
/>
19.
<asp:Button ID=
"Button3"
CssClass=
"btn btn-primary btn-sm"
OnClick=
"Button6_Click"
runat=
"server"
Text=
"Cancel"
/></div>
20.
</div>
21.
22.
23.
24.
</asp:Panel>
25.
26.
27.
28.
<asp:Button ID=
"MPECTRL_Button"
CssClass=
"hiddenControl"
runat=
"server"
Text=
"Button"
/>
29.
30.
<ajaxToolkit:ModalPopupExtender ID=
"PopupInsert_ModalPopupExtender"
runat=
"server"
TargetControlID=
"MPECTRL_Button"
PopupControlID=
"ConnectionStringEdit"
/>
31.
Parent control of the problematic controls:
1.
<%@ Control Language=
"C#"
AutoEventWireup=
"true"
CodeBehind=
"ProcessesControl.ascx.cs"
Inherits=
"BizData.Perspective.DataGovernor.Controls.ProcessesControl"
%>
2.
<%@ Register Src=
"ParametersControl.ascx"
TagName=
"ParametersControl"
TagPrefix=
"uc1"
%>
3.
<%@ Register Src=
"ConnectionStringEdit.ascx"
TagName=
"ConnectionStringEdit"
TagPrefix=
"uc2"
%>
4.
<%@ Register Src=
"FileDefinitionEdit.ascx"
TagName=
"FileDefinitionEdit"
TagPrefix=
"uc3"
%>
5.
6.
<%@ Register Assembly=
"AjaxControlToolkit"
Namespace=
"AjaxControlToolkit"
TagPrefix=
"ajaxToolkit"
%>
7.
8.
...
Master Page:
01.
//Header
02.
...
03.
<body style=
"margin: 0px; height: 100%; overflow: hidden;"
>
04.
<form id=
"Form1"
runat=
"server"
>
05.
<telerik:RadScriptManager ID=
"RadScriptManager1"
runat=
"server"
>
06.
</telerik:RadScriptManager>
07.
<telerik:RadStyleSheetManager ID=
"RadStyleSheetManager1"
runat=
"server"
/>
08.
<telerik:RadAjaxManager ID=
"RadAjaxManager1"
runat=
"server"
DefaultLoadingPanelID=
"RadAjaxLoadingPanel2"
>
09.
<AjaxSettings>
10.
<telerik:AjaxSetting AjaxControlID=
"RadAjaxPanel1"
>
11.
<UpdatedControls>
12.
<telerik:AjaxUpdatedControl ControlID=
"RadAjaxPanel1"
LoadingPanelID=
"RadAjaxLoadingPanel2"
/>
13.
</UpdatedControls>
14.
</telerik:AjaxSetting>
15.
</AjaxSettings>
16.
</telerik:RadAjaxManager>
17.
//Where all contents and controls reside:
18.
<telerik:RadAjaxPanel ID=
"RadAjaxPanel1"
runat=
"server"
Width=
"100%"
Height=
"100%"
>
19.
<telerik:RadSplitter ID=
"RadSplitter1"
runat=
"server"
Orientation=
"Horizontal"
BorderStyle=
"None"
20.
BorderSize=
"0"
LiveResize=
"true"
Width=
"100%"
Height=
"100%"
RegisterWithScriptManager=
"true"
21.
RenderMode=
"Lightweight"
>
22.
<telerik:RadPane ID=
"rpHeader"
runat=
"server"
BorderStyle=
"None"
BorderWidth=
"0"
23.
Height=
"45px"
CssClass=
"visibleOverflow"
>
24.
...
25.
</telerik:RadPane>
26.
</telerik:RadSplitter>
27.
28.
</telerik:RadAjaxPanel>
29.
30.
<telerik:RadAjaxLoadingPanel ID=
"RadAjaxLoadingPanel2"
runat=
"server"
Transparency=
"10"
>
31.
<div
class
=
"loading"
style=
"text-align: left; padding-top: 45px; padding-left: 98%"
>
32.
<asp:Image ID=
"Image2"
runat=
"server"
ImageUrl=
"images/loading1.gif"
AlternateText=
"loading.."
33.
Width=
"16px"
Height=
"16px"
/>
34.
</div>
35.
</telerik:RadAjaxLoadingPanel>
36.
...
37.
//Datasources and footer
Any ideas?
I have a radgrid, whose data i am exporting to excel (xls) format using radGrid.MasterTableView.ExportToExcel(), export is working as expected, but when I open the exported xls file and click "Save as", the "Save as type:" is set to "Web Page(.htm.html)", it is expected to be "Excel Workbook(*.xlsx)". The export code is as below,
radGrid.ExportSettings.FileName = "Export";
radGrid.ExportSettings.HideStructureColumns = true;
radGrid.ExportSettings.OpenInNewWindow = true;
radGrid.ExportSettings.ExportOnlyData = true;
radGrid.MasterTableView.GroupsDefaultExpanded = true;
radGrid.MasterTableView.Caption = string.Empty;
radGrid.MasterTableView.ExportToExcel();
Hi,
I'm create diagram with custom shapes from type image.
I have one large custom image shape that look like background image and few small image shapes.
I need to allow click on diagram and drag all my custom shapes together.
I use selectAll() method on document.onmousedown.
The bug: Sometimes when I zoom out and drag right rapidly its dragging only one large custom image shape.
How to solve it?
Or. Can I combine all custom shapes into one group or container to allow to grad them together?
2. when I use selectAll() method it also allow to resize my shapes.
How to cancel resize and allow drag?
Thanks!!
Tanya.
Hi Guys
I am planning to start a new web design project in July and take the opportunity to upgrade from Q2 2013 asp.net ajax toolset to Q2 2016 and move from VS 2012 to VS 2015 community edition at the same time. Production website will be running on iis 7.5. I assume this will be fine...?
However, if I have to use this development setup to maintain or extend an existing website with 2013 controls, what problems might I expect, and how should I avoid them!
Thanks for any insights on avoiding action that you can give me before I hit a pothole
Clive
I'm currently running ASP.Net AJAX RadHtmlChart control v2014.3.1209.45. There is no setting to change the Legend orientation from horizontal to vertical. The newer version of this control does have a means to set the orientation to either horizontal or vertical, but I am unable to upgrade the Telerik.Web.UI controls at this time.
Is there any way that I can configure the legend so that they appear vertically? Any way with some custom css or js?
Thanks,
Scott