Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
321 views
Hi,

       I am using RADGrid for my application to improve the performance. I had a functionality as deleting multiple rows at a time by clicking "DeleteALL" button "CommandItemDisplay". For this I am calling Webservice when user clicks on "Delete" button.I am updating the List<BussinessEntity> in Webeservice and returning to the client fuinction , But in client script while executing the following line of code in       the   "function updateGrid(result)" - tableView.dataBind();   throwing error inside Telerik dynamic created script file.I am refering following link to implement webservice.

    http://blogs.telerik.com/VladimirEnchev/Posts/08-10-09/Telerik_RadGrid_client-side_data-binding_using_jQuery.aspx

Please find the code snippet of webservice. [asmx page]

    [WebMethod(EnableSession = true)] 
    public List<AdminSettingsCategoryEntity> DeleteSelectedCategories(string strSelectedCateoryList, string modifiedBy, string clientID) 
    { 
        int intCatgIsUsed = 0; 
        int intCatgID = 0; 
        GridTableView CategoryGridMaterTableView = new GridTableView(); 
        System.Web.Script.Serialization.JavaScriptSerializer serializer = new System.Web.Script.Serialization.JavaScriptSerializer(); 
        var jsIds = serializer.Deserialize<Dictionary<string, object>>(strSelectedCateoryList); 
     
        if (jsIds != null) 
        { 
            ArrayList selectedItems = new ArrayList(); 
            foreach (KeyValuePair<string, object> keyValuePair in jsIds) 
                selectedItems.Add(long.Parse(keyValuePair.Key)); 
 
            if (selectedItems.Count > 0) 
            { 
              //Functionality to remove the selected Category IDS and updating list<bussinessEntity> 
            } 
 
            //return usersDraftList.ToList(); 
        } 
        return categoryList.ToList(); 
 
    } 

