Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
286 views
Compiler Error Message: BC30560: 'ChartSeries' is ambiguous in the namespace   
'Telerik.Charting'.

- and -

Compiler Error Message: BC30560: 'ChartClickEventArgs' is ambiguous in the namespace 'Telerik.Charting'. 

I keep getting the above error after upgrade from 2008_3_1016_dev to 2008_3_1125.
It fixed by itself after I click on "Save" a few times in MS visual Studio but error came back again when I made any changes on the page.

What do I need to do to fix this?

Thanks.
Den

Nicolaï
Top achievements
Rank 2
 answered on 29 Jan 2009
3 answers
219 views
Hi,

Using C# I have programatically added a RadToolBarButton (a), which has an ItemTemplate containing a RadComboBox (b).
I also have another RadToolBarButton (c).

When I click (c) I would like to know the SelectedItemIndex of (b).

I have tried attaching to the SelectedIndexChanged event of the RadComboBox when the ItemTemplate is bound, however the event never fires.

Any help would be greatly appreciated as I am against a brick wall here!

Sean Duffy.
Princy
Top achievements
Rank 2
 answered on 29 Jan 2009
2 answers
124 views

I am working on a large scale web application with a nested master page hierarchy.  What I am trying to do is server side ajaxification.  In other words, i want the same functionality as a ScirptManagerProxy, only not in the markup, but via a function that I will store in the Page's base class.  The master page that contains the script manager is 3 levels up from the current master page that my content page is using.  I've tried the RadAjaxManager.GetCurrent(Page) method, but since it lives so far down the master page chain, IT hasn't been created yet.  I have created a function that will crawl back through the nesting to find me the master page i am looking for.  I have also created a public property on the master page to expose the ajax manager.

Here's the root master page code behind:

public partial class Shell : MasterPage  
{  
    public RadAjaxManager AjaxManager  
    {  
        get { return ajaxMgr; }  
    }  


Here's what my current layout looks like:

Shell.master
    -->  LeftSideAndContent.master
        --> LeftNavigationAndContent.master
            -->  ContentPage.aspx

After doing some research (using Reflector), i found that master pages are actually created in the getter of Page.Master, so simply casting ContentPage's Master as (Shell) doesn't work, and returns a null reference of the script Manger.  The master can be referenced correctly by using this.Master.Master.Master, but this is bad design, as it will break if our layout adds or subtracts layout master pages.  To alleviate this problem, I created the following generic function on my content page's base class:

public abstract class ContentPageBase : System.Web.UI.Page  
{  
    public static T FindMasterPage<T>(Page page) where T : MasterPage  
    {  
        Type type = typeof(T);  
        MasterPage master = page.Master;  
 
        while (master != null)  
        {  
            if (master.GetType().BaseType == type)  
            {  
                break;  
            }  
 
            master = master.Master;  
        }  
 
        return (T)master;  
    }  

What this allows me to do is is get a hook to the actual RadAjaxManager that exists up the chain in the following way:

            AjaxSetting setting = new AjaxSetting(uxCategoryGrid.ClientID);  
            setting.UpdatedControls.Add(new AjaxUpdatedControl(uxCategoryGrid.ClientID, ""));  
            ContentPageBase.FindMasterPage<Shell>(this).AjaxManager.AjaxSettings.Add(setting);  
 

After all this, I am still having an issue with the loading panel not popping up when I muck with the grid.  Am I missing something here?  I know that the master Page_Load fires AFTER the content Page_Load, so could the master page be annihilating the controls of the AjaxManager even after it gets hydrated in the function?

Ideally, what I am looking for is the easiest way to accomplish the following: 

public partial class ContentPage : ContentPageBase  
{  
    protected void Page_Load(object sender, EventArgs e)  
    {  
        this.Ajaxify(uxCategoryGrid);  
    }  

Any help will be appreciated.

Paul
Sebastian
Telerik team
 answered on 29 Jan 2009
1 answer
105 views
I have an object model for my objects from my database and I want to only load children from the master table when the user clicks the expand button.  I want to handle that event on the code behind.  Does anybody have an example of this?
Yavor
Telerik team
 answered on 29 Jan 2009
3 answers
572 views
hello

i m a total newbie to telerik controls, can u plz provide me step-by-step guide on how to display a alert/message box, after record delete statement in code-behind.

i m getting bit confused with different ways explained in the forum, so can u plz let me know which all controls should i include and how to display the window
Georgi Tunev
Telerik team
 answered on 29 Jan 2009
5 answers
168 views
I have a multi-row text box that has been working up to version 2008.3.1105.20.  After updating to 2008.3.1314.20 I can no longer paste into this text box. 

Symptoms
  • When I paste, nothing is pasted. 
  • When I select existing text then paste, the selected text is removed, but nothing is pasted.

Verification
  • I have rolled back my versions and verified that this behavior is tied to the new version.
  • I have duplicated this no-paste behavior on 3 other systems.
  • I have turned off the mult-line attribute and the paste does work with 2008.3.1314.20
  • Existing single line textboxes are working properly.

Code
     

<telerik:RadTextBox ID="txtLicenseKey"   
runat="server" Width="550px" Height="400px"   
TextMode=MultiLine    
SelectionOnFocus="SelectAll"   
Wrap="true" /> 

Resolution?
Has anyone else duplicated this behavior or can confirm this is a known bug with this version?  Any other ideas on a work around?
Thanks!
Pavel
Telerik team
 answered on 29 Jan 2009
2 answers
97 views
Hi All,

In my project we are using Telerik Rad Controls.
I have placed a tabstrip (id is tabstrip1) and  slidingpane inside of sliding zone and splitter.
In that sliding pane i have placed one more radTabStrip(tabstrip2). Now the point is when im clicking on a tabstrip1, the slidingpane should expand. For that i have seen telerik demos splitter -> slidingzone ->programming -> client side api. Instead of href txt i need to use tabstrip. I don't know how to use and call javascript functions.
any one can please help me to resolve this problem...

Thanks,
VKR
venkat
Top achievements
Rank 1
 answered on 29 Jan 2009
4 answers
242 views
Dear All,

I've a radGrid in my form, there are 3 columns in the grid to show value. the third column will be editable (means I've put RadNumericTextBox) in it.
The rowselection also enabled in the radGrid.
Whenever user clicks on row it should execute a statement, that part is working proper. But when the user clicks on RadNumericTextBox instead of clicking the Grid Row, that row will be treated as not selected.

my doubt is, whenever user clicks any control or inside the row, then that row should be selected automatically...

how is that possible?

Thanks in Advance
Manoj Balakrishnan

Vijay Kartha
Top achievements
Rank 1
 answered on 29 Jan 2009
4 answers
186 views
Hello,

I am using the export to excel component when exporing a dataset.
How can i add a title on top to the excel file which i'm exporing to ?

Thanks,

Inbal
Shinu
Top achievements
Rank 2
 answered on 29 Jan 2009
2 answers
293 views
Hi !

I have a tab strip and the tabs open in a frame.
I do not want the tab (which I clicked) to change color/state.

Is there some other way to do this, apart from changing the CSS selected to something like the normal CSS?
Something like some property to disable or a javascript to reset the tab strip (no tabs have been clicked)?

Hope that you have understood my query and that you can help me out.

Regards.
Pauli
Top achievements
Rank 1
 answered on 29 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?