Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
181 views
Guys,

I am aiming to display various kinds of hierachies in a "Windows Explorer" Look and Feel way.

The paradigm of Directory/File is quite good as my hierarchies have potentially two types of nodes that can be assimilated to Directories and Files.
On the other hand, the concept of Size and File Extension are irrelevant to me so I would have to hide that.
I would also need to enable drag and drop everywhere as well as right click menus (that may adapt to the current directory/file).

I am not too sure how easy it would be to modify the RadFileExplorer "on the fly" because I don't seem to have design time access to the elements I need to add or hide/remove.

Does it sound like the RadFileExplorer is the right tool for me, or do you think it would be easier to do it all myself from scratch?


Eric
Eric
Top achievements
Rank 1
 answered on 20 Mar 2009
3 answers
129 views
hello to all!,
 
             once again i would like to ask  question again about the grid, coz i have another design here on my page that refer to responses of the user..anyway here is the scenario the header is the name and date and time, below is the response of the person, 

                     John Macalana     Feb 12,2009 1:20;30
                         cannot log in to the system..
                     Richard Bayer       Feb 12,2009 1:25:26
                          I already Check the system i works fine try to log in again
                     John Macalan       Feb 12,2009  1:35:12
                         Thanks Richard i forgot my password

all response inputed on the page is save directly to the database and reload on grid. how can i do that in grid and how i'm going to design the grid..

codes/sample is highly appreciated
thanks to all.
Shinu
Top achievements
Rank 2
 answered on 20 Mar 2009
4 answers
180 views

Hi,

I posted several threads in various Telerik AJAX forums and have not had replies to all.  I will try posting here since I'm using the courseware and encountering problems doing the lessons.  Hopefully, I'm in the right place now :)

  1. Unable to see the Tool tips in the column header of the RadGrid
    PDF pg 459

        Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As GridItemEventArgs)     
            'Check for GridHeaderItem if you wish tooltips only for the header cells        
            If TypeOf e.Item Is GridHeaderItem Then     
                Dim headerItem As GridHeaderItem = TryCast(e.Item, GridHeaderItem)     
                headerItem("CreditRating").ToolTip = "CreditRating"    
                headerItem("PreferredVendorStatus").ToolTip = "PreferredVendorStatus"    
                headerItem("ActiveFlag").ToolTip = "ActiveFlag"    
            End If     
        End Sub  
     
  2. Unable to drag and drop rows within a RadGrid
    PDF pg. 475

        Protected Sub RadGrid1_RowDrop(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridDragDropEventArgs)     
            Dim item As GridDataItem = TryCast(e.DraggedItems(0), GridDataItem)     
            RadAjaxManager1.Alert("Dropped VendorID: " + item.GetDataKeyValue("VendorID"))     
        End Sub 
  3. Unable to delete records in a RadGrid
    PDF pg. 472

    [T-SQL]     
    DELETE FROM Purchasing.[Vendor] WHERE [VendorID] = @VendorID  

    Javascript error:

    Line: 7  
    Char: 62099  
    Error: Sys.WebForms.PageReuestManagerServerErrorException: The transaction ended in the trigger.  The batch has been aborted.  Vendors cannot be deleted.  They can only be marked as not active  
     
  4. Item insert code not working
    PDF pg. 477

        Protected Sub RadGrid1_ItemInserted(ByVal source As Object, ByVal e As GridInsertedEventArgs)     
            If e.Exception <> Nothing Then     
                e.ExceptionHandled = True    
                e.KeepInInsertMode = True    
        
                DisplayMessage("Product cannot be inserted. Reason: " + e.Exception.Message)     
            Else     
                DisplayMessage("Product inserted")     
            End If     
        End Sub  

 

The compilation error I get using the code in #4 is:
Compiler Error Message: BC30452: Operator '<>' is not defined for types 'System.Exception' and 'System.Exception'.

Also, within the code, there are squiggly lines under "DisplayMessage".  The caption is "Name 'DisplayMessage' is not declared".  I understand how to declare a variable, but what should I declare it as?


Thanks very much for all help,
r2

Atanas Korchev
Telerik team
 answered on 20 Mar 2009
5 answers
174 views
What should I do to get this example to work?

http://demos.telerik.com/aspnet-ajax/panelbar/examples/applicationscenarios/slidingpanelbar/defaultcs.aspx


Thanks

Paul
Telerik team
 answered on 20 Mar 2009
1 answer
165 views
I'm testing the image manager and I see that generating a thumbnail creates an image with a larger file size and the thumbnail is a bitmap. Is there a way around this?
Stanimir
Telerik team
 answered on 20 Mar 2009
