Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
92 views
Hi, 

I am getting Error: 'Telerik' is undefined.
It happened after I installed debugbar.
It is happening in only IE but not in Chrome and FireFox.
I have uninstalled debugbar still I am getting same error.
Any solutions?

Best Regards,
Damodar
Damodar
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
72 views
How can I select rows in RadGrid through the up / down arrows?Sorry for bad english .. Help please...  
Shinu
Top achievements
Rank 2
 answered on 07 Feb 2012
2 answers
76 views
I create the RadEditor in CodeBehind and setup the properties as required. On the output page the Editor appears and all looks fine.However when I click inside the Editor (set to ShowOnFocus) I get a Javascript error and a blank Toolbar. This happens in IE8 and FireFox 8.0.1

Using VS2008 debugger I can see that there are tools added to the EditorToolGroup

I am using v.20011.3.1305.35 of Telerik

Attached are the screen snippets of the output in IE, the text of the Javascript error and a section of the code that establishes the RadEditor.
In the code "re" is the RadEditor.

Hope this is enough for some assistance.
Arthur
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
81 views
I think this is an easy question, and I'm a little perplexed that I am having a problem with it.  Here is the issue:

This code grabs the DataKeyValue from a RadGrid row onRowMouseOver with no problem:

function onRowMouseOver(sender, eventArgs) {
    var rowID = eventArgs.getDataKeyValue("PartyExperienceID");
    document.getElementById("<%= HiddenLabel.ClientID %>").innerHTML = rowID;
}  

Works like a dream.  Now, I want to grab the changed HiddenLabel value server side (any way is fine, even a button click).  I can see that the label has changed on the page, but the server cannot see the change.  I'm wondering if I can solve the problem via RadAjaxManager.  Here is my current config:

<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="HiddenLabel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="RadTreeView1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadTreeView1" />
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="HiddenLabel" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

Any other ideas?   I feel I am missing something obvious (not a JS guy).

Thanks so much!

Jim
James
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
107 views
I'm attempting to mimic the Sharepoint 2010 look using the RadRibbonBar.  Is there a way to change the look of the RibbonBar outside of the skins (I've not found a skin that matches up quite right).

Richard
Top achievements
Rank 1
 answered on 06 Feb 2012
2 answers
105 views
Hi guys,
I downloaded a new version of RadControls and now when I am running my web appl on my style sheet I am getting this message:

Telerik.Web.UI 2011.3.1305.35 trial version. Copyright telerik © 2002-2011. To remove this message, please purchase a developer version.
What is this??How to remove it?
Vitaly
Top achievements
Rank 1
 answered on 06 Feb 2012
2 answers
79 views
Hi guys,

I am talking about contextmenu. I am trying to make a MenuItem not visible.
Let's say a user right-click on a button, a ContextMenu appear and give him some choises.
I have a javascript code that will determine what options (MenuItem) will be available for him.
I have managed to enable/disable the menuitems following this library but I can't figure out how to make the MenuItem not visible (rather than disabled).

Thanks in advance.
Pic
Top achievements
Rank 1
 answered on 06 Feb 2012
2 answers
174 views
I have a grid which has a number of databound columns (all created in code)
I have carried out a number of conditional formatting operations for example
Private Sub radgrid_databound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs)
      'Is it a GridDataItem
      If (TypeOf (e.Item) Is GridDataItem) Then
          Dim dataBoundItem As GridDataItem = e.Item
          If Left(dataBoundItem("ChangeFromPrevious").Text, 1) = "-" Then
              dataBoundItem("ChangeFromPrevious").ForeColor = Color.Red
          End If
      End If
  End Sub

I have now added a gridimagecolumn to my table which I want to display an arrow image pointing up or down depending if my databound column "changeFromPrevious" is positive or negative.

I am hoping to simply change the imageURL of the gridImageColumn, but I am unclear how and from which event I should do this.
ie do I do this on the databound condition dataitem, if so how do I access the imagecolumn.imageurl
or
do I do this as each image in the  GridImageColumn is created, if so how do get the databound item "changedfromPrevious" to apply conditions.
or is there a better approach?

Thanks

Johnathan 
jajanes
Top achievements
Rank 1
 answered on 06 Feb 2012
1 answer
296 views
Hi
I wanna create a custom server control (from CompositeControl base) that has context menu by default
by something like this : 

       protected override void CreateChildControls()
        {
            base.CreateChildControls();
           
            Panel pnl = new Panel();
            pnl.ID = "pnl";
            pnl.Width = Unit.Pixel(100);
            pnl.Height = Unit.Pixel(100);
            pnl.BackColor = System.Drawing.Color.Black;
            this.Controls.Add(pnl);

            RadContextMenu cntMenu = new RadContextMenu();
            cntMenu.ID = "cntM";
            RadMenuItem mItem = new RadMenuItem("Delete");
            cntMenu.Items.Add(mItem);
            ContextMenuElementTarget target = new ContextMenuElementTarget();
            target.ElementID = pnl.ClientID;
            this.Controls.Add(cntMenu);


        }

But it does not work
Is it possible to add ContextMenu dynamically ?
Have I done something wrong ?

Thank you very much for your feedbacks



reza
Top achievements
Rank 1
 answered on 06 Feb 2012
1 answer
123 views
Hello,

I have Telerik's WinForms controls installed, they work fine. Now  want to use Telerik's AJAX controls, I could not find them so I've already tried to (re?)install them. But I still can't find them.

What is their name supposed to be in the "Add Reference" windows of Visual Web Developer Express ?
What should be their 'Assembly name' in the "Choose Toolbox Items" window ?


Thank you for you help.


Thomas
Top achievements
Rank 1
 answered on 06 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?