Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
111 views
Hi:

I recently updated to Visual Studio 2012.  I have the q3 2011 version of Rad Ajax Controls plus ReportingMy program works fine except for the following:

  1. Telerik No longer appears in the Menu Bar.  I cannot find how to load it as I must have originally.
  2. When I try to design a report, I get the error Value cannot be null. Parameter name: instance.  I am not able to design any reports.
Any help in how to get the working would be greatly appreciated.

Regards,
Roger
Petar
Telerik team
 answered on 05 Feb 2014
5 answers
154 views
Hi

I was looking at this: http://www.telerik.com/help/aspnet-ajax/grid-filtering-multi-select-filtering.html
and this: http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/filter-templates/defaultcs.aspx

But I wanted to create a "Clear Filters" button, the second link gives an example... and it works... more or less..
It clears all the filters, but the Checklist keeps its old values, so whenever I choose a new filter after clearing... the grid will apply the old filters (since the checklists are still checked)

Is there a way to revert the checklist to its original state??? (in this case to "(Select All)"

Thanks!
Kostadin
Telerik team
 answered on 05 Feb 2014
2 answers
50 views


Hello eveybody,

I have a tabstrip with four tabs, each tab linked to a pageview.
On the first tab (Basket), a button allows to jump to the second tab (Shipping).
On the second tab (Shipping), a button allows to jump to the thirth tab (Payment).

After a click on the first button, nothing changes on screen, but all properties of the tabstrip (selectedindex) and pageviews (enabled, selected) are OK !
After a click on the second button, eveything runs fine: the thirth tab is activated...

Here my code-behind...

protected void btnShipping_Click(object sender, EventArgs e)
{
   // From first tab to the second tab
   tabShipping.Enabled = true;
   tabShipping.Selected = true;
   pvShipping.Selected = true; // Nothing happens. Stays on the first tab, but all properties are OK...
}

protected void btnPayment_Click(object sender, EventArgs e)
{
   // From second tab to the thirth tab
   tabPayment.Enabled = true;
   tabPayment.Selected = true;
   pvPayment.Selected=true; // No problem. Everything runs fine... 
}

Any idea ?

Philippe

Hristo Valyavicharski
Telerik team
 answered on 05 Feb 2014
1 answer
161 views
Hi there,

I have put Rad Editor inside <div> which gets pop up clicking on hyperlink using jquery dialog. When this dialog gets appear, once the content reflected for a while in Editor but within a few seconds, it gets disappear. Its a kind of very weird issue. 

Can anyone give me a solution ASAP. 

Here is my code.

<div class="previewDialog" title="Email Preview" style="display: none; width: 750px; height: 400px;">
       <telerik:RadEditor runat="server" ID="emailPreview" EditModes="Preview" Width="95%" Height="170px" ToolbarMode="ShowOnFocus">
                        <CssFiles>   
                            <telerik:EditorCssFile Value="" />    
                        </CssFiles>
        </telerik:RadEditor>
</div>

<a id="previewLink" onclick="OpenPopupForPreviewEmail();">Preview</a>

<script type="text/javascript" >
function OpenPopupForPreviewEmail() {

jqPoupDialog(".previewDialog");

}
function jqPoupDialog(dialogId) {
if (!jQuery.fn.dialog) return;

var $dialog = jQuery(dialogId).not(".converted");
if ($dialog.length > 0) {
$dialog.each(function () {
var $this = jQuery(this);
var dialogWidth = 400;
var dialogHeight = 300;
var dialogClass = "dialogWapper darkDialog";
var escapeKeySupport = true;
if ($this.hasClass("noClose")) {
dialogClass = "dialogWapper noClose";
escapeKeySupport = false;
}
if ($this.hasClass("disableEscapeSupport")) {
escapeKeySupport = false;
}
if (this.style.width > 0 || this.style.width !== "")
dialogWidth = parseInt(this.style.width);
if (this.style.height > 0 || this.style.height !== "")
dialogHeight = parseInt(this.style.height);
if ($this.hasClass("ui-dialog-content")) {
$this.dialog("open");
} else {
$this.dialog({
autoOpen: true,
width: dialogWidth,
height: dialogHeight,
modal: true,
closeText: "",
closeOnEscape: escapeKeySupport,
dialogClass: dialogClass
});

$this.attr({ "id": "bsbWrapper" });
}

var editor = $find("<%= emailPreview.ClientID %>");
editor.set_html("Test email preview");
editor.setFocus(); 

});
}
}
</script>

Thanks
Kamini





















Marin Bratanov
Telerik team
 answered on 05 Feb 2014
6 answers
154 views
Note: Sorry wrong SharePoint version in thread title which i can't change! The problem is happening in SharePoint 2010

Hi,

We are currently getting errors when using the latest version of Telerik.Web.UI 2013.2.717.35 in some SharePoint 2010 web parts we develop. The problem seems to be a conflict between the Telerik Javascript files and the SharePoint Javascript file wpadder.js which is triggered once you have added a web part using Telerik to a page and try and click add to add another, the error return is as follows:

SCRIPT5: Type mismatch.
 wpadder.js, line 2 character 13993

This error doesn't happen with the previous version of Telerik.Web.UI 2013.1.417.35 we were using so I assume its to do with some changes that have been added to 2013.2.717.35.

Is there a fix for this problem? Is it a known issue?

Thanks,
JC


Marin Bratanov
Telerik team
 answered on 05 Feb 2014
4 answers
108 views
We are using telerik rad editor of dnn(dotnetnuke) inside jquery tabs

jQuery JavaScript Library v1.9.1
​jQuery UI - v1.10.3 - 2013-05-03

DNN Version 7.2.0

Attached file is 
Steps to reproduce:
Click on insert media(and also drop down buttons of it)  and nothing happens, all are disabled.
Here is dotnetnuke html module code with jquery tabs enhanced



<%@ Control language="C#" Inherits="DotNetNuke.Modules.Html.EditHtml" CodeBehind="EditHtml.ascx.cs" AutoEventWireup="false" Explicit="True" %><br><%@ Register TagPrefix="dnn" Assembly="DotNetNuke" Namespace="DotNetNuke.UI.WebControls" %><br><%@ Register TagPrefix="dnn" TagName="label" Src="~/controls/LabelControl.ascx" %><br><%@ Register TagPrefix="dnn" TagName="texteditor" Src="~/controls/texteditor.ascx" %><br><%@ Register TagPrefix="dnnweb" Assembly="DotNetNuke.Web" Namespace="DotNetNuke.Web.UI.WebControls" %><br><link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"/><br>  <%--<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>--%><br>  <%--<script type="text/javascript" src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>--%><br>  <link rel="stylesheet" href="http://jqueryui.com/resources/demos/style.css"/><br>  <script type="text/javascript"><br>      $(function () {<br>          $("#tabs").tabs();<br>      });<br>  </script><br><br><br>                <div id="tabs"><br>  <ul><br>    <li><a href="#tabs-1">Nunc tincidunt</a></li><br>    <li><a href="#tabs-2">Proin dolor</a></li><br>    <li><a href="#tabs-3">Aenean lacinia</a></li><br>  </ul><br>  <div id="tabs-1"><br>    <strong><dnn:texteditor id="txtContent" runat="server" height="400" width="100%"></dnn:texteditor></strong><br>  </div><br>  <div id="tabs-2"><br>    <p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p><br>  </div><br>  <div id="tabs-3"><br>    <p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p><br>    <p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p><br>  </div><br></div>




Thanks for any help.
Marin Bratanov
Telerik team
 answered on 05 Feb 2014
1 answer
91 views
I am showing details for a single page at a time, but i need to export all records

Please suggest on this.

Thanks & Regards
Bharat
Princy
Top achievements
Rank 2
 answered on 05 Feb 2014
5 answers
193 views

Hello,

I have a RadTabStrip control, I have used the same control for a long time now, and the issue came up after we updated to the 2013.2.717.35 version of Telerik.
The control was working fine in the previous version that we had used (2012.3.1016.35). 

After version update if there are more tabs than fit to the width of the TabStrip and if scrolling is activated the last tab jumps down to a second row. This issue is occurring only on IE 10 and 11. After some investigation we have found that this issue was supposedly fixed in the new 2013.3.1114.35 version:

TabStrip

FIXED
  • Fixed: In IE11 the width of the RadTabs is not calculated properly when scrolling is enabled.


However, I had downloaded a trial of that version, deployed it and the problem still remains. Last tab still jumps to a second row. Can you confirm that this issue is fixed in 2013.3.1114.35?

If not, how should I work around it for now, and if it is indeed fixed - why it does not work for me?

I have found suggestions to use the tabstrip.repaint() method. I have tried that - did not help.
Another suggestion was to increase the width of the wrapping ul item using javascript or code behind. I have done that also but with little success. This approach does help to put all the tabs in one row, however then the scroll does not go to the very end of the tabstrip.

If you have no suggestions how to properly fix this issue, maybe you have an idea on how I could make it scroll to the end of the tabstrip after I increase the width of the tabstrip ul item? This solution would work, as visually it would look ok for the user, even though it wouldn't be a nice workaround running in the background :)

Any help appreciated.

If you need further information, screenshots or something else regarding this issue, feel free to ask. 

Thank you, Deimantas.
Nencho
Telerik team
 answered on 05 Feb 2014
2 answers
131 views
1.I have a rad scheduler. Inside I have one ResourceType that binds a sqldatasource. I want to be able programatic(from code behind) to set the selectedvalue of the resourcetype. The desired value can change. Can someone please help me with this problem?

Example:

I have inside .aspx

                    <ResourceTypes>
                        <telerik:ResourceType KeyField="ID_OPERATIE" Name="Operatie" TextField="denumire"
                            ForeignKeyField="ID_OPERATIE" DataSourceID="dsOperatie" AllowMultipleValues="false">
                        </telerik:ResourceType>
                        <telerik:ResourceType KeyField="ID_SALA" Name="Sala" TextField="nume" ForeignKeyField="ID_SALA"
                            DataSourceID="dsSala" AllowMultipleValues="false"></telerik:ResourceType>
                    </ResourceTypes>

inside FormCreated in code behind

RadComboBox cbResOperatie = (RadComboBox)e.Container.FindControl("ResOperatie");
                cbResOperatie.Width = cb_echipament.Width;
                cbResOperatie.Height = 200;
                cbResOperatie.Filter = RadComboBoxFilter.Contains;
                cbResOperatie.SelectedIndexChanged += new RadComboBoxSelectedIndexChangedEventHandler(cbResOperatie_SelectedIndexChanged);
                cbResOperatie.AutoPostBack = true;

and inside cbResOperatie_SelectedIndexChanged (when the value of the Operatie changes) I need to be able to change the selected value of the  resource field Sala. Please help. 

2.Another problem I use a SelectedIndexChanged handler that was bound programaticly inside FormCreated of the RadScheduler for another ResourceType. Can some one tell me why e.Value is displaying a long string like 'cvxbvxcbxcghfsfgf' instead of an number representing ForeignKeyField value? Please help. 

Example:

RadComboBox cbResOperatie = (RadComboBox)e.Container.FindControl("ResOperatie");
                cbResOperatie.Width = cb_echipament.Width;
                cbResOperatie.Height = 200;
                cbResOperatie.Filter = RadComboBoxFilter.Contains;
                cbResOperatie.SelectedIndexChanged += new RadComboBoxSelectedIndexChangedEventHandler(cbResOperatie_SelectedIndexChanged);
                cbResOperatie.AutoPostBack = true;

and inside cbResOperatie_SelectedIndexChanged we have as a parameter e.Value.


Boyan Dimitrov
Telerik team
 answered on 05 Feb 2014
3 answers
97 views
Hi

I am having an issue with enabling the keyboard interface on a TabStrip.

I have seen articles and code that indicate this can be an 'out of the box' feature of tabstrip, but I'm not getting the effect I want or expect.

I have a TabStrip with three tabs. Underneath it I have a RadMultipage with three PageViews.

I have added the AccessKey attribute to each of the tabs, and yes the focus rectangle moves from Tab to Tab.

But I also want the selection to change AND the appropriate PageView to become active.

Does anybody have ideas on how to pull this off.

TIA
Nencho
Telerik team
 answered on 05 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?