Code snippet adding g
                         <div id="divdgListOfCategory" runat="server" style="width: 420px; float: left; margin-bottom: 7px; 
                                height: 180px;"> 
                                <telerik:RadGrid ID="DgListOfCategory" runat="server" AutoGenerateColumns="false" AllowMultiRowSelection="true" AllowPaging="false" PagerStyle-Visible="false"  
                                    Skin="GridVista" EnableViewState="true" Width="412px" AllowMultiRowEdit="true"  EnableEmbeddedSkins="false"  
                                    OnItemDataBound="DgListOfCategory_ItemDataBound" OnItemCommand="DgListOfCategory_ItemCommand"> 
                                    <MasterTableView Width="395px" AutoGenerateColumns="false" EditMode="InPlace"  
                                    NoMasterRecordsText="No Records Found"  AllowAutomaticDeletes="True" DataKeyNames="ID" 
                                    AllowAutomaticInserts="false" AllowAutomaticUpdates="false" ShowHeadersWhenNoRecords="true" ClientDataKeyNames="ID,isUsed" 
                                        CommandItemDisplay="Top"> 
                                        <CommandItemTemplate> 
                                            <div id="lnkAddrows" style="float:left;line-height: 29px;"> 
                                                <asp:LinkButton ID="btnAddNewRecord" runat="server" CommandName="AddNewRecord" Style="vertical-align: bottom"> 
                                                    <asp:Image ID="imgAdd" runat="server" ImageUrl="~/Images/AddRecord.gif" />Add New Record</asp:LinkButton> 
                                            </div> 
                                                     <div id="divDeleteRows" style="float:left;line-height: 29px;padding-left:30px;"> 
                                                <asp:LinkButton ID="lnkDeleteRows" runat="server" Style="vertical-align: bottom" OnClientClick="javascript:return DgListOfCategoryDeleteSelectedRows()" > 
                                                <asp:Image ID="imgDelete" runat="server" ImageUrl="~/Images/val_close.png"  /> Delete</asp:LinkButton>             
                                            </div> 
                                        </CommandItemTemplate> 
                                        <Columns> 
                                             <telerik:GridClientSelectColumn UniqueName="CheckboxSelectColumn"  HeaderStyle-Width="40px"  
                                         ItemStyle-Width="40px" ItemStyle-HorizontalAlign="Center" > 
                                          </telerik:GridClientSelectColumn>     
                                            <telerik:GridTemplateColumn UniqueName="Active" HeaderText="Select" DataType="System.Int32" 
                                                HeaderStyle-Width="40px" ItemStyle-Width="40px" ItemStyle-HorizontalAlign="Center"> 
                                                <ItemTemplate> 
                                                    <asp:CheckBox ID="chkActive" runat="server" /> 
                                                </ItemTemplate> 
                                            </telerik:GridTemplateColumn> 
                                            <telerik:GridTemplateColumn UniqueName="tempCatgName" HeaderText="Category Name" 
                                                DataType="System.String" ReadOnly="False" HeaderStyle-Width="160px" ItemStyle-Width="160px"> 
                                                <ItemTemplate> 
                                                    <telerik:RadTextBox ID="CategoryName" Text='<%#Eval("CategoryName") %>' runat="server" 
                                                        EmptyMessage="Category Name" MaxLength="50" Width="145px"> 
                                                    </telerik:RadTextBox>                                                    
                                                </ItemTemplate> 
                                            </telerik:GridTemplateColumn> 
                                            <telerik:GridBoundColumn DataField="ID" HeaderText="ID" ReadOnly="True" AllowSorting="false" 
                                                Visible="false" ItemStyle-Width="0" HeaderStyle-Width="0" UniqueName="ID"> 
                                                <HeaderStyle ForeColor="Silver" /> 
                                                <ItemStyle ForeColor="Silver" /> 
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn DataField="isUsed" HeaderText="isUsed" ItemStyle-Width="5" 
                                                HeaderStyle-Width="5" Visible="false" UniqueName="isUsed"> 
                                            </telerik:GridBoundColumn> 
                             
                                                <telerik:GridClientDeleteColumn HeaderStyle-Width="40px" ButtonType="ImageButton" HeaderText="Delete" 
                                              CommandName="Delete"  Text="Delete" UniqueName="DeleteColumn" > 
                                             <HeaderStyle Width="40px"  /> 
                                                <ItemStyle HorizontalAlign="Center" Width="30px" /> 
                                             </telerik:GridClientDeleteColumn> 
                                        </Columns> 
                                    </MasterTableView> 
                                                               <ClientSettings> 
                                        <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" ScrollHeight="174px"> 
                                        </Scrolling> 
                                         <Selecting AllowRowSelect="true" />                                          
                       <ClientEvents  OnRowSelected="DgListOfCategory_RowSelected" OnRowCreated="DgListOfCategory_RowCreated" 
                                 OnRowDeselected="DgListOfCategory_RowDeselected" OnRowDeleted="DgListOfCategory_RowDeleted"  /> 
                                 <DataBinding Location="CategoryPopUp.aspx"  SelectCountMethod="MyFirstPageMethod"/> 
                                    </ClientSettings>        
                                     
                                </telerik:RadGrid> 
                            </div> 
rid to aspx page:

