Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
284 views
hi.
How i can dynamicaly Remove boirder of rad dock
i use this code but is not answer!
  dock.BorderStyle = BorderStyle.None;
            dock.BorderWidth = 0;
            dock.BorderColor = System.Drawing.Color.Transparent;
Pero
Telerik team
 answered on 02 Jun 2010
2 answers
349 views
Hi,

 How to format the string of radtextbox within GridTemplateColumn.

Below my code

<

 

telerik:GridTemplateColumn ItemStyle-Width="46px" UniqueName="extension">

 

 

<ItemTemplate>

 

 

<telerik:RadTextBox runat="server" ID="ttxtExtension" Width="44px" Text='<%# Bind("extension") %>'

 

 

Height="13px">

 

 

</telerik:RadTextBox>

 

 

</ItemTemplate>

 

 

<EditItemTemplate>

 

 

<telerik:RadTextBox runat="server" ID="ttxtExtension" Width="44px" Text='<%# Bind("extension") %>'

 

 

Height="13px">

 

 

</telerik:RadTextBox>

 

 

</EditItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 


How to format?
Murugavel B
Top achievements
Rank 1
 answered on 02 Jun 2010
1 answer
305 views
Hi

I've based my application on the example: 
That way to use a provider solved many of my previous problems with the scheduler.

Now I just have one more problem to solve and that is how to filter my resources.
I use two resource types which I populate in the Load functions used in the example. 
But now I have an external filtering possibiliy in my app that gives the user a way to select which resources they want to see in the scheduler. And I cannot find an easy way where to do this filtering in the most easiest way.

My first thought was to do it in the load function but I cannot get that function to run when I post back the scheduler. Only when I 
reload the entire app.
Does anyone know of an easy solution on how to filter my resources correctly?

//Mathias
T. Tsonev
Telerik team
 answered on 02 Jun 2010
7 answers
487 views
Hello, my scenario is as follows:

1. MasterPage with two ContentPlaceHolders.
2. On the Page-level, each ContentPlaceHolder contains a RadAjaxPanel.
3. At any time, the panel called RadAjaxPanel2 might trigger an event which is caught by the Page. The Page wants to update RadAjaxPanel1.

The update is done through:
protected void OrderCreated(object sender, EventArgs e) 
    Orders.DataBindOrders(); 
    RadAjaxPanel2.ResponseScripts.Add(String.Format("$find('{0}').AjaxRequest();", RadAjaxPanel1.ClientID)); 

However, when the Page loads i find the following error in FireBug:

