Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
144 views
How would I use .glyphicon-remove as the icon for the button on a RadNumericTextBox.

I see that I can upload a separate image but I would rather not since I am using bootstrap and it is already there.

I want to make the input clearable.

Marty
Venelin
Telerik team
 answered on 13 Mar 2015
1 answer
158 views
My grid has been written like below. It has multiple internal RAD grids as ItemTemplates

<telerik:RadGrid ID="SourceGrid" runat="server" ShowGroupPanel="false" AllowSorting="false" ShowFooter="true" AllowPaging="false" HeaderStyle-CssClass="tableHeading br" AutoGenerateColumns="false" GridLines="Both" OnItemDataBound="SourceGrid_ItemDataBound">
<ClientSettings AllowColumnsReorder="false" AllowDragToGroup="false" ReorderColumnsOnClient="false">
<Scrolling AllowScroll="false" UseStaticHeaders="true"></Scrolling>
<Resizing AllowColumnResize="false" EnableRealTimeResize="true" />
<ClientEvents OnCommand="SourceGrid_Command" OnDataBinding="RadGrid1_DataBound" OnGridCreated="GridCreated" />
</ClientSettings>
<ExportSettings>
<Excel />
</ExportSettings>
<GroupingSettings ShowUnGroupButton="true"></GroupingSettings>
<MasterTableView ShowGroupFooter="false" GridLines="Both" DataKeyNames="" GroupHeaderItemStyle-Font-Underline="true">
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
</RowIndicatorColumn>
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column" Created="True">
</ExpandCollapseColumn>
<Columns>
<%--Start Station Details--%>
<telerik:GridBoundColumn UniqueName="EmpNumber" DataField="EmpNumber" HeaderText="EmpNumber" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="8" HeaderStyle-Font-Names="Arial" ItemStyle-Font-Size="8" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle" FooterText="" Visible="true">
<HeaderStyle HorizontalAlign="Center" Font-Bold="True" Font-Names="Arial" Font-Size="8pt"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Font-Size="8pt" Width="5%"></ItemStyle>
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn UniqueName="Name" HeaderStyle-HorizontalAlign="Center" DataField="Name" ItemStyle-Width="5%" HeaderText="Name" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="8" HeaderStyle-Font-Names="Arial" ItemStyle-Font-Size="8" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle" FooterText="">
<ItemTemplate>
<asp:Label ID="Name" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" Font-Bold="True" Font-Names="Arial" Font-Size="8pt"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Font-Size="8pt" Width="5%"></ItemStyle>
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn UniqueName="Age" DataField="Age" HeaderText="Age" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="5%" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="8" HeaderStyle-Font-Names="Arial" ItemStyle-Font-Size="8" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle" FooterText="" Visible="true">
<HeaderStyle HorizontalAlign="Center" Font-Bold="True" Font-Names="Arial" Font-Size="8pt"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Font-Size="8pt" Width="5%"></ItemStyle>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="Designation" DataField="Designation" HeaderText="Designation" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="8" HeaderStyle-Font-Names="Arial" ItemStyle-Font-Size="8" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle">
<HeaderStyle HorizontalAlign="Center" Font-Bold="True" Font-Names="Arial" Font-Size="8pt"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Font-Size="8pt"></ItemStyle>
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn UniqueName="Salary" HeaderStyle-HorizontalAlign="Center" DataField="Salary" ItemStyle-Width="5%" HeaderText="Salary" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="8" HeaderStyle-Font-Names="Arial" ItemStyle-Font-Size="8" ItemStyle-HorizontalAlign="Center" ItemStyle-VerticalAlign="Middle" FooterText="">
<ItemTemplate>
<asp:Label ID="Salary" runat="server" Text='<%# Eval("Salary") %>'></asp:Label>
</ItemTemplate>
<HeaderStyle HorizontalAlign="Center" Font-Bold="True" Font-Names="Arial" Font-Size="8pt"></HeaderStyle>
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Font-Size="8pt" Width="5%"></ItemStyle>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn UniqueName="Cy1" HeaderStyle-HorizontalAlign="Center" HeaderText="Cycle 1" HeaderStyle-Font-Bold="true" HeaderStyle-Font-Size="8" ColumnGroupName="C1" HeaderStyle-Font-Names="Arial" ItemStyle-Font-Size="8" ItemStyle-HorizontalAlign="Right" ItemStyle-VerticalAlign="Top" FooterText="">
<ItemTemplate>
<telerik:RadGrid ID="Cycle1Grid" runat="server" ShowGroupPanel="false" AllowSorting="false" GridLines="Both" ShowFooter="false" AllowPaging="true" PageSize="100" AutoGenerateColumns="false" OnDeleteCommand="cycle1_OnDeleteCommand" OnEditCommand="cycle1_EditCommand" OnItemCreated="cycle_ItemCreated" OnUpdateCommand="cycle1_UpdateCommand" OnCancelCommand="Cycle_CancelCommand">
<GroupingSettings ShowUnGroupButton="true"></GroupingSettings>
<MasterTableView Name="tblCycle1" ShowGroupFooter="true" GridLines="Both" EditMode="InPlace" DataKeyNames="PK_Dish_id">
<Columns>"

