Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
163 views

There are some compatibility issues which we are facing corresponding to the Radtreeview in IE 11 browser. We are getting a JavaScript error on a particular function which is called on the "OnClientNodeClicking", due to which the page is not rendering in the IE 11 browser. However, the same page is rendering fine without any JavaScript error on IE 8.

Please provide a solution for this

Ivan Danchev
Telerik team
 answered on 28 Apr 2017
1 answer
91 views

I'm having difficulty finding a way to accomplish what I want to do.

My Webform has the following controls on it:

1.  RadTextBox

2.  RadButton

3.  RadGrid

Very simple.   The user is prompted (RadTextBox) to enter the first letters of the customer name that they would like to view (RadGrid).  When they click on the view button (RadButton), the code behind executes in button click event to query the data and executes a .Rebind to refresh the RadGrid.  That all works very well.  My problem is that I'm trying to find a way to empty the RadGrid datasource when the user clicks back into the RadTextBox and it receives focus.  I found a few lines of Javascript in another post on the Telerik forms.   

Here is the script:

            var masterTable = $find("<%= RadGrid_CustData.ClientID %>").get_masterTableView();
            masterTable.set_dataSource([]);
            masterTable.dataBind();

I am able to execute this javascript code from a client-side button click event, but it fails when I try to execute it from the RadTextBox OnFocus client event.   

Does anyone have any ideas on how I can accomplish this ?

 

Thank you

 

 

     

Peter Milchev
Telerik team
 answered on 28 Apr 2017
1 answer
130 views

Hi,

I'm trying to create a multi-column dropdown list based on this example: Telerik APS.Net ComboBox Demo. My problem is I'm getting my data back as a DataSet, it's not a DataSource, and I'm unclear as to how to bind the dataset to the control. I tried using the evals etc as described in the example, but I get an error DataSource expected.

Any help would be greatly appreciated.

Rodney

Marin Bratanov
Telerik team
 answered on 28 Apr 2017
1 answer
210 views

Hi, i faced 2 problems

1. Error: Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file.

I tried all the method as shown in the article, it still face the same problem. http://www.telerik.com/support/kb/aspnet-ajax/editor/details/error-web-config-registration-missing!-the-telerik-dialogs-require-a-httphandler-registration-in-the-web-config-file-

2. I got error page when i want to edit the page in Sharepoint 2013. It prompt me "Object reference not set to an instance of an object." 

Please help. Thank you. 

yeoh
Top achievements
Rank 1
 answered on 28 Apr 2017
1 answer
56 views

Hi Telerik Team,

heres my issue i have been working with detailtables on my sistem for a school the what it supposed to do its show me the grades of the students and i have a button outside the grid to export that to excel the thing is that the table needs to be expanded to show the grades because the student data its the parent  part and the grades are the child 2 days ago it worked now only one record from the table wont expand(automatically or pushing the lil arrow) but all the 200 records from the same sqldatasource works and since that one wont expand i cant export it what could it be? thanks.

 

 

Omar
Top achievements
Rank 1
 answered on 27 Apr 2017
0 answers
164 views

I'm using a Telerik maskedtextbox.  Let say the mask is '#####'.
I can enter 1-5 digits and all is good.

If I add a RegularExpressionValidator to the field, it will always fail unless I enter exactly the amount of digits specified in the mask.

ex.
just the maskedtextbox with mask '#####', I can enter 1, 11, 111, 1111, 11111 and all is good.
If I add a RegularExpressionValidator, it fails unless the input is 11111.

The regex expression works with anything as long as it's a number and only has issues when the masked textbox is used.
Stacy
Top achievements
Rank 1
 asked on 27 Apr 2017
1 answer
116 views

Hi,

The message in the ShowMoreResults box doesn't seem to appear with the latest official release (2017.1.228.45). 

It's easy to see using a very simple project with a combobox loading progressively from a web service - if you use an earlier version of the Telerik libraries the message appears, and then if you simply swap in the latest version the message no longer appears.

Rumen
Telerik team
 answered on 27 Apr 2017
3 answers
93 views

Hi,

My question is in continuation to the post here:

http://www.telerik.com/forums/radeditor-and-jquery-dialog#XU8vpR6BrEmEhKLz7S5qSA 

my radeditor inside the dialog is uneditable. I have a parent page and the jquerydialog is in that page. The dialog loads another page, which has RADeditor in it. Calling OnParentNodeChanged in the parent page will not work as the editor is not recognizable there. What can be done?

Thanks.

Anandi

Rumen
Telerik team
 answered on 27 Apr 2017
3 answers
2.1K+ views

PARENT PAGE
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
 <Windows>
  <telerik:RadWindow ID="ServerAdd" runat="server" Behavior="Close" Behaviors="Close" Modal="True" NavigateUrl="ServerAssignJob.aspx" style="display:none;" VisibleStatusbar="False" DestroyOnClose="True" OnClientClose="windowOnClientClose" MinHeight="600px" MinWidth="850px">
  </telerik:RadWindow>               
 </Windows>
