Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
143 views
I'm storing selected dates as a DatetimeCollection in a custom object.
I want to be able to store that object in viewstate, but I've been gettting the Serialization error

"Telerik.Web.UI.Calendar.Collections.DateTimeCollection is not marked as serializable"


i've already marked the class itself as Serializable, is there any way to serialize this?
or should I store the selected dates as an array or some other format?

Thank you
Deb
Debbie Wright
Top achievements
Rank 1
 answered on 01 Jun 2009
2 answers
234 views
Hi,

i have requirement where i should show one column with a  single bar for each row .. below gives little idea on how it should look
http://img0.gmodules.com/ig/modules/bar-chart.png

but for each row should have one bar which show 3 numbers (quantities) with different colors.

i dont require any x or y axis it can be a line or lable with 3 different colors filled in it depending on the numbers provided within the row cell.

is there any way to get that within the grid? or is there any logic so that i can fill the row cell with the colors?

Please help me if any one have done similar thing

thanks
-Krishna


Krishna
Top achievements
Rank 1
 answered on 01 Jun 2009
5 answers
212 views
I have added some custom colors declaratively using the <telerik:EditorColor> tag. However when i view the color pallet it displays the hexadecimal value (#ACD9F4) for the color  as opposed to displaying the title (Light Blue). How do i get the title displayed instead?

 

<telerik:EditorColor Title="Light Blue" Value="#ACD9F4" />

Thanks

 

 

Rumen
Telerik team
 answered on 01 Jun 2009
1 answer
153 views
I'd like to do some cool RAD Menu implementations in my sites and I'm looking for some good samples to use or to start from. The Telerik demo's have two "appearance" samples. The apple one looks cool, but not realistic for what I'm trying to do. It would be great to see more. 

Here are two web sites showing a variety of different visuals you can do with their menus. It would be good to see the same type of thing for the Telerik menus...

Anyone here have some public facing sites using the Telerik menu that look awesome and would want to show off?
Alex Gyoshev
Telerik team
 answered on 01 Jun 2009
3 answers
177 views
Hello,
At First, I can't get the property value of the externall css file in code behind, so i can't set the value of each item to export PDF.
Second, I wanna export PDF on client-side but how to set Cssclass of the external css file for Grid's Items.

Any suggest to solve these issues.
Thanks and best regards,
Le
Georgi Krustev
Telerik team
 answered on 01 Jun 2009
3 answers
54 views
Hi,

I need  to customize the method to add the path link to the mapped items. Exist some way to add one button at left of path textbox link to open one designer to searching the path in my cms and after return this path in the Textbox space used by the ImageMap.
I searching to be able to map my cms pages in the ImageMap tool.
Other way can be when user click of textbox path open one Radwindow that contains the cms designer used for get paths and when closed return in the textbox the path as text. Some help plz. Regards
Rumen
Telerik team
 answered on 01 Jun 2009
1 answer
104 views
Hi,
After some version you have changed the returned method for all Managers. Only Imagemanager is documented in some posts. Could you explain how to return the "src" of FlashManager in the  txt.value=args.get_value(); I searching the path to the file.
Could you post plz for the tree Managers the method to get the src of file.
 
Thanks 
Rumen
Telerik team
 answered on 01 Jun 2009
6 answers
226 views
Hello,

I have spent quite a few days on this and I couldn't come up with a solution.

I have a grid that has scrolling enabled. Everything works great except that after the last column a sliver of white space is added which causes the page to have a scroll bar which i am trying to avoid. I could create a screen shot - but I don't see an option to attach.

Your help on this will be much appreciated.

Thanks
Bala
BALA MUKUND
Top achievements
Rank 1
 answered on 01 Jun 2009
1 answer
107 views
I used the code in the demo to SaveDockLayout but the 

SaveDockLayout event is fired only if user posted pack the page. Is there any solution to save the dock state from the client(As soon as the user changes the postion of RadDock or collapse/expand)? Dock layout is not saved if user navigate to anothor page.

Best Regards.

Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 01 Jun 2009
3 answers
318 views
I read that Hyperlink/TemplateColumn don´t support SortExpression as "[entity].[propertyNameOfRelatedEntity]". BoundColumn it`s ok.

I found a "temp solution" for sort by field of related entity in TemplateColumn. I use a very simple example scenario: Users and Profiles.

  • Entity USER: ID_USER, NAME_USER; ID_PROFILE.
  • Entity PROFILE: ID_PROFILE, NAME_PROFILE
  • The Grid show: ID_USER, NAME_USER, PROFILE.NAME_PROFILE
  • All grid columns enable sorting.

if grid column of NAME_PROFILE it's GridBoundColumn and the SortExpression is "PROFILE.NAME_PROFILE" sort it's OK, but this column is GridTemplateColumn throw an exception: "PROFILE.NAME_PROFILE" column not found. it's true, entity USER don`t contains "PROFILE.NAME_PROFILE" property. 

A possible solution is flatting the results (use an anonymous type, view with join...)

Well, if you put:
  1. A GridBoundColumn with DataField and SortExpression "PROFILE.NAME_PROFILE" with Visible="false"
  2. A GridTemplate with DataField and SortExpression "PROFILE.NAME_PROFILE" (with Visible="true" :-P)
<telerik:RadGrid ID="rgUsuarios" runat="server"  
        AutoGenerateColumns="false" AllowFilteringByColumn="true" AllowSorting="true" 
        <MasterTableView EditMode="InPlace" CommandItemDisplay="Top" DataKeyNames="ID_USUARIO"> 
            <Columns> 
                ... 
                ... 
                <telerik:GridBoundColumn DataField="PERFIL.DSC_PERFIL" HeaderText="Perfil" SortExpression="PERFIL.DSC_PERFIL" FilterControlWidth="130px" Visible="false"> 
                    <HeaderStyle    HorizontalAlign="Center"    Width="150px" /> 
                    <ItemStyle      HorizontalAlign="Center" /> 
                </telerik:GridBoundColumn> 
                <telerik:GridTemplateColumn DataField="PERFIL.DSC_PERFIL" HeaderText="Perfil" SortExpression="PERFIL.DSC_PERFIL" FilterControlWidth="130px"> 
                    <HeaderStyle    HorizontalAlign="Center"    Width="150px" /> 
                    <ItemStyle      HorizontalAlign="Center" /> 
                    <ItemTemplate> 
                        <asp:Label ID="lblDscPerfil" runat="server" Text='<%# Eval("PERFIL.DSC_PERFIL") %>'  /> 
                    </ItemTemplate> 
                    <EditItemTemplate> 
                        <telerik:RadComboBox ID="rcbPerfil" runat="server" Width="95%" /> 
                    </EditItemTemplate> 
                </telerik:GridTemplateColumn> 
                ... 
                ... 
            </Columns> 
        </MasterTableView> 
    </telerik:RadGrid> 
 
 

The click on TemplateColumn Header sort the grid OK. I don`t know the reason, but run OK. 

Conclusion: Adding an invisible GridBoundColum with same Datafield and SortExpression "simulate" the sorting by related field entity it's ok.

I hope that this "patch" will be useful.
Nikolay Rusev
Telerik team
 answered on 01 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?