Javscript functions:

    <script src="../../JavaScripts/jquery-1.3.2.min.js" type="text/javascript"></script> 
    <script src="../../JavaScripts/json2.js" type="text/javascript"></script> 
       <script src="../../JavaScripts/jquery-1.2.6.pack.js" type="text/javascript"></script> 
     
    <script type="text/javascript" language="javascript">  
        var commandName = ""; 
        var tableView = null; 
        var clientIDValue = null; 
        var SelectedCatgIDs = null 
        var selected = {}; 
        var userIDValue = null; 
                
 
       function DgListOfCategory_RowSelected(sender, args) { 
           var mailID = args.getDataKeyValue("ID"); 
           if (!selected[mailID]) { 
               selected[mailID] = true;                                                  
           } 
            // Set the value of the hidden variable to  
            // the value of the javascript variable  
            var hiddenControl = '<%= selectedInstrumentIds.ClientID %>';  
            document.getElementById(hiddenControl).value = Sys.Serialization.JavaScriptSerializer.serialize(selected);  
       } 
        
       function DgListOfCategory_RowDeselected(sender, args) { 
           var mailID = args.getDataKeyValue("ID"); 
           if (selected[mailID]) { 
               selected[mailID] = null; 
           } 
                       // Set the value of the hidden variable to  
            // the value of the javascript variable  
            var hiddenControl = '<%= selectedInstrumentIds.ClientID %>';  
            document.getElementById(hiddenControl).value = Sys.Serialization.JavaScriptSerializer.serialize(selected);  
       } 
        
       function DgListOfCategory_RowCreated(sender, args) { 
           var mailID = args.getDataKeyValue("ID");       
           if (selected[mailID]) { 
               args.get_gridDataItem().set_selected(true); 
           } 
       } 
        
       function DgListOfCategory_RowDeleted(sender, args) 
       { 
       alert("Delete Cliecked"); 
        var mailID = args.getDataKeyValue("ID"); 
           if (!selected[mailID]) { 
               selected[mailID] = true; 
           } 
            // Set the value of the hidden variable to  
            // the value of the javascript variable  
            var hiddenControl = '<%= selectedInstrumentIds.ClientID %>';  
            document.getElementById(hiddenControl).value = Sys.Serialization.JavaScriptSerializer.serialize(selected);  
       } 
        
       function DgListOfCategoryDeleteSelectedRows() 
       {        
                tableView = $find("<%= DgListOfCategory.ClientID %>").get_masterTableView(); 
                clientIDValue = document.getElementById("ctl00_plhMainContentArea_hdnClientID").value; 
                userIDValue = document.getElementById("ctl00_plhMainContentArea_hdnUserID").value; 
                 SelectedCatgIDs = document.getElementById("ctl00_plhMainContentArea_selectedInstrumentIds").value; 
                 
                var DataItems = $find("<%=DgListOfCategory.ClientID %>").get_masterTableView().get_dataItems();                  
                if(DataItems != null) 
                { 
                executeMethod("../../WebServices/SettingsWebService.asmx", "DeleteSelectedCategories", getRequestData(tableView), updateGrid); 
                }        
                
       } 
       function updateGrid(result) 
             {       
                tableView.set_dataSource(result.d); 
                tableView.dataBind();      
            } 
 
 
            function getRequestData(tableView) {             
                return JSON.stringify({ 
                    "strSelectedCateoryList": SelectedCatgIDs, 
                    "modifiedBy" : userIDValue, 
                    "clientID" : clientIDValue 
                }); 
            } 
 
         function executeMethod(location, methodName, methodArguments, onSuccess, onFail) 
          {  
                $.ajax({ 
                    type: "POST", 
                    url: location + "/" + methodName, 
                    data: methodArguments, 
                    contentType: "application/json; charset=utf-8", 
                    dataType: "json", 
                    success: onSuccess, 
                    fail: onFail 
                });               
            } 
    </script> 

Please help me out how to bind the dataset in client script .

Thanks in Advance,
Bysani.
Nikolay Rusev
Telerik team
 answered on 05 Mar 2010
10 answers
271 views
If I use the default ExplorerMode type the grid is showing with my Attributes. I am able to get the Attributes on the client in OnClientItemSelected like this:

var dataItem = oExplorer.get_grid().get_masterTableView().get_selectedItems()[0].get_dataItem(); 
var status = dataItem.Attributes["Status"]; 
 

When using ExplorerMode of FileTree, how do I get the Attribute?

            if (selectedItem.get_type() == Telerik.Web.UI.FileExplorerItemType.File) { 
                alert('How do I get the Attributes here?'); 
            } 
 

thanks,

Steve





Steve White
Top achievements
Rank 1
 answered on 05 Mar 2010
1 answer
105 views
Good Day

i have a Rad Editor where my Users enter data and i want to save the html in a String Variable. I have Tried .Content and it did not give me back the html.

Thanks

Rumen
Telerik team
 answered on 05 Mar 2010
