Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
144 views

I have a hierarchy grid that has 6 detail tables.  All the data for the grid is bound in code behind.

I need to create custom insert, edit and delete templates for each of the detail tables.  The information I have found has the datasource client side.  I need information to create these server side.

 

Maria Ilieva
Telerik team
 answered on 25 Mar 2016
3 answers
251 views

Is it possible to use .NET themes with RadStyleSheetManager?

When I use a RadStyleSheetManager to combine my external stylesheets, it places the WebResource file AFTER the .NET themes stylesheet in the Head tag, with the result that the theme I'm trying to apply from the App_Themes folder is overridden by the base styles in the external stylesheets combined by the Telerik control. As in:

<head>

<link href="../App_Themes/Demo_Theme/Demo_Theme.css" type="text/css" rel="stylesheet">

<link href="/QReg/Telerik.Web.UI.WebResource.axd?d=PMrIT5dOWaVYIcpFWUE4nL08EMI2VcWAw0rknd-hZDTwvbi5j9SontBAefw4vSph5ju3TcQNZ2u3pCuQ6PYF0RLbspBmxlwTBIWwYaZtNs3fJnQ30&amp;t=635918753441826527&amp;compress=1&amp;_TSM_CombinedScripts_=%3b%3b%7c635941629785528787%3ab27e5558%3a59f3f810%3a95dff68a%3a74ee2317%3a6cdcd2e9%3a6581de0b%3a88af4fc4" type="text/css" rel="stylesheet">

</head>

Is there a way to get the StyleSheetManager to place its webresource file before the .NET themes file?

Thanks

Veselin Tsvetanov
Telerik team
 answered on 25 Mar 2016
1 answer
140 views

Hello,

My special scenario is as follows:

A topMenu with sublinks and a boxmenu with this sublinks on the page. I don't want to show the sublinks as expanded dropdown in the topMenu. The user should only one click on the top menu to reach the subpage, where the boxMenu will be visible. The links on the box menu should be "connected" with the topMenu to let the topLink as marked.

So my idea, let the topMenu expanding disabled. I have created two sitemapProviders web.sitemapTop and web.siteMapBox with the related structure.

With "expanding" the top-menu, all works fine. But I want to avoid expanding the TopMenu because of design-reasons (surely a bit user unfriendly...).

When I delete the submenuItems from the TopSiteMap, the boxLinks don't let the TopMenuLink as marked...

How can I disable the expand functionality of a radmenu (asp.net)?

Thanks in advance.

 

regards,

lux

Ivan Danchev
Telerik team
 answered on 25 Mar 2016
5 answers
245 views
Hi Team

I am trying to load RadPageView Dyamically inside the RadTab but unable to do so.

Ex: I have a treeview and RadTab on the screen. My requirement is if user selects the value in treeeview ex: Exmployee, then I need to dispaly Employee.aspx in RadTab. Similarly if user selects Department then display Department in RadTab.

Below is my code:

<telerik:RadTab
    runat="server"
    Value="ADM110_DepotAdminManage_Tab"
    Text="Depot"
     PageViewID="RadPageView_ADM110_DepotAdminManage" />
 
                  <telerik:RadPageView
                    ID="RadPageView_ADM110_DepotAdminManage"
                    runat="server"
                    ContentUrl="ADM110_DepotAdminManage.aspx"
                    Height="90%" >
            </telerik:RadPageView>
In the above code, I am unable to change the ContentUrl dynamically. Please let me know is any method to change contentUrl dynamically.

Thanks
Sharan
Ivan Danchev
Telerik team
 answered on 25 Mar 2016
2 answers
268 views

Hi I have following structure of code

 

 
 Global.asax - conytains URL Routing as it is
 -------------------------------------------------------------------
 routes.MapPageRoute("Company",
                "/Health/Company/{ID}/{Name}",
                "~/Health/company/CompanyPro.aspx"
                );


Company.master contains tabstrip and iam creating the Dynamic url url1 url2 etc. Hoe can i assign this url to  tab strip url through javascript ?

-----------------------------------------------------
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
        <script type="text/javascript">
...........
var url1 = String.format('/Health/Company/{0}/{1}/{2}', clientid, name);
var url2 =  --- Some URL ---

</script>

please help
           
</telerik:RadScriptBlock>

 <telerik:RadTabStrip ID="radTabMain" runat="server" Width="100%" OnTabClick="radTabMain_TabClick">
            <Tabs>
                <telerik:RadTab Text="Home" runat="server" Url="">
                </telerik:RadTab>
                <telerik:RadTab Text="AboutUs" runat="server" Url="">
                </telerik:RadTab>
                <telerik:RadTab Text="Contact Us" runat="server" Url="">
                </telerik:RadTab>
                <telerik:RadTab Text="Feedback" runat="server" Url="">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>

Nencho
Telerik team
 answered on 25 Mar 2016
16 answers
1.3K+ views
Hi all,

I have a rad grid table where one of the columns is the "Group By" column.  When I export to excel, all I want is just the data exported in the order that is presented on the screen, but I get the extra "header" group by lines.  IE...

COL1         COL2         COL3
COL1: 12345
12345         xxx               yyy
12345         fygr               dhet
12345         kljasdflk         qweqwe
COL1: 56789
56789         iouoaisuio     oiuiou
56789         werwer         ewrwer

How I can the export to excel to NOT export the group by header lines?  I have "ExportOnlyData" set to true.

I tried the following just before the export...

RadGrid1.GroupingEnabled = false;
RadGrid1.Rebind();

...but the rebind changed the order of the rows so that the data was no longer grouped.

Thanks!
Daniel
Telerik team
 answered on 25 Mar 2016
1 answer
84 views
I am using a linkbutton to use teleriks excel export to export the entire tree of the rad tree list. Is there a way to style the parent rows only? I see an expand collapse cell style setting, but that just styles the cell with the expand/collapse icon. However, I need to style that entire row. Is there a way to do that?
Kostadin
Telerik team
 answered on 25 Mar 2016
3 answers
331 views

Hi, I want users to upload excel sheets in predefined manner which we already defined to them.

Upon upload, we would need to validate and save to database.

i think I can use radupload to upload it, but how to mark cells in red which are not valid

For example, say a cell for last name is empty or birthdate is not in correct format,etc

Appreciate if you can give approach to this or sample code

Thanks

Swetha

 

Bozhidar
Telerik team
 answered on 25 Mar 2016
3 answers
107 views

Hi,

We are using scheduler and works great.

We have a new requirement where a person can create appointment for anyone.

Can we add a drop down in the appointment options to select which person this appointment is created for?

 

Thanks

Veselin Tsvetanov
Telerik team
 answered on 25 Mar 2016
5 answers
152 views

Hello,

Is there some working sample of a  RadGrid with EditFormType = "WebUserControl" and where this UserControl contains a combobox with EnableLoadOnDemand = true? The issue I'm facing in this scenario is that when I try to set selectedValue of the combo in code behind using OnDataBinding handler or in markup using <%#%> tags, inside the user control, I get "selection out of range" exception when radgrid is binding. In other threads it's suggested to set RadComboBox.SelectedValue in RadGrid.ItemDataBound handler, but I would rather keep initialization inside the user control.

Thank you!

Kostadin
Telerik team
 answered on 25 Mar 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?