Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
93 views
Hi - thanks for the help on the forums.

I have RadScheduler running in a module on DNN 4.09.00.  I created the module by following the instructions on the Telerik website and used the module that the Telerik team posted on the forums - thanks for that by the way - and everything is running fine but when a user starts monkeying around with an appointment a few times, i.e. change time, change text, then change time again, normal course of activity type stuff when setting an appointment with another human, this error gets thrown in DNN:

A critical error has occurred.
Invalid object name 'dnn_Appointments'

If I reload the page the error goes away and nothing is lost and everything comes up fine, but it is a bit disconcerting for the user and annoying.

Any one experienced this or have any thoughts?
Peter
Telerik team
 answered on 03 Feb 2009
1 answer
151 views

Hello,

When I create a new .aspx page my default doctype is;

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

However I noticed your demo pages (in this case 'tooltip') you use the doctype;

 

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

I'm using VS2008, SQL Server 2008 and the latest Telerik controls for ASP.Net AJAX and Silverlight. Should I be changing my doctype to the same one you're using?

After reading the information on http://www.w3.org/1999/xhtml/ I certainly think so but thought I better ask and be sure.

Please let me know and thanks!

Dave

 

 

 

 

 

 

Tervel
Telerik team
 answered on 03 Feb 2009
2 answers
121 views
Hello,
While the telerik ajax controls look really nice (both to the eye and to the developer), I've noticed some small things related to the RadWindow:
- when in modal mode, the application menu is not overlayed. (is this normal, or is just me :) ?)
- when using the Vista theme, with Close, Resize and Maximize behaviors, the corners don't show the right way (btw, how can I upload a photo that shows the bad alinement?).
- sometimes, when opening it programmatically, the code that previously worked (in ASPNET Rad Controls, Q22007) with 
radWnd.Maximize(); 
didn't maximize it, instead I had to use the following combination:
radWnd.show();  
radWnd.maximize();  
radWnd.show(); 

The version I'm using is Q32008, released in January 2009.

For the rest of controls in this suite, for now I had no problems, great work!
Lucian

Lucian Duma
Top achievements
Rank 1
 answered on 03 Feb 2009
1 answer
114 views
I am using the RadEditorMOSS for Sharepoint.  When I click on the ImageManager and I choose to Upload a file, some of the buttons are greyed out.  Basically, they look like they are inactive buttons.  I would like access to the css so that I can modify the presentation of these buttons.  More importantly I would like to change these buttons so that they look enabled.  I am using the Default2006 skin.

I am using the Sharepoint version and I cannot seem to find the specific .css file that handles the presentation of the ImageManager.  The only .css files are in the C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.3.2.0__1f131a624888eeed\Resources\ToolImages and those specifically pertain to the Editor itself.

I have a screen shot to better describe what I'm talking about, but I am unsure of how to attach it to this post.

Thanks,
Jay
Lini
Telerik team
 answered on 03 Feb 2009
1 answer
72 views
hi,

here a little bit code to understand my problem:

function NextItem() { 
    var grid = $find("<%=Grid.ClientID %>"); 
    var masterTable = $find("<%= Grid.MasterTableView.ClientID %>"); 
 
    var indexSel = grid._selectedIndexes[0]; 
    var nextIndex = indexSel - 0 + 1; 
 
    if (masterTable.CurrentPageIndex == masterTable.PageCount - 1) { 
        if (indexSel == masterTable._getLastDataRow().sectionRowIndex) { 
            return
        } 
    } 
 
    if (nextIndex == masterTable.PageSize) { 
        masterTable.page("Next"); 
        $find("<%= RadAjaxManagerFolder.ClientID %>").ajaxRequest("Next"); 
 
        return
    } 
 
    masterTable.clearSelectedItems(); 
    masterTable.selectItem(nextIndex); 
this javascript is defined in a normal aspx page(main.aspx) and will be called by a radWindow, that is opened on the main.aspx. the grid is the on the main.aspx

<telerik:RadAjaxManager ID="RadAjaxManagerFolder" runat="server" OnAjaxRequest="RadAjaxManagerFolder_AjaxRequest"
</telerik:RadAjaxManager> 
here the ajaxmanager

protected void RadAjaxManagerFolder_AjaxRequest(object sender, AjaxRequestEventArgs e) 
    switch (e.Argument) 
    { 
        case "Next"
            EmailFolderGrid.Items[0].Selected = true
            break
        case "Prev"
            EmailFolderGrid.Items[EmailFolderGrid.Items.Count - 1].Selected = true
            break
        default
            break
    } 
}  
this function is called by the javascript ($find("<%= RadAjaxManagerFolder.ClientID %>").ajaxRequest("Next");)

