Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
203 views
Hi,
     I am using a RadGrid. Initially, when the page loads,    ShowGroupPanel property of Grid is set to false. I have a button on my page. When a user clicks on that button, i want to show the grouping panel without postback. Is there any javascript function to do it?
Sumit
Top achievements
Rank 1
 answered on 21 Feb 2012
2 answers
94 views
Telerik Team,

My requirement is to dynamically bind a RadMenu inside the RadPanelBar. I am able to achieve this, but the problem here is if I am trying to create the ItemTemplate for each RadMenuItem inside the RadMenu then the arrow image is getting disappeared if a menu item has submenu items. It will be great if you can suggest me how I can achieve this. I have attached the sample code snippets as well as the screenshot.



Thanks,
Nish 
Nish
Top achievements
Rank 1
 answered on 21 Feb 2012
3 answers
97 views
Hi,

This is my requirement, In month view no scroll bar should come and it should occupy full height. Say if the screen resolution changes, month view should resize itself to occupy full height also it should display more or less number of appointments based on the height it gets.

Please let me know if this is feasible. 

Regards,
Pooja
Plamen
Telerik team
 answered on 21 Feb 2012
3 answers
187 views
I want to remove the default classes RadTreeView RadTreeView_Default. so that the containing div of the treeview does not have class="RadTreeView RadTreeView_Default". I have created a custom control that inherits from RadTreeView and in there I am overriding the CssClassFormatString property and returning an empty string.

When I use this custom class is my control the 'class="RadTreeView RadTreeView_Default"' is removed, but treeview no longer shows the boxes to expand the tree after the first level which I am expanding in code.  The html source shows all of the additional levels are still being generated.

Is there something that I need to set to maintain the expanding nodes, or is there an easier way to remove the default classes without creating a custom control that inherits the RadTreeView?

Thanks
Peter
Plamen
Telerik team
 answered on 21 Feb 2012
2 answers
625 views
Hi,
 is there a easy way to change the font-family style and eventually size to all controls  ?

regards
Alessandro
Eim
Top achievements
Rank 1
 answered on 21 Feb 2012
1 answer
92 views

If EnableDragAndDrop="true" the Textbox in ItemTemplate is not editable. Interestingly, I can right-click in the TextBox and it becomes editable but normal left-click does nothing. Setting EnableDragAndDrop="false" makes everything work normally.

Seems like a bug to me, but is there some type of work-around or additional property that needs to be set? Thanks!

The following code works fine, but setting EnableDragAndDrop="true" stops the TextBox from being edited (unless you right-click it as mentioned prior).

<telerik:RadListBox ID="RadListBox2" runat="server"
    AllowReorder="true"
    Width="300px"
    Height="400px"
    EnableDragAndDrop="false"
    AutoPostBackOnReorder="true"
    AutoPostBackOnTransfer="true"
    >
    <Items>
        <telerik:RadListBoxItem runat="server" Text="RadListBoxItem1" />
        <telerik:RadListBoxItem runat="server" Text="RadListBoxItem2" />
    </Items>
    <ItemTemplate>
        <div >
            <div>
                <%# DataBinder.Eval(Container, "Text")%>
            </div>
            <div>
                <div style="float:left;">
                    <asp:CheckBox ID="chkShowTitle" runat="server" Text="Checkbox" />
                </div>
                <div style="float:right;">
                    Title <asp:TextBox ID="txtTitle" runat="server" />
                </div>
            </div>
        </div>
    </ItemTemplate>
</telerik:RadListBox>

Bozhidar
Telerik team
 answered on 21 Feb 2012
2 answers
48 views
In case anybody hasn't mentioned it thus far...

I prefer the previous toolbox arrangement where all the components were in one toolbox. Now I have to hunt through all the toolboxes trying to find the component that I'm looking for. Please change it back to the way it was.

No real gripes about the release other than that.

Thanks,
Joe
Joe
Top achievements
Rank 2
 answered on 21 Feb 2012
6 answers
449 views
During an attempt to delete individual items from the RadFileExplorer, the below Message from webpage results:

The selected file could not be deleted because the application did not have enough permissions. Please, contact the administrator.

However, I am able to delete a folder from the RadFileExplorer. 

Below is the code - .aspx and C# ; The RadFileExplorer is populated in the C#, after a read to an SQL Server table; 

Any insight is appreciated;

<telerik:RadFileExplorer ID="RadFileExplorer1" Runat="server" Width="100%" Height="600px" ExplorerMode="FileTree" onclientitemselected="OnClientItemSelected" 
                    OnClientLoad="OnFileExplorerLoad" VisibleControls="TreeView, Grid, Toolbar, ContextMenus" TreePaneWidth="100%" BorderColor="Transparent" BorderStyle="None" 
                    EnableCopy="True" EnableOpenFile="False" MaxUploadFileSize="2147483647" ViewStateMode="Enabled">
             </telerik:RadFileExplorer>
using (SqlConnection connection = new SqlConnection(newConnect))
                       {
                           // Create the Command and Parameter objects;
                           SqlCommand command = new SqlCommand(queryString, connection);
                           // Open the connection in a try/catch block; 
                           // Create and execute the DataReader; 
                           try
                           {
                               connection.Open();
                               SqlDataReader reader = command.ExecuteReader();
                                 
                               while (reader.Read())
                               {                                   
                                   UsernameDB = (reader[1]).ToString();
                                   listViewPaths.Add(reader.GetString(3));
                                   listUploadDeletePaths.Add(reader.GetString(4));
                                   WebPageTitle = (reader[5]).ToString();
                               }
                               reader.Close();
                           }
                           catch (Exception ex)
                           {
                           }
                       }
                   }
               }
               Page.Title = WebPageTitle;
               RadFileExplorer1.Configuration.ViewPaths = listViewPaths.ToArray();
               RadFileExplorer1.Configuration.UploadPaths = listUploadDeletePaths.ToArray();
               RadFileExplorer1.Configuration.DeletePaths = listUploadDeletePaths.ToArray();
Dobromir
Telerik team
 answered on 21 Feb 2012
4 answers
89 views
Hello Everyone,

In my grid I have a a career row that I would like to either insert into the footer, or dynamically move to the bottom of the grid after a sort. The career totals that I have to calculate are complex in nature and I am not sure I can do the calculations in the footer. Any advice would be much appreciated.

Thanks in Advance,
Brad
Brad
Top achievements
Rank 2
 answered on 21 Feb 2012
1 answer
114 views
I am using radgrid with client side binding and virtual scrolling enabled. I am facing an issue when user scrolls and he is in the middle of the page, the grid displays empty elements. I would like to render next page records when user scrolls and display it instead of displaying empty rows. The behavior is same in the demo "http://demos.telerik.com/aspnet-ajax/grid/examples/client/virtualscrollpagingclientbinding/defaultcs.aspx". Please find attach image for more information.
Maria Ilieva
Telerik team
 answered on 21 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?