$find("ctl00_MainContent_RadAjaxPanel1").AjaxRequest is not a function 
addFileInput(undefined)Telerik.Web.UI.We... (line 15611) 
initialize()Telerik.Web.UI.We... (line 15461) 
Sys$Component$endUpdate()ScriptResource.ax... (line 2587) 
Sys$Component$create(function(), Object allowedFileExtensions=[".xls"], nullnull, div#ctl00_MainContent_CalcGuide_FUDistributionFile.radupload)ScriptResource.ax... (line 2736) 
Sys$_Application$add_init(function()) 



Note: FUDistributionFile is a RadUpload control located in a UserControl in RadAjaxPanel2.

My question is why can't I interact between the two panels?

Regards
/Linus


Sebastian
Telerik team
 answered on 02 Jun 2010
1 answer
78 views
Hi, i have tree view with CheckBoxes="True", how can i have a checkbox to select all the items in the tree view?
Thanks!
Shinu
Top achievements
Rank 2
 answered on 02 Jun 2010
1 answer
293 views
I have a RadMenu on a web page.  The definition is shown below.
        <telerik:RadMenu ID="RadMenu1" runat="server" Skin="" EnableShadows="true" > 
            <Items> 
                <telerik:RadMenuItem runat="server" Text="<br>Admin Home" NavigateUrl="AdminDefault.aspx" CssClass="menu" > 
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="<br>Translatables" CssClass="menu">  
                    <Items> 
                        <telerik:RadMenuItem runat="server"  Text="Topics" NavigateUrl="AdminTopics.aspx" CssClass="menuitem" > 
                        </telerik:RadMenuItem> 
                        <telerik:RadMenuItem runat="server" Text="News Items" NavigateUrl="AdminNews.aspx" CssClass="menuitem" > 
                        </telerik:RadMenuItem> 
                        <telerik:RadMenuItem runat="server" Text="Press Releases" NavigateUrl="AdminPress.aspx" CssClass="menuitem" > 
                        </telerik:RadMenuItem> 
                        <telerik:RadMenuItem runat="server" Text="Polls" NavigateUrl="AdminPolls.aspx" CssClass="menuitem" > 
                        </telerik:RadMenuItem> 
                    </Items> 
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="<br>Visitors" CssClass="menu">  
                </telerik:RadMenuItem> 
            </Items> 
        </telerik:RadMenu> 
 

I am using two different css classes for the items (refer to above).  The styles are defined as shown below:
.menu{ height:49pxcolor:blackfont-family:Arialfont-size:0.750em; text-decoration:none; }  
.menu:hover{ background-color:orange; height:49pxtext-decoration:underlinetext-align:leftcolor:blackfont-family:Arialfont-size:.750em; }  
 
.menuitem { background-color:#739D00height:24pxtext-decoration:nonetext-align:leftcolor:blackfont-family:Arialfont-size:0.750em; }  
.menuitem:hover{ background-color:orange; height:24pxtext-decoration:underlinetext-align:leftcolor:blackfont-family:Arialfont-size:.750em; }  
 
.menux{ background:url(images/menu-bg.gif); height:49px; }  
 

When the menu displays, the "text-decoration: underline;" works correctly on class "menuitem" but does not work at all on class "menu".  In fact, I have tried several different "text-decoration" settings and none of them work on the "menu" class.

The screen capture images are attached to complete the evidence.  The graphic "Telerik_MenuIssue_MenuItemClass.gif" shows the lower level items with the underlining working.  The graphic "Telerik_MenuIssue_MenuClass.gif" shows the upper leve items with the underlining NOT working.

What do I need to do to correct this?  Sorry for the rather ugly example, but I'm just trying to get this working before I modify it for use on a production page.

Thanks in advance for anyone's help!

Lynn



Yana
Telerik team
 answered on 02 Jun 2010
5 answers
188 views
Hi

The RAD-filter always have the same width.  See screenshot for example.

Is it possible to make the filter to always get the same width as the column?


Thanks
Pavlina
Telerik team
 answered on 02 Jun 2010
1 answer
114 views
When the session time has expired the panelbar doesn’t work. When I click on a link it doesn’t open the selected page, but the page I’m on is reloaded and directly after that can I click on the link and right page opens. But this only happen when session time has expired, otherwise it works great .

I’m use xml to load the panelbar and the menu is in a masterpage.

master.cs:
protected void Menu_Init (object sender, EventArgs e)  
 (  
...  
 XMLstring = menyroot.InnerXml;  
 
            XMLstring =  
                "<? Xml version = \" 1.0 \ "encoding = \" utf-8 \ "?>" +  
                "<PanelBar>" XMLstring + +  
                "</ PanelBar>";  
 
            / / Load menu menutree intonation component ...  
            if (XMLstring! = null & & ((string) XMLstring! = ""))  
            (  
                Menu.LoadXml (XMLstring);                  
            )  
)  
 
master:
 <Telerik: RadPanelBar OnInit = "Menu_Init" id = "Menu" runat = "server" PersistStateInCookie = "true" 
                Width = "160">  
</ Telerik: RadPanelBar> 
 
xml:
<Item Text="ContractCatalog">  
            <Item Text="EntireContractCatalog" NavigateUrl="~/Contract/Catalog/Default.aspx"></Item> 
            <Item Text="Search" NavigateUrl="~/Contract/Search/Default.aspx"></Item> 
            <Item Text="SubscribeContract" NavigateUrl="~/Contract/SubscribeContract/Default.aspx"></Item> 
</Item> 
 

Any suggestion what I should do?


Foppa
Top achievements
Rank 1
 answered on 02 Jun 2010
0 answers
72 views
Hallo Support,

i tried today to create a hierachical RadGrid  with several DetailGrids in the Second layer.
The Problem is, that always only one of the SubGrids get Data, (even the first which found data), the other Grids will not filled even if Rows are existing.


EDIT :

I solved it myself ... there were a Problem in my Code... sorry

Can be closed...






Fabian
Top achievements
Rank 1
 asked on 02 Jun 2010
1 answer
123 views
I am using a RadPanelBar that has panes with Radgrids attached to them (each pane represents a day, and the grid holds items that represent the activities for that day). The purpose is so that a user can flick through a month day by day, viewing the activities for that day.

The RadPanelBar is on my form at design time and has the panes with their grids dynamically added at runtime depending upon whatever month the user is viewing. My problem however is that I ALSO have a dockLayout on the form, and when anything happens, it automatically does a round trip to the server. The RadPanelBar retains it's populated state and has whichever day it was previously open at on display, which is fine, but the grids are no longer attached, presumably as they were created at runtime. Are there any suggestions as to how I can modify my approach so that the grids are retained? I don't really want to do the repopulate the grids each time, as there are 42 of them (a calendar month's worth). I realise this isn't a straightforward question, but any assistance would be appreciated. I would like to retain the state of the RadPanelBar and it's contents when the dockLayout does it's repeated postbacks.
Jon Procter
Top achievements
Rank 1
 answered on 02 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?