Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
76 views
Within a function I am iterating through the GridDataItems of an instance of the GridDataItemCollection and I need to determine the level within the hierarchy.

How can I determine what level of the hierarchy a GridDataItem or the GridDataItemCollection belongs to?

Thanks
Shinu
Top achievements
Rank 2
 answered on 12 Mar 2013
1 answer
82 views
Hello,

How can we set the font of RadGauge scale text from code behind? I am unable to find any Font property in the visual studio itellisense.

Thank you,
Antony.
Princy
Top achievements
Rank 2
 answered on 12 Mar 2013
1 answer
315 views
I can't show the image from the database

Grid DataSource = LinqSource;

GridBoundColumn:  DataField = "ImgID" DataType : system.int
GridBinaryImageColumn : DataField="Img" DataType: system.string

I get the  img id but image is not diplayed in my grid
Shinu
Top achievements
Rank 2
 answered on 12 Mar 2013
1 answer
169 views
Hi,

I want to know how to display a Radprompt on button click. Please help with sample code.

Thanks,
Ivy.
Princy
Top achievements
Rank 2
 answered on 12 Mar 2013
1 answer
225 views
I am trying to access my radcomboboxes that are in my GridTemplateColumn when the Item command perform insert is fired.
protected void radGridAssetLocationHistory_ItemCommand(object sender, GridCommandEventArgs e)
{
     //Refresh Command Button was pressed
    if (e.CommandName == RadGrid.RebindGridCommandName)
    {
        radGridAssetLocationHistory.Rebind();
    }
    if (e.CommandName == RadGrid.PerformInsertCommandName)
    {
        //Need to access the items to perform insert
    }
}
<telerik:RadGrid ID="radGridAssetLocationHistory" runat="server" Skin="WebBlue" CellSpacing="0" GridLines="None" ShowStatusBar="True"
                    GroupingEnabled="False" OnNeedDataSource="radGridAssetLocationHistory_NeedDataSource" ShowFooter="True" AutoGenerateColumns="False" OnItemCommand="radGridAssetLocationHistory_ItemCommand" OnItemDataBound="radGridAssetLocationHistory_ItemDataBound">
                   <MasterTableView CommandItemDisplay="Top" DataKeyNames="TubularLocationID" InsertItemPageIndexAction="ShowItemOnCurrentPage" InsertItemDisplay="Top"  EditMode="InPlace">
                       <CommandItemSettings AddNewRecordText="Relocate Tubular To New Location" ShowRefreshButton="true"></CommandItemSettings>
                               <Columns>
                                    <telerik:GridEditCommandColumn UniqueName="CommandColumn" />
                                   <telerik:GridBoundColumn AllowFiltering="False" AllowSorting="False" DataField="TubularLocationID" DataType="System.Guid" Display="False" FilterControlAltText="Filter TubularLocationID column" Groupable="False" HeaderText="TubularLocationID" ReadOnly="True" ShowSortIcon="False" UniqueName="TubularLocationID">
                                   </telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn AllowFiltering="False" AllowSorting="False" DataField="TubularID" DataType="System.Guid" Display="False" FilterControlAltText="Filter TubularID column" Groupable="False" HeaderText="TubularID" ReadOnly="True" ShowSortIcon="False" UniqueName="TubularID">
                                   </telerik:GridBoundColumn>
                                   <telerik:GridBoundColumn AllowFiltering="False" AllowSorting="False" DataField="LocationDate" DataType="System.DateTime" FilterControlAltText="Filter LocationDate column" Groupable="False" HeaderText="Location Date" ReadOnly="True" ShowSortIcon="False" UniqueName="LocationDate">
                                   </telerik:GridBoundColumn>
                                   <telerik:GridTemplateColumn DataField="Region.Region1"  HeaderText="Region" UniqueName="Region" Display="true">
                                       <ItemTemplate><%# Eval("Region.Region1") %></ItemTemplate>
                                       <EditItemTemplate>
                                           <telerik:RadComboBox ID="radComboRegions" runat="server" Skin="" OnSelectedIndexChanged="radComboRegions_SelectedIndexChanged" AutoPostBack="true" CssClass="CustomRCB" DropDownWidth="200px" MarkFirstMatch="true" AllowCustomText="false" ></telerik:RadComboBox>
                                       </EditItemTemplate>
                                   </telerik:GridTemplateColumn>
                                    <telerik:GridTemplateColumn DataField="Facilit.Facility1"  HeaderText="Facility" UniqueName="Facility">
                                         <ItemTemplate><%# Eval("Facility.Facility1") %></ItemTemplate>
                                        <EditItemTemplate>
                                           <telerik:RadComboBox ID="radComboFacilities" runat="server" Skin="" CssClass="CustomRCB" OnSelectedIndexChanged="radComboFacilities_SelectedIndexChanged" AutoPostBack="true" DropDownWidth="200px" MarkFirstMatch="true" AllowCustomText="false" ></telerik:RadComboBox>
                                        </EditItemTemplate>
                                   </telerik:GridTemplateColumn>
                                    <telerik:GridTemplateColumn DataField="Region.Region1"  HeaderText="Area" UniqueName="Area">
                                         <ItemTemplate><%# Eval("Area.Area1") %></ItemTemplate>
                                         <EditItemTemplate>
                                           <telerik:RadComboBox ID="radComboAreas" runat="server" Skin="" CssClass="CustomRCB" DropDownWidth="200px" MarkFirstMatch="true" AllowCustomText="false" ></telerik:RadComboBox>
                                         </EditItemTemplate>
                                   </telerik:GridTemplateColumn>
                               </Columns>
                   </MasterTableView>
                   <FilterMenu EnableImageSprites="False"></FilterMenu>
               </telerik:RadGrid>
