Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
417 views
I've been searching the documentation and the forum for a while for this, but haven't been able to find any solid information...

I have an object which contains some fields and a dictionary - I want to bind each value in the dictionary to a column in a radgrid.  I don't know what these keys/values will be until the item comes back, and they'll change depending on the source of the query.

I can create the columns dynamically without a problem, but I need a way to bind their DataMember to the dictionary...what's the best way to achiever this?

class ItemQueryData
{
    public int ItemId { get; set; }
    public String SomeProperty { get; set; }
    public Dictionary<int, Object> Values;
}

private void AddRefColumns()
{
    foreach (KeyValuePair<int, String> f in HeaderColumns)
         _grid.Columns.Add(new GridBoundColumn() { DataField = "Values[" + f.Key + "]", HeaderText = f.Value });
}
Mathew
Top achievements
Rank 1
 answered on 21 Feb 2012
1 answer
49 views
Hello,
I'm trying to change the colors (palette) of the skin "telerik".
Palette myPalette = new Palette("myPalette", ColorPaletteGenerator.Generate(20, 230).ToArray(), true);
myChart.SkinsOverrideStyles = false;
myChart.CustomPalettes.Add(myPalette);
myChart.SeriesPalette = myPalette.name;
But nothing seems to work.
Any Ideas ?
Yavor
Telerik team
 answered on 21 Feb 2012
1 answer
114 views
Hi all,

I'm a complete beginner with Telerik so I hope I explain this right.  

I have a RadMenu set up where you can mouseover a RadMenuItem and it calls an AJAX method to fetch a description, which then gets displayed in a label at the bottom of the menu.  It's something along the lines of this Telerik demo with the map, except the event is onmouseover and not onclick.  This all works great. 

However, you can imagine if someone is mousing down a menu of say 20 items, you only want the Ajax call to fire when the user rests on a particular menu item e.g. for say at least 0.25 seconds.  That way I'm not sending 20 Ajax calls off unnecessarily.

Is there a way to delay the firing of the Ajax call?
Maria Ilieva
Telerik team
 answered on 21 Feb 2012
6 answers
356 views
Hi,

I have a RadFilter control hooked up to do advanced filtering on a RadGrid. When attempting to apply a filter on a column which contains NULLS in the DB, I get the infamous "Object reference not set to the instance of an object" error. Since I cannot change my database structure, and the Nulls are required, is there anything I can do to allow my RadFilter to filter on these columns?

Best Regards,
Landon
Tsvetoslav
Telerik team
 answered on 21 Feb 2012
1 answer
126 views
Hello

this is the first time use slider so i need help
i ll use slider to make sliding between 2 days, in the first time i load slider, i put the rang of days that i need to be the default but after that i need to change in this range when customer need to see more days by using increasehandler and decreasehandler 

is it possible, please if it possible i need it server side (if can)

Thanks a lot
Mona
 
Slav
Telerik team
 answered on 21 Feb 2012
3 answers
273 views
Hello,

Its really very urgent.

I have a RadpanelBar placed inside <asp:panel>

 

 

<telerik:RadPanelBar ID="RadPanelBar1" Runat="server" Width="195px" BackColor="Transparent">
<Items
 <telerik:RadPanelItem Value="item1" runat="server" Text="Info" Expanded="true" Font-Bold="true"
 <ContentTemplate
 <table cellspacing="0" border="0" cellpadding="0"
 <tr
 <td
 <telerik:RadBinaryImage ID="imgUser" runat="server" AutoAdjustImageControlSize="true" ImageAlign="Middle" 
 Height="154px" Width="195px" /> 
 </td
 </tr
 </table
 </ContentTemplate
 </telerik:RadPanelItem>

I need to set Radpanel bar back color as Transparent to match the <asp:panel> color.
So i set Backcolor="Transparent" in Radpanelbar, it works for the content in radpanelitem, but radpanelitem heading is not changing to transparent color.
I tried CSS, but it doesnt works.

Kindly guide me.

Jayanthi

 

 

 

jayanthi
Top achievements
Rank 1
 answered on 21 Feb 2012
3 answers
96 views
Hi,

I have a RadGrid headercontextmenu enabled and resizing and moving of columns set to true.
When I show the grid these functions are working correct. When I switch to another page of the grid the contextmenu does not appear and I can't move of resize a column.
How can I solve this problem?


<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="EntityDataSourceChangeLog"
    AllowPaging="True" AllowSorting="True" GridLines="None" CellSpacing="0" EnableHeaderContextMenu="True"
    AllowFilteringByColumn="True" EnableHeaderContextFilterMenu="True" AutoGenerateColumns="False"
    OnItemCommand="RadGrid1_ItemCommand" Width="100%">
    <MasterTableView DataSourceID="EntityDataSourceChangeLog" IsFilterItemExpanded="false"
        DataKeyNames="LogId" UseAllDataFields="True">
        <Columns>
            <telerik:GridBoundColumn DataField="ProjectName" HeaderText="Project" SortExpression="ProjectName"
                UniqueName="ProjectName">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="UserName" HeaderText="User" SortExpression="UserName"
                UniqueName="UserName">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="LogMessage" HeaderText="Log Message" SortExpression="LogMessage"
                UniqueName="LogMessage">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="LogTime" HeaderText="DateTime" SortExpression="LogTime"
                UniqueName="LogTime">
            </telerik:GridBoundColumn>
        </Columns>
        <PagerStyle AlwaysVisible="True"></PagerStyle>
    </MasterTableView>
    <ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true" ColumnsReorderMethod="Reorder">
        <Scrolling UseStaticHeaders="true" AllowScroll="false" />
        <Animation AllowColumnReorderAnimation="false" />
        <Resizing AllowColumnResize="true" AllowResizeToFit="true" EnableRealTimeResize="true"
            ResizeGridOnColumnResize="true" />
    </ClientSettings>
    <PagerStyle AlwaysVisible="true" Mode="NextPrevAndNumeric" />
    <FilterMenu EnableTheming="true">
        <CollapseAnimation Duration="200" Type="InOutQuint" />
    </FilterMenu>
    <ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true"
        FileName="FlightMapChangelogExport" Excel-Format="ExcelML">
        <Excel Format="ExcelML"></Excel>
    </ExportSettings>
</telerik:RadGrid>


Paul
Paul Evers
Top achievements
Rank 2
 answered on 21 Feb 2012
1 answer
72 views
hi there this is MANESH,

the problem is that in the Radgrid we can set the visible property to FALSE for the un-wanted columns, so even after setting also its displaying so can anyone please give  me reason
Princy
Top achievements
Rank 2
 answered on 21 Feb 2012
1 answer
103 views
I searched around for a solutions but I'm not even sure if my description/search terms were well defined enough.  Here is what I have.  Two Grids on a page.  They are for the most part very unlike data so they cannot be in the same grid.  However, there is one column in each that I am using the Aggregate Sum.  What I would like to do is take the Aggregate Sum from one table and add it from a second table and write that off to a textbox/variable for use elsewhere.

Hopefully that makes sense.  I tried screwing around with the footer, but I couldn't seem to find the right combination to grab the information from the footer.

Thanks,

Richard
Shinu
Top achievements
Rank 2
 answered on 21 Feb 2012
3 answers
106 views
Hello guys 

ı am using custom skin and drag handles in my slider. 
in this case my slider dont displaying correctly Even ThumbsInteractionMode is push or lock. 
is it possible to set minimum value for my end drag or maximum value for start drag?

you can check attachament for screenshots.

Regards

Ömer

omer
Top achievements
Rank 1
 answered on 21 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?