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

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.

Angel Petrov
Telerik team
 answered on 11 Sep 2015
2 answers
76 views

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

Viktor Tachev
Telerik team
 answered on 11 Sep 2015
12 answers
293 views
Hello,

I've noticed an issue recently with a web application where some of the RadDatePickers' DatePopUp Buttons are no longer displaying, and in the buttons place, the Button Tooltip is displayed as a link which reads - "Open the Calendar popup." This RadDatePicker is on a user control that is used as the Edit form for a RadGrid. That same RadGrid also has a GridDateTimeColumn which allows filtering. The same issue is occurring with the RadDatePicker for the filter of that column.

I use RadDatePickers on other pages in the application, however, they are displaying properly.

Here is the definition of the RadDatePicker:
<telerik:RadDatePicker ID="rdpReceivedDt" runat="server" OnPreRender="rdpReceivedDt_PreRender">
</telerik:RadDatePicker>

I've tried specifying a Skin, and changing settings for the DatePopUpButton properties, all of which have not fixed the issue. In the PreRender I am only checking to see if the grid is in Edit or Insert mode and then setting the selected value of the RadDatePicker.

I would really appreciate any ideas as to why this is happening... I'm using version 2010.3.1317.35 of the controls.

Also, I've attached a screenshot of the issue.

Thanks!
Casey
Maria Ilieva
Telerik team
 answered on 11 Sep 2015
3 answers
157 views

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>

Konstantin Dikov
Telerik team
 answered on 11 Sep 2015
1 answer
114 views

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!

Marin Bratanov
Telerik team
 answered on 11 Sep 2015
3 answers
205 views

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.

 

Danail Vasilev
Telerik team
 answered on 11 Sep 2015
9 answers
535 views

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!

Kostadin
Telerik team
 answered on 11 Sep 2015
1 answer
121 views
Are any 3D charts available for AJAX?
Marin Bratanov
Telerik team
 answered on 11 Sep 2015
3 answers
144 views

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.

 

 

Hristo Valyavicharski
Telerik team
 answered on 11 Sep 2015
6 answers
842 views
Hi,

When I was browsing the DOM elements in the radWindow, I discovered a hidden textbox called ctl00_phMaster_radWindowTest_ClientState. My colleague received a report that at one point this hidden textbox (..._ClientState) had a value in it.

I would like to know:
- what is the role/function of the ClientState?
- under what conditions do the ClientState get populated?
- what values does the ClientState contain?

I use the radWindow in a secure site and don't want ClientState exposing any sensitive information.

Thank you,
Arie


AMITA
Top achievements
Rank 1
 answered on 10 Sep 2015
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
Iron
Iron
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
Iron
Iron
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?