Brett
Top achievements
Rank 1
 answered on 12 Mar 2013
1 answer
51 views
I need to schedule this rule on the calendar using the Recurrence Rules. Do you guys know how to create this rule and is there sample code to do this?
Kevin
Top achievements
Rank 2
 answered on 11 Mar 2013
4 answers
951 views

Hi All,

 Is it possible to show only vertical lines in radgrid without any borders. I mean just a seperator of vertical line between columns. I don't want any borders an seperators between grid header and rows.

any help will be appreciated.

Thanks.

 

Anjali
Top achievements
Rank 1
 answered on 11 Mar 2013
1 answer
209 views
I upgraded to new Telerik version 2012.3.1308.35 from 2010.3.1109.35. All applications are on Sharepoint 2010 and everthing works fine with old telerik But with the new Telerik am getting so many errors.

Old Telerik Settings 1.  GAC:
Telerik.Web.Design
Telerik.Web.UI
2.  Web.config:
<SafeControl Assembly="Telerik.Web.UI, Version=2010.3.1109.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" SafeAgainstScript="True" /><httpHandlers><add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2010.3.1109.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" /><add path="Telerik.Web.UI.DialogHandler.axd" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2010.3.1109.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" /></httpHandlers>3.  In application user controls:<%@ Register Assembly="Telerik.Web.UI, Version=2010.3.1109.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"Namespace="Telerik.Charting" TagPrefix="telerik" %><%@ Register Assembly="Telerik.Web.UI, Version=2010.3.1109.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"Namespace="Telerik.Web.UI" TagPrefix="telerik" %>Web.config settings modified for new Telerik1.    Added Telerik.Web.UI.Skins in GAC2.    Added SafeControl for Skins in Web.config3.    Registered Skins assembly in User Control4.    HttpHandlers are same as for old Telerik.Could you please let me the web.config settings required for Telerik Version 2012.3.1308.35Thanks,

 

Slav
Telerik team
 answered on 11 Mar 2013
2 answers
84 views
I have a TreeView that loads child nodes through a webservice call when I expand by clicking or by calling .expand() on the node object in javascript.
I need to load (atleast sometimes) large number of child nodes and I would like to be able to quickly server the UI a list of parent nodes that are then by filled with childnodes through the webservice from JS on the client side.

So for example in the $.ready() event start loading childnodes for my tree without expanding them.

The reason is that i have a filter box that searches the treeview structure and therefore I need all the nodes but I dont want to take the performance hit at the first rendering.

Is it possible to call a method like (psuedo) .load_from_webservice() on the Node client objects?
Wendelstam
Top achievements
Rank 1
 answered on 11 Mar 2013
3 answers
133 views
Is there a client API to define custom webServiceLoaders/webServiceSettings?

I'm trying to Dynamically load content from an AJAX call which returns an entire Serialized RadMenu or a refresh of specific sub-menues.

are there any Client APIs to simply say

var items = menu.get_items();
items.clear();
items.loadXml(UrlToRestService);

and

var items = menu.findItemByText("My Dirty Dynamic Menu").get_items();
items.clear();
items.loadXml(UrlToSubMenuSpecificRestService);



I can add my own prototype method to create this API, but I would like to know if anything like this already exists.
Thanks.
Genady Sergeev
Telerik team
 answered on 11 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?