Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
130 views
I'm sure I'm missing something simple, but I've searched through the documentation, and I can't seem to find anyone else reporting this issue.  In short, I have a RadChart (bar).  I've implemented tooltips using the OnItemDataBound event and the RadToolTipManager.  The tooltips are showing up as I mouseover different items (bars) in the chart, but it is displaying at the top of the browser window rather than over the item that I have moused over.  

Here is the relevant aspx code:

<telerik:RadChart ID="RadChart1" runat="server" Width="950px" Height="400px"
    SeriesOrientation="Horizontal" OnClick="RadChart1_OnClick" BorderWidth="0"
        IntelligentLabelsEnabled="True" PlotArea-Appearance-Dimensions-Margins="15%,10%,30%,10%"
        SkinsOverrideStyles="false" Skin="Custom" OnItemDataBound="RadChart1_OnItemDataBound">
</telerik:RadChart>
<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" Animation="Slide"
    Position="TopCenter" EnableShadow="true" ToolTipZoneID="RadChart1"
        AutoTooltipify="true">
</telerik:RadToolTipManager>

Here is code behind:

protected void RadChart1_OnItemDataBound(object sender, ChartItemDataBoundEventArgs e)
        {
            e.SeriesItem.ActiveRegion.Tooltip = ((DataRowView)e.DataItem)["Answer"].ToString();
        }

any ideas?  Thanks!

Richard
Top achievements
Rank 1
 answered on 15 Dec 2011
15 answers
562 views
We are making use of jQuery in our solutions and currently load jQuery 1.6 in our solution. We also would like to define our own jQuery functions, but we've encountered the problem that the Telerik libraries load its own version of jQuery (with our current version jQuery 1.4.2 is loaded) which the version would not be a problem, but ALL of our custom jQuery functions get override after Telerik loads the library.

I've seen the "directive" to disable the loading of Telerik's built-in jQuery for MVC, but we are using the standard ASP.NET model and thus the Telerik AJAX controls.

How can we disable this Telerik built-in jQuery library????

Thanks
Simon
Telerik team
 answered on 15 Dec 2011
4 answers
164 views
I am using an external RadFilter which is not associated with any grid. I am just using the filter to get the filter expression on Apply button click. My issue is that I want to set the value in the textbox for the current expanded item to a specific text, on a button click.

I saw the following code from telerik website:
protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
{
    if (e.CommandName == RadGrid.FilterCommandName)
    {
        Pair filterPair = (Pair)e.CommandArgument;
        gridMessage1 = "Current Filter function: '" + filterPair.First + "' for column '" + filterPair.Second + "'";
        TextBox filterBox = (e.Item as GridFilteringItem)[filterPair.Second.ToString()].Controls[0] as TextBox;
        gridMessage2 = "<br> Entered pattern for search: " + filterBox.Text;
    }
}

I am looking for something similar where I can get the textbox for the current expanded item and then set its value. I cannot use the above code because my RADFilter is not attached to a grid.

Once again, my scenario is:
1) user chooses a field from the list of fields in the filter
2) user then clicks a button
3) the textbox for the current expanded item should be set to, say "ABC"

Thanks
Laura
Top achievements
Rank 1
 answered on 15 Dec 2011
1 answer
98 views
Hi guys,

I am stucked..I m looking for code which can Total a column on a event like "column  click" .. I was able to get footer total 
by PLACING IN ITEM DATABOUND

 protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
    {
             GridFooterItem footerItem = (GridFooterItem)e.Item;
     
            var total =Convert.ToInt64(objbal.ExecuteStringQuery( "select TTotal from  TAB1"));
           
           
            footerItem["Total  Capacity"].Text = "Total   Capacity: " + total.ToString() ;
}

i WANT TO DISPLAY COLUMN total on clicking header column  on grid.. Any sol..plzz..?
Casey
Top achievements
Rank 1
 answered on 15 Dec 2011
1 answer
108 views

RadImageEditor does not accept width in percentage.

In my project I am having a rad Panel within which I have a user control which contains a RadGrid. This rad grid has a NestedViewTemplate which contains <td> <tr> formation with a single row and two <td>’s I have given 50% width to each of these <td>’s and each of these <td>’s contain another user control which contains a RadImageEditor control with width as 100%. But when I run my code the Image control goes out of its parent element. Is there a way to fix this issue?

Dobromir
Telerik team
 answered on 15 Dec 2011
4 answers
171 views
Hi.
    I am using simple pager in RadGrid. But this pager is displaying in two rows instead of in one row
    I am using
                 <PagerStyle Mode="NextPrevAndNumeric" HorizontalAlign="Right" Position="Top" AlwaysVisible="true" ></PagerStyle>

    Actually it should display like(Only in single row)
     " Change page:<1>                                        Display page 1 of 1, items 1 to 3 of 3  "
    
    But displaying like(two rows)                                          
       " Change page:<1>                                      
         Display page 1 of 1, items 1 to 3 of 3  "

    Please help me

    Thanks
    Srikanth Gunnala
Edmond
Top achievements
Rank 1
 answered on 15 Dec 2011
3 answers
154 views
Hi,

I am using RadUpload with ajax enabled. so in server side i am using the code RadUpload1.UploadedFiles.Count   so result always comes 0.

How to get file in server side with ajax enable.  please give me a tips for this one.


Thanks,
Dhamu.
Bozhidar
Telerik team
 answered on 15 Dec 2011
1 answer
102 views
Hello,
What we are doing i,s we have a set of different data extracts we want to do into excel.

We have a radcombobox that contains the list of these different data extracts.

We choose one from the list and click on Extract data button and we populate a hidden datagrid and then export to excel from there.
It prompts if we want to open the file or save.
We choose to open the file check the data and we close the excel file. Select another item from the combobox and repeat the steps.
It all works fine.

But when we do not close the open file and choose another item from the combobox and then export to excel, the whole thing freezes.

I guess because the excel is already open.

Is there any way out of this.
i.e. can we continue doing exctracts without having to close the previous excel?

Also, We want to be able to select multiple items from the combox and do the extract at the same click.
Is there any easier way to do it?

Thanks.
 

Andrey
Telerik team
 answered on 15 Dec 2011
3 answers
85 views
Hi,

When using the UseStaticHeaders property (set to true) the treelist can look really good however I have noticed that if the content of the tree list is less than the height of the available page then the last row does not ave a line on it.  See the attached image for an example.  

This doesn't matter if the number of items goes beyond the height of the page as there is never the white space to see the missing line.

Could this be added for a fix please.

Regards,

Jon
Pavlina
Telerik team
 answered on 15 Dec 2011
1 answer
115 views
Hi,

I need use upload file to another server with custom hander .

When I try to set property HttpHandlerUrl  to "http://10.10.10.10/uploadhandler.ashx".

It will throw an exception that System.ArgumentException: HttpHandlerUrl must be application-relative (i.e. it should start with "~/" .

Are there any solutions for me?

Thanks in advance.
Eric
Bozhidar
Telerik team
 answered on 15 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?