1 answer
324 views
In order to be the same as our word styles, we have limited the number of paragraph styles down to

<paragraphs>
    <paragraph name="&lt;P>Normal&lt;/P>" value="&lt;P>" />
    <paragraph name="&lt;H2>Head&lt;/H2>" value="&lt;H2>" />
    <paragraph name="&lt;H3>Head 1&lt;/H3>" value="&lt;H3>" />
    <paragraph name="&lt;H4>Head 2&lt;/H4>" value="&lt;H4>" />
    <paragraph name="&lt;H5>Head 3&lt;/H5>" value="&lt;H5>" />
  </paragraphs>

because of the branding on the site we have also had to make the title of the headings different to the actual heading number e.g. Head = H2, Head 1 = H3, etc.  When you open the editor, this is all working fine - see pic 1.  However, when you highlight a piece of text e.g.  <h5>this is a H5</h5> it is showing up "Heading 5" rather than "Head 3" as we have named our paragraph style.  It is possible to change this behaviour so that,when text is highlighted, H5 would be mapped to our description.

Stanimir
Telerik team
 answered on 05 Mar 2010
1 answer
170 views
Hello,

I've got a grid with date columns and I'd like to filter these columns selecting 2 dates (start and end) and apply "between" filter.
My grid is built dynamically at server side, as I don't know in advance what kind of columns it will contain.
So, to allow filtering, I've created a filter template with 2 RadDatePicker.
But I don't know how I can use FireCommandEvent to make filter work.
If I select one date, and I use GreaterThan or LessThan, it works fine, but how to invoke FireCommandEvent to take the 2 dates in input, and apply "Between" filter ?

Tanks for your answers

Here is my code :

The template filter for date is implemented by the CustomFilterForDateGridColumn class.

Here is the aspx code for the control containing the grid :
<%@ Control AutoEventWireup="false" CodeBehind="wucCompteHistoPrets.ascx.vb" Inherits="OPAC_LOCAL.wucCompteHistoPrets" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<asp:Panel ID="PanelHistoPrets" runat="server">  
    <asp:label id="MSG_ERREUR" runat="server" CssClass="MessageErreur" Visible="False"></asp:label> 
    <telerik:RadGrid id="GrilleHistoPrets" runat="server" EnableEmbeddedSkins="false" Width="100%" Skin="Default" 
        PageSize="20" PagerStyle-AlwaysVisible="true" AllowPaging="true" AutoGenerateColumns="false" 
        GroupingEnabled="false" ShowGroupPanel="false" AllowMultiRowSelection="true" AllowSorting="true" 
        ClientSettings-AllowDragToGroup="false" ClientSettings-Selecting-AllowRowSelect="true" 
        SortingSettings-SortToolTip="Cliquer pour trier la colonne" SortingSettings-SortedDescToolTip="Tri ascendant" SortingSettings-SortedAscToolTip="Tri descendant" 
        OnNeedDataSource="GrilleHistoPrets_NeedDataSource" OnItemDataBound="GrilleHistoPrets_ItemDataBound" 
        OnItemCreated="GrilleHistoPrets_ItemCreated" 
        OnItemCommand="GrilleHistoPrets_ItemCommand" 
        ShowStatusBar="true" 
        > 
        <MasterTableView PageSize="20" runat="server" 
            AllowAutomaticDeletes="false" AllowAutomaticInserts="false" AllowAutomaticUpdates="false" 
            NoMasterRecordsText="Aucun prêt" NoDetailRecordsText="Aucun prêt" 
            ShowHeadersWhenNoRecords="true" 
            CommandItemDisplay="Top" 
            > 
            <Columns> 
            </Columns> 
            <CommandItemTemplate> 
                <div align="right" style="padding:4px 0px 0px 6px;">  
                    <asp:ImageButton runat="server" ID="btnClearFilters" CommandName="ClearFilters" /> 
                    <asp:Button runat="server" ID="btnTexteClearFilters" CommandName="ClearFilters" /> 
                </div> 
            </CommandItemTemplate> 
        </MasterTableView> 
        <PagerStyle AlwaysVisible="true" Mode="NextPrevAndNumeric" 
            FirstPageText="" FirstPageToolTip="Aller Ã  la première page" 
            NextPageText="" NextPageToolTip="Aller Ã  la page suivante" 
            LastPageText="" LastPageToolTip="Aller Ã  la dernière page" 
            PrevPageText="" PrevPageToolTip="Aller Ã  la page précédente" 
            NextPagesToolTip="Afficher les pages suivantes" PrevPagesToolTip="Afficher les pages précédentes" 
            PagerTextFormat="{4}{5} prêt(s) sur {1} page(s)" 
        /> 
    </telerik:RadGrid> 