</telerik:RadWindowManager>
<script type="text/javascript">
 function windowOnClientClose(sender, args) {  
  for (var i = 0; i < self.frames.length; i++) {
   
   var myFrame = self.frames[i].document.getElementById("RadPageViewServers");   

if (myFrame != undefined || myFrame != null) {
    //THIS DOESN'T WORK
    //myFrame.contentDocument.location.href = "ServerAssign.aspx";    
//myFrame does get the reference to the correct IFrame I can see the innerhtml and it looks correct.
    //THIS DOES NOT RELOAD THE PAGE
    myFrame.src = myFrame.src;
    
    
    //THIS DOES NOT WORK
    //JavaScript runtime error: Unable to get property 'location' of undefined or null reference
    //myFrame.contentDocument.location.reload(true);
    break;
   }   
   return false;
  }      }
</script>


CHILD IFRAME CONTENT URL = "ServerAssign.aspx"
It calls the radopen on parent page.

<script type="text/javascript" >
 function clickHandler(sender, eventArgs) {
 
 //Checks which item is clicked
 if (eventArgs.get_item().get_text() == "Add New") {
  
  var topWindow = window.top;
  var tab = topWindow.document.getElementById('RadWindowManager1');
  
  topWindow.radopen("ServerAssignJob.aspx", "ServerAdd");    
  return false;
 }    }</script>
John
Top achievements
Rank 1
 answered on 27 Apr 2017
6 answers
309 views
Hello,

My project contains a RadSplitter. It contains: RadTabStrip and RadMultiPage. Inside the RadMultiPage there is a RadPageView. Inside the RadPageView there is another RadSplitter.

The RadSplitter contains 3 RadPanes: RadPane_Header, RadPane_Main and RadPane_Footer. The RadPane_Header and the RadPane_Footer have a fixed size in pixels. The RadPane_Main should fill all the remaining space. The project’s requirements are that the RadPane_Header should dock to top of the page and the RadPane_Footer should dock to the bottom of the page. Also, it is required that the internal RadSplitter will fill 100% of the RadPageView’s size.

Currently the inner splitter’s size is much smaller than the size of the page.
Only when the user resizes the browser’s window, the inner splitter changes its size to the appropriate size, i.e. it resizes to fill the whole page.

Please see the following video:
http://youtu.be/uMm2FJEO4Ic


My code:
html, body, form, RadPageView
{
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
}
    .ContentPane {
        height: auto !important;
    }

<div id="ParentDivElement" style="height: 100%;">
        <telerik:RadSplitter ID="MainSplitter" runat="server" Height="100%" Width="100%"
            Orientation="Horizontal" Skin="Outlook">
            <telerik:RadPane ID="TopPane" runat="server" Height="100" MinHeight="85" MaxHeight="150"
                Scrolling="none">
            </telerik:RadPane>
            <telerik:RadSplitBar ID="RadsplitbarTop" runat="server" CollapseMode="Forward" />
            <telerik:RadPane ID="MainPane" runat="server" Scrolling="none" MinWidth="500">
                <telerik:RadSplitter ID="NestedSplitter" runat="server" Skin="Outlook" LiveResize="true">
                    <telerik:RadPane ID="LeftPane" runat="server" Width="200" MinWidth="150" MaxWidth="400"></telerik:RadPane>
                    <telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" />
                    <telerik:RadPane ID="ContentPane" runat="server" CssClass="ContentPane">
                        <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" SelectedIndex="0">
                            <Tabs>
                                <telerik:RadTab Text="Grid" Value="Grid1"></telerik:RadTab>
                                <telerik:RadTab Text="Chart" Value="Chart1"></telerik:RadTab>
                                <telerik:RadTab Text="Grid_Chart" Value="Grid_Chart"></telerik:RadTab>
                            </Tabs>
                        </telerik:RadTabStrip>
                        <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0">
                            <telerik:RadPageView ID="RadPageView1" runat="server"></telerik:RadPageView>
                            <telerik:RadPageView ID="RadPageView2" runat="server">
                                <div id="Div1" style="height: 100%;">
                                    <telerik:RadSplitter ID="RadSplitter_Chart" runat="server" Orientation="Horizontal" Height="100%" Width="100%">
                                        <telerik:RadPane ID="RadPane_Chart_Header" runat="server" Height="40">RadPane_Chart_Header</telerik:RadPane>
                                        <telerik:RadPane ID="RadPane_Chart_Main" runat="server" CssClass="RadPane_Chart_Main">RadPane_Chart_Main
                                            <telerik:RadGrid ID="RadGrid3" runat="server"></telerik:RadGrid></telerik:RadPane>
                                        <telerik:RadPane ID="RadPane1" runat="server" Height="50">RadPane_Chart_Header</telerik:RadPane>
                                    </telerik:RadSplitter></div>
                            </telerik:RadPageView>
                            <telerik:RadPageView ID="RadPageView3" runat="server"></telerik:RadPageView>
                        </telerik:RadMultiPage></telerik:RadPane>
                </telerik:RadSplitter></telerik:RadPane>
        </telerik:RadSplitter>
    </div>

 

How can I solve this?

Thank you,
Daniel.
Mike
Top achievements
Rank 1
 answered on 27 Apr 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?