Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
124 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
175 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 ObjectByVal 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 ObjectByVal 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 ObjectByVal 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
166 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
163 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
232 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
108 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
111 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
134 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
142 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
5 answers
1.5K+ views
Hello,

thanks for the previous response , our first deadline is near.

We have one crucial issue still open:
According to this example it is possible to postback a button so an upload can be done.
http://demos.telerik.com/aspnet/prometheus/Ajax/Examples/Common/FileUpload/DefaultCS.aspx

The postback is triggered nicely but in the buttonevent it should do this:
HttpPostedFile postedFile=FileUpload1.PostedFile; With us the FileUpload1.PostedFile is null;, according to the object the upload control is empty but during the OnrequestStart Client event the file (filename) is in place.

Is there any idea hat could go wrong?

thanks in advance

The Sofim-team (Belgium)
vani
Top achievements
Rank 1
 answered on 20 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?