</asp:Panel> 
 
 

And the code behind : the method which build the grid dynamically.
    Protected Sub AfficherGrillePrets()  
        Dim i As Integer = 0  
        Dim strTxt As String = "" 
        SessionsConfig.GetConfTextes("TexteAucunPret", strTxt)  
        GrilleHistoPrets.MasterTableView.NoDetailRecordsText = strTxt  
        GrilleHistoPrets.MasterTableView.NoMasterRecordsText = strTxt  
        GrilleHistoPrets.MasterTableView.Columns.Clear()  
        GrilleHistoPrets.AllowFilteringByColumn = _AutoriserFiltrage  
 
        If Not IsNothing(ListeColonneHistoPrets) AndAlso ListeColonneHistoPrets.Count > 0 Then 
            Dim colID As GridBoundColumn  
 
            colID = New GridBoundColumn  
            colID.DataField = "Id" 
            colID.Visible = False 
            GrilleHistoPrets.MasterTableView.Columns.Add(colID)  
 
            Dim myEnum As IEnumerator = ListeColonneHistoPrets.GetEnumerator()  
            Dim sLibCol As String 
            Dim sTypeCol As String = "T" 
            i = 1  
            While myEnum.MoveNext  
                sLibCol = CStr(myEnum.Current)  
                sTypeCol = "T" 
                If CStr(myEnum.Current).Contains("|") Then 
                    Try 
                        sLibCol = CStr(myEnum.Current).Split("|")(0)  
                        sTypeCol = CStr(myEnum.Current).Split("|")(1)  
                    Catch ex As Exception  
                    End Try 
                End If 
                Select Case sTypeCol  
                    Case "T" 
                        Dim col As New GridBoundColumn  
                        col.DataField = "val" & i  
                        col.HeaderText = sLibCol  
                        col.ItemStyle.HorizontalAlign = HorizontalAlign.Left  
                        col.AllowFiltering = False 
                        GrilleHistoPrets.MasterTableView.Columns.Add(col)  
                    Case "D" 
                        Dim col As New GridDateTimeColumn  
                        col.DataField = "valD" & i  
                        col.DataType = GetType(System.DateTime)  
                        col.DataFormatString = "{0:dd/MM/yyyy}" 
                        col.HeaderText = sLibCol  
                        col.AllowFiltering = False 
                        col.ItemStyle.HorizontalAlign = HorizontalAlign.Left  
                        GrilleHistoPrets.MasterTableView.Columns.Add(col)  
                    Case "TF" 
                        Dim col As New CustomFilterForTextGridColumn(ListeLigneHistoPrets, "val" & i)  
                        col.DataField = "val" & i  
                        col.HeaderText = sLibCol  
                        col.AllowFiltering = _AutoriserFiltrage  
                        col.ItemStyle.HorizontalAlign = HorizontalAlign.Left  
                        GrilleHistoPrets.MasterTableView.Columns.Add(col)  
                    Case "DF" 
                        Dim col As New CustomFilterForDateGridColumn(ListeLigneHistoPrets, "valD" & i)  
                        col.DataField = "valD" & i  
                        col.DataType = GetType(System.DateTime)  
                        col.DataFormatString = "{0:dd/MM/yyyy}" 
                        col.HeaderText = sLibCol  
                        col.AllowFiltering = _AutoriserFiltrage  
                        col.ItemStyle.HorizontalAlign = HorizontalAlign.Left  
                        GrilleHistoPrets.MasterTableView.Columns.Add(col)  
                End Select 
                i += 1  
            End While 
        End If 
    End Sub 