1 answer
239 views

I've just installed Telerik and have reinstalled VS 2008 (latest).
I tried a simple website project and dragged a ScriptManager onto the page and get the error:

Error Rendering Control - RadScriptManager1

An unhandled exception has occurred.
Could not load file or assembly 'Telerik.Web.UI, Version=2009.1.311.35, etc ..system cannot find the file specified.

I have manually browsed to the bin35 folder and added the Telerik DLL from there, still the same error.

Nothing's working with this installation! Theres no contextual Smart Tag available, and VS crashes if you change a property in a control.

Help!!

Atanas Korchev
Telerik team
 answered on 20 Mar 2009
2 answers
110 views
Hello all,

I'm trying to add a custom button to my MOSSRadEditor, but it doesn't show when rendering my Control.

This is my Code:

MOSSRadEditor re_editor = new MOSSRadEditor();
EditorToolGroup main = new EditorToolGroup();
re_editor.Tools.Add(main);
EditorTool CustomTool = new EditorTool();
CustomTool.Name = "TestButton";
CustomTool.Enabled = true;
CustomTool.ShowText = true;
main.Tools.Add(CustomTool);

Are there extra properties to configure? And where do I handle the event for that button, can i add the javascript for that button programmatically in the control.
Or something like this.page.ClientScript. ...

Thx!
Stanimir
Telerik team
 answered on 20 Mar 2009
2 answers
112 views
Hi,

    I am getting the below error when i hit the spell checker in the rad editor:

RadSpell Error: Server returned error: 500
RadSpell 3.x - Configuration - SpellCheckHandler
Parser Error Message: Could not create Type 'Telerik.WebControls.SpellCheckHandler'.

Please help me with this issue.

Thanks
Gayatri





Gayatri
Top achievements
Rank 1
 answered on 20 Mar 2009
2 answers
138 views
Hi All,

Is their is any control of telerik in which i use checkbox list with combo box.
Actually my requirement is when i select check box on selected index it will open dropdown list.
I have to use checkbox list so that when i select multiple check box then on each tick of checkbox multiple dropdown list will be open.
I mean to use with each check in check box list new dropdown list open.
Please help ASAP
Jyoti
Top achievements
Rank 1
 answered on 20 Mar 2009
1 answer
143 views

Hi,
I have a Radgrid and in EDIT Template section, I have a RadTimePicker and Dropdown list..

On selecteddatechange event I am filling the values to the Dropdown. ( with Autopostbackcontrol="both")..

But, with this AutoPostbackcontrol, entire page getting posted and loosing other parameters in the page (like images, and other variables).. I have used ajax based Raddropdown, but the same issue..

Do you have any suggestion, how to work around this???  I need to fill the dropdown based on change of date..


Here is the ASPX section...


<EditItemTemplate>
                        <asp:Label ID="CutOffError" runat="server" Text=""></asp:Label>
                       
                        <rad:RadDateTimePicker ID="RadDateTimePicker_CutOffDate" SelectedDate='<%# DateTime.Parse(Eval("CutOffDateTime").ToString()) %>'

                                runat="server"
                               
                                Font-Names="Arial, Verdana, Tahoma"
                        ForeColor="Black" Style="border-color: #ececec;"
                        Width="130px"
                       
                                AutoPostBackControl="Both"  OnSelectedDateChanged="SelectedDateChange" >
                              
                                <TimeView ID="TimeView2" runat="server" Visible="TRUE"></TimeView>
                                <TimePopupButton Visible="false" />
                            
                             <DateInput ID="DateInput1" runat="server">
                            </DateInput>
                            <Calendar ID="Calendar1"
                                ShowRowHeaders ="false"
                                runat="server"   >
                            </Calendar>
                            </rad:RadDateTimePicker>
                     
                     
                                          
                                  <asp:DropDownList ID="DropDownListBatch"
                                 
                                 runat="server"
                                    
                        ForeColor="Black" Style="border-color: #ececec;" Width="70 px"
                 Font-Names="Arial, Verdana, Tahoma" Font-Size="X-Small"          
                        ></asp:DropDownList>       
                                   
                            <div style = "font-size: 8px;">
                        <asp:CheckBox ID="CheckBox_isEndOfDay" runat="server"
                        Checked ='<%# Eval("isEndOfDay") %>' Text ="End of Day" /></div>
                    </EditItemTemplate>       

Princy
Top achievements
Rank 2
 answered on 20 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?