I need to access the grid which I made bold in above code. I am able to access the main grid and able to bind it like below

var tableView = $find("<%= SourceGrid.ClientID %>").get_masterTableView();
tableView.set_dataSource(GridData);
tableView.dataBind();

Same way how can I access the inner grid (bold one)? 

"<%= Cycle1Grid.ClientID %>" showing error that it's not available in the context and still not sure about the right way to access it. I am not able to see this grid inside my designer file too. Any help would be appreciated.



The 













Maria Ilieva
Telerik team
 answered on 13 Mar 2015
5 answers
236 views
Hi All,

Could someone help me in understanding how to determine which radmenu item was clicked/selected from a page using master page. I'm trying to get the selectedvalue of that menu item to save to a database and also to determine  which user control to populate on the page.

That is, my radmenu is on my master page and from any page in the application i would like to determine which radmenu item were selected.

Thanks in advance for your response.
Patrick.
Boyan Dimitrov
Telerik team
 answered on 13 Mar 2015
5 answers
124 views
Hi Team,

I am unable to see Telerik RAD Editor Toolbar sometimes. I have set my Toolbar mode as “ShowOnFocus”.
Scenario:
If I scroll down to the page and click inside Telerik RAD Editor, then Toolbar is not displayed as shown below:



Kindly suggest how can I resolve this issue.

Thanks & Regards,
Lipi
Ianko
Telerik team
 answered on 13 Mar 2015
1 answer
69 views
Hi, we are experiencing a significant issue with the Table Properties wizard in the editor where it is re-writing our HTML code (incorrectly) whenever we try to edit the table properties via the popup.  Please watch the video here: http://youtu.be/TmuLBH0KKnk to see this problem first hand.  If there are any recommendations for things we can change to fix this we'd greatly appreciate it.  If there is any additional information that we can provide please let me know.

Thanks!
-Mark
Ianko
Telerik team
 answered on 13 Mar 2015
8 answers
232 views
Telerik Product version: 2014.1.403.40

There is an issue of extra <DIV> tag inserted into the HTML code during the bullet list creation in theTelerik Editor. It is preventing the user from adding addition bullet entry in the bullet list. (See attached doc Steps to reproduce the extra.png for the steps to reproduce the issue. This is a Word docx. Please rename it docx extension to open it).

Thanks,
Chuck
Wolters Kluwer/UpToDate Inc.
Ianko
Telerik team
 answered on 13 Mar 2015
0 answers
106 views
Hi

  I am using the below code in my index page
<script>
  $(function () {
        if (somecondition) {
            getresult();
        }
        if (anothercondition > 0) {
           setTimeout(function () {
                if (result.toLowerCase() == "true") {
                    window.location.href = "goto result page;
                }
                else {
                    window.location.href = "goto index page";
                }
            }, 9000);
        }
    });

function getresult() {
        $.ajax({
            url: '@Url.Action("action", "controller")',
            data: {
                param1: 0
            },
            type: 'GET',
            async: true,
            contentType: "application/json;charset=utf-8",
            cache: false,
            success: function (data) {
                result = data
            },
            error: function (x, t, m) {
                result = "FAILURE"
            }
        });
    }
</script>

I would like to navigate to some other view ex: "sample/failedstatus"
How can I do, as though I place the code something like below i am not able to redirect page 

  error: function (x, t, m) {
    window.location.href = "test/sample/failedstatus";
                result = "FAILURE"
            }

Can anyone help me how can I do this?

Thanks in advance








sho
Top achievements
Rank 1
 asked on 13 Mar 2015
0 answers
182 views
Hello,

My site was working perfect but suddenly stop working and getting error of "This control is complied for ASP.NET 1.x. Please use the ASP.NET 2.0 native version: RadPanelbar.Net2.dll" find in attachment.

Please help me as soon as possible.

Thanks.
Bhumi
Top achievements
Rank 1
 asked on 13 Mar 2015