The CustomFilterForDateGridColumn class :
Imports Telerik.Web.UI  
 
Public Class CustomFilterForDateGridColumn  
    Inherits GridBoundColumn  
 
    Private _DataTable As List(Of PODCompteEntite)  
    Private _DataField As String 
    Private Property _DateDebut() As String 
        Get 
            Return CStr(System.Web.HttpContext.Current.Session("DateDebut" & Me.UniqueName))  
        End Get 
        Set(ByVal value As String)  
            System.Web.HttpContext.Current.Session("DateDebut" & Me.UniqueName) = value  
        End Set 
    End Property 
    Private Property _DateFin() As String 
        Get 
            Return CStr(System.Web.HttpContext.Current.Session("DateFin" & Me.UniqueName))  
        End Get 
        Set(ByVal value As String)  
            System.Web.HttpContext.Current.Session("DateFin" & Me.UniqueName) = value  
        End Set 
    End Property 
 
    Public Sub New(ByVal pDataTable As List(Of PODCompteEntite), ByVal pDataField As String)  
        _DataTable = pDataTable  
        _DataField = pDataField  
    End Sub 
 
    Protected Overrides Sub SetupFilterControls(ByVal cell As System.Web.UI.WebControls.TableCell)  
        MyBase.SetupFilterControls(cell)  
        cell.Controls.RemoveAt(0)  
        Dim dateDebut As New RadDatePicker()  
        dateDebut.ID = "dateDebut" & Me.UniqueName  
        dateDebut.Width = Unit.Pixel(100)  
        dateDebut.AutoPostBack = False 
        Dim dateFin As New RadDatePicker()  
        dateFin.ID = "dateFin" & Me.UniqueName  
        dateFin.Width = Unit.Pixel(100)  
        dateFin.AutoPostBack = False 
        Dim sChargement As String = "" 
        SessionsConfig.GetConfTextes("TexteChargementEnCours", sChargement)  
        cell.Controls.AddAt(0, New LiteralControl("<div align=""right"">De "))  
        cell.Controls.AddAt(1, dateDebut)  
        cell.Controls.AddAt(2, New LiteralControl("</div>"))  
        cell.Controls.AddAt(3, New LiteralControl("<div align=""right"">A "))  
        cell.Controls.AddAt(4, dateFin)  
        cell.Controls.AddAt(5, New LiteralControl("</div>"))  
        cell.Controls.AddAt(6, New LiteralControl("<div align=""right"">"))  
        Dim btnFiltrer As New ImageButton  
        btnFiltrer.ID = "btnFiltrer" & Me.UniqueName  
        cell.Controls.AddAt(7, btnFiltrer)  
         cell.Controls.AddAt(8, New LiteralControl("</div>"))  
        cell.Controls.RemoveAt(9)  
    End Sub 
 
    Protected Overrides Sub SetCurrentFilterValueToControl(ByVal cell As System.Web.UI.WebControls.TableCell)  
        MyBase.SetCurrentFilterValueToControl(cell)  
        Dim dateDebut As RadDatePicker = CType(cell.Controls(1), RadDatePicker)  
        If _DateDebut <> String.Empty Then 
            dateDebut.SelectedDate = Date.Parse(_DateDebut)  
        End If 
        Dim dateFin As RadDatePicker = CType(cell.Controls(4), RadDatePicker)  
        If _DateFin <> String.Empty Then 
            dateFin.SelectedDate = Date.Parse(_DateFin)  
        End If 
    End Sub 
 
    Protected Overrides Function GetCurrentFilterValueFromControl(ByVal cell As System.Web.UI.WebControls.TableCell) As String 
        Dim sDate As String = String.Empty  
        _DateDebut = String.Empty  
        _DateFin = String.Empty  
        Dim dateDebut As RadDatePicker = CType(cell.Controls(1), RadDatePicker)  
        Dim dateFin As RadDatePicker = CType(cell.Controls(4), RadDatePicker)  
        If Not IsNothing(dateDebut.SelectedDate) Then 
            sDate = dateDebut.SelectedDate.ToString()  
            _DateDebut = dateDebut.SelectedDate.ToString()  
        End If 
        If Not IsNothing(dateFin.SelectedDate) Then 
            _DateFin = dateFin.SelectedDate.ToString()  
            sDate = dateFin.SelectedDate.ToString()  
        End If 
        Return sDate  
    End Function 
 
    Private Sub BoutonFiltrer_Command(ByVal sender As Object, ByVal e As CommandEventArgs)  
        Dim filterItem As GridFilteringItem = CType(CType(sender, ImageButton).NamingContainer, GridFilteringItem)  
        filterItem.FireCommandEvent("Filter", New Pair("GreaterThan", Me.UniqueName))  
    End Sub 
