Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
93 views
I've inherited a project using a RadGrid which uses session variables as filter arguments.  These arguments are then appended to a StringBuilder variable, which is used as the RowFilter argument for the Dataview.  This Dataview is the datasource for the grid.  This is in an .ascx control which is used on several pages.

The initial filter works fine.  It's when the user changes or removes the filter that I'm experiencing a problem - the grid won't display the updated results and the existing results won't expand if the user clicks on the expand arrow.

I tried to bypass the existing filter and use a RadFilter but when I click on the "add expression" button, nothing happens.  Following is the declarative.
<telerik:RadFilter ID="RadFilter1" runat="server" FilterContainerID="gvMission" >
    <fieldeditors>
        <telerik:RadFilterTextFieldEditor DisplayName="Lane" FieldName="Lane" 
            TextBoxWidth="120" />
    </fieldeditors>
</telerik:RadFilter>
Note: I had to manually add the FilterContainerID; When I expanded the RadFilter Tasks window, "gvMission" wasn't in the dropdown list.  Thanks very much.
Jim
Top achievements
Rank 1
 answered on 30 May 2012
5 answers
680 views
I have a RadComboBox in web usercontrol and when I set the AppendDataBoundItems to true it duplicates the values.

.aspx Code
<telerik:RadComboBox ID="clientusersRadComboBox" runat="server" DataTextField="fullname" DataValueField="userid" AppendDataBoundItems="true" Height="150px">
    <Items>
        <telerik:RadComboBoxItem Text="Select User" />
    </Items>
</telerik:RadComboBox>

.aspx.cs Code
var rsClientUsers = from rsU in DB.tbl_users
    where rsU.clientid == intClientID && !(from rsL in DB.tbl_licenses
    where rsL.moduleid == intModuleID && rsL.clientid == intClientID
    select rsL.userid).Contains(rsU.userid)
    orderby rsU.firstname
    select new
    {
    fullname = rsU.firstname + ' ' + rsU.lastname,
    userid = rsU.userid
    };
 
clientusersRadComboBox.DataSource = rsClientUsers;
clientusersRadComboBox.DataBind();

Shukhrat Nekbaev
Top achievements
Rank 1
 answered on 30 May 2012
3 answers
80 views
Hi, I am a bit confused:

Here http://www.telerik.com/help/aspnet-ajax/introduction-jquery-intellisense.html you say
"Since the Q2 2011 SP release of RadControls, IntelliSense is automatically enabled when RadScriptManager is on a page. There is no need to add the previously required ScriptReferences to RadScriptManager to enable IntelliSense"       

When I create a new Telerik website within Visual Studio 2010, the ScriptReferences ARE added to the RadScriptmanager.
Bug or feature? Any advantage/disadvantage to have/not to have them added?

Also, if I want to use master pages, how can I have jQuery Intellisense on my content pages?

Thanks in advance for your help
Best regards, Thomas
Kate
Telerik team
 answered on 30 May 2012
5 answers
40 views
Hi,

Our end-users are having major problems when using bullet lists in the radeditor in IE9.
For example in your demo of radeditor with contentareamode=div, clear all text in the editor (ctrl-a, delete).
Then push the Bullet list button a couple of times (three at least for me). On the third click the bullets starts appearing in the top window!!!

There are other ways to get this behavior also...

Regards
Caesar

Rumen
Telerik team
 answered on 30 May 2012
4 answers
53 views
Hi,

I added new custom button in rad editor toolbar using toolbar xml file and its working fine in all IE version except IE 6.
Please the attached below code.

Toolbar.xml
<tools name="Toolbar7" dockable="true" >
    <tool name="CrossLinking" />
</tools>

Css Class
.reTool .CrossLinking
{
    background-position: center center;
    background-image: url('../Images/4x_cross-refrence.png');
    background-repeat: no-repeat;
 
      /* CSS Background image hack for IE 6. Tried below CSS hack for  IE 6 its not working in both the cases with hack and without hack*/
 
    _background-image: url('../Images/4x_cross-refrence.png');
     
}

Rad Editor Markup
<rade:RadEditor runat="server" ID="RadRiskEvntCatDesc" ToolsFile="~/client/XML/RadEditorTools/MemoDefaultTools.xml" SkinID="WebBlue" EditMode="Design" ToolbarMode="Floating" ContentAreaCssFile ="~/client/CSS/EditorContentAreaStyles.css"></rade:RadEditor>


Can any here help me getting out of this.
Harmeet
Top achievements
Rank 2
 answered on 30 May 2012
1 answer
50 views
hello , 

i've just using Raddock control , and practice this example : http://demos.telerik.com/aspnet-ajax/dock/examples/loadsavelayout/defaultcs.aspx , it works nicely but i want to ask how to prevent raddock to be moved out of radzone ?? 

thanks in advance 
Loyal User
Top achievements
Rank 1
 answered on 30 May 2012
