Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
198 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
246 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
80 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
988 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
227 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
99 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
155 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
8 answers
188 views
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    This is the first page.<br />
            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default2.aspx">Go to page with combobox</asp:HyperLink>
  
    </div>
    </form>
</body>
</html>
  
  
  
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>
  
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
    <div>
            Hitting the Backspace key after selecting an item here will redirect back to Default
            <telerik:RadComboBox ID="RadComboBox1" runat="server">
            <Items>
                <telerik:RadComboBoxItem Value="0" Text="Item 0" />
                <telerik:RadComboBoxItem Value="1" Text="Item 1" />
                <telerik:RadComboBoxItem Value="2" Text="Item 2" />
                <telerik:RadComboBoxItem Value="3" Text="Item 3" />
            </Items>
            </telerik:RadComboBox>
    </div>
    </form>
</body>
</html>
I am sure this has been addressed before, but I couldn't find any reference for it. So, here is the problem I found: when an item in a radcombox is selected, if you hit the backspace key, you will be redirected to the previous page. Below is my code: Starting from Default.aspx page, click on the hyperlink to Default2.aspx; selecting any of the items in the Radcombobox, hit the backspace key and you go back to Default.aspx.

Hopefully, it would be a simple solution to fix this. Thanks.

Tri Nguyen

Hristo Valyavicharski
Telerik team
 answered on 11 Mar 2013
2 answers
101 views
Hi

I am trying to change the style of my headercontextmenu since it is transparent now on the RadGrid. How can i change this?

thanks

Dirk
Raj
Top achievements
Rank 1
 answered on 11 Mar 2013
1 answer
112 views
Hello,
I would like to update my language localization of GlobalResources from Q3/2012 to Q1/2013.
I found that original files RadColorPicker.resx, RadSocialShare.resx and RadWindow.resx are missing
in new Q1/2013 installation package. Are their contents moved to the other files?
Thanks
-Marian
Marin Bratanov
Telerik team
 answered on 11 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?