End Class 
 

Schlurk
Top achievements
Rank 2
 answered on 05 Mar 2010
1 answer
70 views
Hey guys,

I want to change the time increments of my day view to 15 minutes. I set MinutesPerRow to 15 and TimeLabelRowSpan to 4. I noticed that my rows were too big so I set my RowHeight to 10px. 

The issue that I am having is when you make an appointment, the blocked off time does not visually represent the actual time blocked off. So, when I block off 12pm-1pm for a meeting, the appointment that shows up on the view does not entirely fill up the 12pm-1pm time slot. 

What am I doing wrong?

Peter
Telerik team
 answered on 05 Mar 2010
1 answer
193 views
Hi all,

I have some trouble about FileExplorer. I like file explorer and decided to use in my web app.

This is my issue:

I need to create folders and file lists programmatically. Beacuse user's files and folders recorded at database. There no physical folder or files.

How can I do this. I found something about this. I tried to use Treeview attributes to solve my problem but I failed.

Please I need help.
Thanks.
Fiko
Telerik team
 answered on 05 Mar 2010
1 answer
81 views
I have been tasked with solving an issue we have with a radeditor control.

We use the editor to build and save documents. Basically when you select a block of text within the editor to style, say font courier, size 5px the style is applied but once you click save and move away from the screen and then return the styling has not been applied. This only happens in IE. I have tried updating the telerik version to the latest but this did not solve the issue.

Any pointers will be greatly appreciated.
Rumen
Telerik team
 answered on 05 Mar 2010
3 answers
82 views
Hi,

I am having an odd problem with the slider.  As of right now, the slider is working as expected and everything seems to be fine.  However, when I go to resize the page the radpane the slider is in displays the vertical scrollbar and when I go to scroll down, the slider stays "sticks" to where it is and does not move down with the rest of the content.  The div it is within on the pane is not set to float or absolute, but just a plain div.  When I maximize the window back, the control still does not show up where it is supposed to until I refresh the window.

Also, with regards to the radpanes, when I resize the window and then refresh, every now and then the panes from the masterpage seem to have a problem with sizing correctly again to the new size unless I either re-navigate back to the URL or resize the window again (bigger or smaller).  Has anyone seen this either?

Thanks,
Ron
Tsvetie
Telerik team
 answered on 05 Mar 2010
1 answer
175 views
Hi,

I have been evaluating the Scheduler control for a client. The specific bit I'm interested in is the time line with time across, and resources down the side.

The client requires multiple days to be visible, but still have control over timing, and I have found that half hour resolution with lot's of time slots serves this purpose quite well.

The problem is that they only work from 8am to 6pm and thus, most of the time is irrelevant to their operations, I can change the colour of dead time, but that still leaves 2/3 of the screen dedicated to irrelevant time. I have also tried hiding cells, but that breaks drag and drop, I also can't work out how to hide the column headers.

The question is, can i get the timeline to skip non-working time, as the day view and week view does?

Best Regards,

Mark
Peter
Telerik team
 answered on 05 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?