1 answer
60 views
Hi,

We are working on a legacy ASP .NET 2.0 web application. I was wondering, if we can use Telerik ASP .NET AJAX ComboBox (ASP .NET RadControls 2012 Q1) in this web application? If not, is there any other way we can use this control in ASP .NET 2.0?

Thanks in advance :)

Sabbir
Shinu
Top achievements
Rank 2
 answered on 30 May 2012
3 answers
172 views
Hello All, 

       I created one daily recurrence appointment from 1/1/2012 to 1/5/2012 in radscheduler using contextmenu. after that i deleted the 1/3/2012 occurrence, when i am loading the radscheduler next time i have to omit the deleted item , could you please any one tell me how can i achieve this?
                                 ex: i am getting the exchange appointment items and bind it into radscheduler. i deleted one occurrence(1/3/2012) in exchange. after that i refresh my page, there is no changes in the radscheduler control. i checked the exchangeappointment properties. in that no property to find the deleted items. could you please any one help me how can i identify this


Thanks.

Peter
Telerik team
 answered on 30 May 2012
1 answer
101 views
Hi all,

         My requirement is like, I have a bound column named age. I need that column to be made hide and unhide by my users. How to hide and unhide a column on an external button click?

Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 30 May 2012
5 answers
175 views
Hey Guys,

Hope someone can assist.  I am experiencing a weird issue.  I recently deployed some changes to our Staging Server.
In my Local Development Environment, there are no issues.  Tested on IE8, Firefox and Chrome

When I view the same site on our STAGING server, firefox and chrome no issue
but ...
on IE8 returns a JavaScript error

JavaScript Error
Message: '2.offsetHeight' is null or not an object
Line: 12023
Char: 1
Code: 0
URI: http://<server_name>/aspx/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions .....

So after checking all the deployment files were done successfully I then debugged the JavaScript on while running the STAGING version and found that for IE8 in the following code snippet
"if(($telerik.isIE6||$telerik.isIE7||$telerik.quirksMode)&&(i[0].style.height!="")){var j=d("tr > td > div",k);"

$telerik,isIE7 was returning true.  Why is it returning true for IE8? no idea.  I have tried this one 2 other PC's in the office, same error. 

I do not think it is a deployment issue otherwise it would not work perfectly on FF or Chrome.
I don't think It is an issue specific to IE8 because it works perfectly on IE8 running my Local Devt' site, only STAGING has the issue.

When I debugged the JavaScript it was the Telerik.Web.UI.RadListBox._preInitialize which was calling the code with the error so I included a snippet of the ListBox in the Panel.

<telerik:RadPanelItem runat="server" Text="Manager Filter (0 Items selected)" Expanded="false" Value="ManagerfilterPanel" Visible="false"><br>                    <ContentTemplate><br>                        <div class="item"><br>                        Search:&nbsp;<telerik:RadComboBox runat="server" ID="cboManagerSearch" ShowToggleImage="false" Width="330" Filter="Contains" DropDownWidth="330" EnableScreenBoundaryDetection="true" NoWrap="true" OnSelectedIndexChanged="cboManager_SelectedIndexChanged" AutoPostBack="true"></telerik:RadComboBox><br /><br>                        <telerik:RadListBox runat="server" AllowTransferDuplicates="false" Width="400px"<br>                            Height="265px" AllowTransferOnDoubleClick="true" EnableDragAndDrop="true" Font-Names="Calibri" EnableMarkMatches="true"<br>                            ID="lstSourceManager" AllowTransfer="true" TransferToID="lstPickedManager" <br>                            SelectionMode="Multiple" Skin="Windows7" OnClientTransferred="OnClientTransferredManager" Sort="Ascending"><br>                            <HeaderTemplate><br>                                <div style=" margin: 0px 0px 0px 10px; padding: 5px 0px 0px 0px; height: 20px; vertical-align: middle;">Managers</div><br>                            </HeaderTemplate><br>                        </telerik:RadListBox><br>                        <telerik:RadListBox runat="server" Font-Names="Calibri" ID="lstPickedManager" Height="265px" EnableMarkMatches="true"<br>                            Width="380px" AllowTransferDuplicates="false" AllowTransferOnDoubleClick="true" PersistClientChanges="true"<br>                            EnableDragAndDrop="true" SelectionMode="Multiple" Skin="Default" Sort="Ascending"><br>                            <HeaderTemplate><br>                                <div style=" margin: 0px 0px 0px 10px; padding: 5px 0px 0px 0px; height: 20px; vertical-align: middle;">Selected Managers</div><br>                            </HeaderTemplate><br>                        </telerik:RadListBox></div><br>                    </ContentTemplate><br>                </telerik:RadPanelItem>

Any ideas? Any suggestions would be much appreciated.

Thanks

B
Peter Filipov
Telerik team
 answered on 30 May 2012
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?