1 answer
144 views
Hi
I have requirement where i have data shown in Rad Grid(Assuming 4 Columns) and for each row at the end i need to add button as Update
Once i clicked the Update button i want pop up window opened with the values for the row.
I was able to achieve the same using the below Example
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultcs.aspx.
But now the requirement is little complicated here
Assuming We show EmployeeId,Firstname,Lastname and State
1 Steve Jobs CA as example
When clicked on edit button it shows me these values and i can manullay update - But for Countries in need all the States avaialble - Say a list of 50 States shown rather than just textbox of CA and manually typing  chaning to NJ - I want dropdown of all 50 States which i have in List and Have CA - selected.
This way the user can edit select what ever state he wants to select.

How to achieve the same, Thanks in advance
Pavlina
Telerik team
 answered on 12 Mar 2015
7 answers
283 views


 I am trying to build a simple web page with RAD TabStrip Control from Telerik. The Mulitpage controls corresponding to the TabStrip controls have an SSRS report item embedded inside of it. When debugging the application from within Visual Studio, I see the first Tab correctly but all other tabs have a problem. The SSRS report item within all other tabs is shrinked to an item that is only 1 pixel wide. Almost invisibile but if you look closely you can notice. Using Visual Studio 2010 and SSRS 2008.


 

<asp:Content ID="BodyContent" ContentPlaceHolderID="BodyContent" runat="server"
  
<telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True"
</telerik:RadScriptManager
  
<br /> 
  
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="3" 
     ReorderTabsOnSelect="True" Skin="Outlook" style="margin-bottom: 41" 
     MultiPageID="RadMultiPage1"
    <Tabs
    <telerik:RadTab runat="server" Text="Item 1" Selected="True"
    </telerik:RadTab
    <telerik:RadTab runat="server" Text="Item 2"
    </telerik:RadTab
    <telerik:RadTab runat="server" Text="Item 3"
    </telerik:RadTab
    <telerik:RadTab runat="server" Text="Item 4"
    </telerik:RadTab
    </Tabs
</telerik:RadTabStrip
  
<telerik:RadMultiPage ID="RadMultiPage1" runat="server" BorderColor="Black" 
    BorderStyle="Solid" BorderWidth="1px" SelectedIndex="3"
  
<telerik:RadPageView ID="RadPageView1" runat="server" Selected="True" Width="100%"
    <div style="width: 100%; min-width: 100px"
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
    Font-Size="8pt" InteractiveDeviceInfos="(Collection)" ProcessingMode="Remote" 
    WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="100%" 
    CssClass="aspNetDisabled"
    <ServerReport ReportPath="^^^Some Path Goes in here^^^" /> 
    </rsweb:ReportViewer
    </div
</telerik:RadPageView
  
<telerik:RadPageView ID="RadPageView2" runat="server" Width="100%"
    <div style="width: 100%; min-width: 100px"
    <rsweb:ReportViewer ID="ReportViewer2" runat="server" Font-Names="Verdana" 
    Font-Size="8pt" InteractiveDeviceInfos="(Collection)" ProcessingMode="Remote" 
    WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="100%" 
    CssClass="aspNetDisabled"
    <ServerReport ReportPath="^^^Some Path Goes in here^^^" /> 
    </rsweb:ReportViewer
    </div
</telerik:RadPageView
  
 <telerik:RadPageView ID="RadPageView3" runat="server" Width="100%"
     <div style="width: 100%"
    <rsweb:ReportViewer ID="ReportViewer3" runat="server" Font-Names="Verdana" 
    Font-Size="8pt" InteractiveDeviceInfos="(Collection)" ProcessingMode="Remote" 
    WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="100%" 
    CssClass="aspNetDisabled"
    <ServerReport ReportPath="^^^Some Path Goes in here^^^" /> 
    </rsweb:ReportViewer
    </div
</telerik:RadPageView
  
<telerik:RadPageView ID="RadPageView4" runat="server" Width="100%"
    <div style="width: 100%"
    <rsweb:ReportViewer ID="ReportViewer4" runat="server" Font-Names="Verdana" 
    Font-Size="8pt" InteractiveDeviceInfos="(Collection)" ProcessingMode="Remote" 
    WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="100%" 
    CssClass="aspNetDisabled"
    <ServerReport ReportPath="^^^Some Path Goes in here^^^" /> 
    </rsweb:ReportViewer
    </div
</telerik:RadPageView
</telerik:RadMultiPage
  
<br /> 
  
</asp:Content

 

asp:Content>

 

MBEN
Top achievements
Rank 2
Veteran
 answered on 12 Mar 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?