So there shouldn't be too much going on in the page I'm having the issue with.
The cause of this issue was a recent upgrade to the latest (or close to) telerik dlls. Prior to that this issue was not occurring and no code has changed other than the telerik upgrade. We are using DotNetNuke as well.
Basically, there is an asp:panel that contains a few search filters, namely an id search textbox field. When the search button is clicked, the value of the textbox is read and the panel's Visible property is set to false and another panel's visibility is set to true (to show the results). The user may click a "return" button which does another post back that sets the initial panel's visibility back to true and the results panel back to false.
After this happens the RadTextBox that contains the id search will continually postback the previous search value even though the user had entered something else. The textbox is clearly posting the correct value when inspected with chrome's debugging tools (via network request capture you can view the form data).
To verify this is specific to RadTextBox, I replaced the control with a normal asp:TextBox with no other changes and it worked properly as expected.
Can I get some guidance as to what may be going wrong here? I've done hours of debugging and trying different things and have not figured out the cause.
Hi Everyone,
I have an old application that I'm supposed to bring forward into the modern world. It was written using VS 2003 back in about 2004 and has never progressed beyond that point. It utilizes the radgrid, radinput, radpanelbar, radtabstrip, radtreeview, and radupload components from the version that telerik had way back then. I don't have the install materials or anything like that - just the DLLs in the bin folder. I'm hoping that there is a way to continue to use them in VS 2013 because otherwise I'm going to have to rewrite a lot of the application!
I've created a VS 2013 project and imported all the code - plus added the references to the RAD objects. Unfortunately when I try to compile - I get an error that the "type or namespace name 'Telerik' could not be found (are you missing a using directive or an assembly reference?)". Looking at the first page throwing the error I see that "using Telerik.WebControls" is the issue. That namespace is defined in the various rad controls that I have reference to, so I'm not sure why it isn't working. Has anyone else tried anything like this and been successful?
Thanks!
Cory Aston
<
telerik:RadDatePicker
ID
=
"rdpReceivedDt"
runat
=
"server"
OnPreRender
=
"rdpReceivedDt_PreRender"
>
</
telerik:RadDatePicker
>
A client of mine is looking for a grid that acts like excel, using the BatchEdit feature. The problem i'm running into is dynamically binding a RadComboBox based off data from within that row. i.e. Below, based off the DivisionID that is selected in the row i'm editing, i need to pull all teams that are in that division and databind the RadComboBox. any thoughts?:
<
telerik:RadGrid
ID
=
"gridData"
runat
=
"server"
Skin
=
"Telerik"
OnNeedDataSource
=
"NeedDataSource_Football"
AutoGenerateColumns
=
"false"
AllowSorting
=
"true"
AllowFilteringByColumn
=
"true"
ShowHeader
=
"true"
ShowFooter
=
"true"
Width
=
"100%"
OnFilterCheckListItemsRequested
=
"RadGrid1_FilterCheckListItemsRequested"
FilterType
=
"CheckList"
GridLines
=
"Both"
AllowPaging
=
"false"
>
<
GroupingSettings
CaseSensitive
=
"false"
/>
<
MasterTableView
DataKeyNames
=
"ID"
CommandItemDisplay
=
"Top"
EditMode
=
"Batch"
>
<
BatchEditingSettings
EditType
=
"Row"
/>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"FullName"
SortExpression
=
"FullName"
HeaderText
=
"Name"
FilterCheckListEnableLoadOnDemand
=
"true"
AutoPostBackOnFilter
=
"true"
CurrentFilterFunction
=
"Contains"
ShowFilterIcon
=
"false"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"DivisionID"
HeaderText
=
"Division"
FilterCheckListEnableLoadOnDemand
=
"true"
></
telerik:GridBoundColumn
>
<
telerik:GridTemplateColumn
DataField
=
"TeamID"
HeaderText
=
"Team"
FilterCheckListEnableLoadOnDemand
=
"true"
AllowFiltering
=
"true"
SortExpression
=
"TeamID"
AutoPostBackOnFilter
=
"true"
UniqueName
=
"TeamID"
>
<
ItemTemplate
>
<%# DataBinder.Eval(Container.DataItem, "TeamName") %>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadComboBox
ID
=
"ddlTeams"
runat
=
"server"
DataValueField
=
"TeamID"
DataTextField
=
"TeamName"
></
telerik:RadComboBox
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
Hello,
is it possible to have a RadTileList with input controls (see sample below) and open the browsers' standard context menu on right click? We cannot figure out how to make it work.
<telerik:RadTileList runat="server" ID="RadTileList1" TileRows="4" CssClass="myTileList" SelectionMode="None" EnableDragAndDrop="True" Width="100%">
<Groups>
<telerik:TileGroup>
<telerik:RadContentTemplateTile ID="RadContentTemplateTile1" runat="server" Shape="Wide" Width="250px" Name="RadContentTemplateTile1">
<ContentTemplate>
<div>
<table style="width:100%;">
<tr>
<td>
<asp:Label ID="lblExample" Text="Example" runat="server"></asp:Label>
</td>
<td style="text-align: right;">
<telerik:RadTextBox ID="txtExample" runat="server" Width="470px" Resize="None"></telerik:RadTextBox> </telerik:RadComboBox>
</td>
</tr>
</table>
</div>
</ContentTemplate>
</telerik:RadContentTemplateTile>
</telerik:TileGroup>
</Groups>
</telerik:RadTileList>
And the javascript:
function canceljQueryEventBubbling(evt) {
//prevent the event from bubbling, i.e., reaching the Tile element where it will initiate dragging
switch (evt.which) {
case 1:
evt.stopPropagation();
break;
case 3:
alert('bla');
default:
break;
}
}
function disableTileDragOnChildElems() {
//a selector for all input elements in the tile. Useful, for example, for buttons
$telerik.$(".RadContentTemplateTile input").mousedown(canceljQueryEventBubbling);
//Sys.Application.remove_load(disableTileDragOnChildElems);
}
Sys.Application.add_load(disableTileDragOnChildElems);
Any help will be appreciated!
Radbutton as a radio button does not work (you cannot toggle a set of radio buttons within a group) when placed in an editform template in radgrid.
They work outside of the radgrid but I need them to work in the radgrid
Is there something special that needs to be done when inside a template editform in radgrid.
Dear Telerik Experts,
I am using Telerik UI for ASP.NET AJAX 2014 Q1, I am experiencing some issues which I could not explain. Basically I use a grid and want to export it to PDF, I simply call RadGrid1.MasterTableView.ExportToPdf(); to do so. The grid contains some chinese characters. It works fine in local debug, but when I deploy the website to Azure, the produced pdf with all characters showing as boxes. Initially I thought it was font not available issue but looks like the font indeed is available and it can be seen in acrobat reader, but it shows different code than the one that generated locally. The font used is called "楷体" which is a chinese font. The one that generated locally which works fine showing as 1DACA5+楷体 and 200101+楷体, the one generated from Azure website showing as 8A7FA8+楷体 and D66FD6+楷体. I attached the two files generated from my local machine and azure website for reference.
PDF generated locally:
http://videoconference.blob.core.chinacloudapi.cn/public/Good.pdf
PDF generated from azure website:
http://videoconference.blob.core.chinacloudapi.cn/public/Bad.pdf
Could you please give some suggestions how I could possibly resolve this issue? I tried several things including try use different fonts and encode the page with different encoding(UTF-8, GB2312) but none of those works. I noticed even numbers are not showing properly in azure generated pdf. Unforturnately the suggested font "Arial Unicode MS" is not available in Azure website.
Any suggestions would be really appreciated!
Thanks in advance!
I need to have a drop zone for each node of a RadTreeView. I have added a RadAsyncUpload control in the NodeTemplate section. Are there any examples/demos for this scenario?
I followed the current demo structure. But in my case, the files are getting dropped for every upload control and not the specific one.