when i call the javascript function on the radWindow and it is the last entry in the grid selected so that it will paging, the grid don't page but the index will be set(first index selected). but when i debug this all (javascript with firebug and codebehind with VS 2008) all works fine!! and because of this, i think it's a timing problem but i don't why.

can anybody help me?? sorry for my bad english ;)...
Farouk
Top achievements
Rank 1
 answered on 03 Feb 2009
3 answers
195 views
Hi All

I have a grid which contains an edit button that when clicked, opens a RadWindow which allows me to add/edit/remove data. I'm using the approved Telerik code as provided on the demos page (below):

If

 

TypeOf e.Item Is GridDataItem Then

 

 

Dim editLink As HyperLink = DirectCast(e.Item.FindControl("EditLink"), HyperLink)

 

 

Dim linkParams As String = "?aid=" & e.Item.OwnerTableView.DataKeyValues(e.Item.ItemIndex)("AssignmentID")

 

editLink.Attributes(

"href") = "#"

 

editLink.Attributes(

"onclick") = String.Format("return ShowEditForm('{0}','{1}');", linkParams, e.Item.ItemIndex)

 

 

End If

 


All works really well but what I would really like to do is raise the same event on the grid's RowClick command (ie remove the linkbutton and just raise the window when the user clicks on the relevant row, maybe something that casts the row into a hyperlink itself?).

JavaScript isn't my strong point and so I wondered if anyone else had found a solution to this?

Thanks in advance.

Steve :o)


Steve Humby
Top achievements
Rank 1
 answered on 03 Feb 2009
1 answer
150 views
Hello,

I have downloaded the latest version of telerik control (2008.3.1314.20) and installed. in web.config i have added in <httpHandlers>
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

The application still showing error as : 

Could not load file or assembly 'Telerik.Web.UI, Version=2008.3.1314.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


Could you please suggest what to be done to avoid the error.

Thank you,

Regards,
Sai



 

 


 

Daniel
Telerik team
 answered on 03 Feb 2009
3 answers
165 views
'EnumConverter' is unable to convert 'Telerik.Web.UI.EditorFilters'

I get the above handler from my app when i add the HttpHandler for either Rad Editor Dialogues or Spell Check.

This occurs if i manualy add or use the smart tag.

I have rolled back to the version before this occurs and the app loads. As soon as i try to enable the Dialogues the error occurs and wont go away untill i roll back even after removing the handler.

Can any one point me in the right direction to Enable Dialogues.
sidcom
Top achievements
Rank 1
 answered on 03 Feb 2009
1 answer
100 views
Hi,
 I'm using 2 toolbars on my page. The 2. toolbar is next to the first one in html. But in browser (IE 6) the second toolbar is in new line. How to fix this?
Princy
Top achievements
Rank 2
 answered on 03 Feb 2009
1 answer
135 views
We're trying to put the old classic multiple dependent combo box scenario into a RadGrid edit template, and not having much luck.

The scenario is thus: combobox 1 (fldCategory) determines the contents of the list in combobox 2 (fldValue).  We've got the requestItems and such working, and fldValue shows the correct list, loaded whenever fldCategory changes.  Sounds like we're done, right?
There are two issues: 
1) When the user click edit, the selected item in fldValue isn't accurate, despite having ...
fldValue.SelectedValue = ((cTestRecord)e.Item.DataItem).AValue.ToString(); 
... in the ItemCreated.

2) When the user edits a row and selects a new Category, even though the list in fldValue is changed, and the user picks one of them, when the UpdateCommand fires, the SelectedValue of fldValue is NOT what they picked.  It seems to be the first item in whatever list was loaded when the user hits edit.  It is as if whatever happens to fldValue after selecting a new Category is ignored.

To see this, run the project, then click Edit on the first row (2, 5).  Pull down the "Category" combo and select "Type 3".  In the "Value" combo select "T3, Value 3" and click "Save".  This should give the row the value (3, 9).  Instead, it will be (3, 4), with 4 being the initially selected Type 2 value.  No matter what you select for Value, it will always be 4.

Does the combobox not realize it has been rebound?  When the UpdateCommand happens, there shouldn't even be an item with the value 4 in the list.

BTW: Insert seems to work just fine.  Huh.

Thanks for any insight anyone can provide into this strangeness.
Yana
Telerik team
 answered on 03 Feb 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?