Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
314 views
I have a new crash that happens in the Scheduler javascript code that I'm not sure how to begin debugging.  Are there suggestions that you guys use that you could share with me?

This is the type of error that shows in the IE 8 error window: 
Webpage error details 
 
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2) 
Timestamp: Mon, 30 Nov 2009 22:56:17 UTC 
 
 
Message: '0.tBodies.0.rows[...].cells' is null or not an object 
Line: 6438 
Char: 2 
Code: 0 
URI: http://localhost/Pinnacle/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_MainContent_MainContent_radScriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3ad0c4ca6e-6b5d-49b6-922d-5244924fb100%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.2.701.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a7e598a31-3beb-49a1-914c-5f530240f0ea%3a16e4e7cd%3aed16cbdc%3a874f8ea2%3af7645509%3a24ee1bba%3a19620875%3a39040b5c%3af85f9819%3a650fdad%3a41a6cee9%3ad40f7d5c%3a431f16a4%3a1a9ac27f%3a7d98db04%3afe65db44%3a63767fed%3a44e9d927%3a26c790aa%3a3cdff5d5%3ae91ff703%3a7666c7ed%3aef9d9f4a%3aa960fda2%3ab7778d6c%3a8674cba1%3ac08e9f8a%3aef347303%3aa51ee93e%3a1e771326%3aaa288e2d%3ae085fe68%3a59462f1 
 

SolutionStream
Top achievements
Rank 1
 answered on 28 Jan 2010
1 answer
213 views
Hello,

My apologies if this is a simple question... I just couldn't seem to track it down. Is there a specific CSS value to allow for when the mouse is hovered over a column header? I want to change the column header background image when it is hovered over the specific column (something I've seen a lot of other grids do), but can't seem to find where to do that with the Telerik grid.

Thanks in advance!
-Brian
Brian Azzi
Top achievements
Rank 1
 answered on 28 Jan 2010
2 answers
148 views
I am implementing the RadScheduler to manage scheduling data from a Dynamics CRM system.  One of the requirements is that the user not be able to enter an appointment for a date prior to 12 am for the current day.  I have found the FormCreating server side event and can cancel the insert, however, I've not been able to figure out how to tell the user why the appointment isn't created.  I'm a Winforms developer that has been asked to deal with this issue and I'll admit my javascript/aspx skills are rusty.  I've seen plenty of examples where javascript is registered from code behind, but these are all associated with an OnClick event.  I don't have a client side OnClientFormCreating that I can use to validate this on the client side.

Is there a native way to handle this through a property on the scheduler or how would I best achieve this?  I'd love to be able to integrate RadWindow manager and use the alert dialog.

Thanks.
Chuck
Peter
Telerik team
 answered on 28 Jan 2010
3 answers
173 views
Hi,
I have a radupload tool in my RadGrid.
I allow user to upload file when user edits or inserts a row. But when inserting a row, I want user to be able to upload more than one files. On the other hand, when editing a row, I want user to insert just one file.
-This means I should be changing upload tool's property in edit and insert mode of grid-

Here is my grid:
<MasterTableView Width="100%" CommandItemDisplay="Top"> 
        <Columns> 
            <telerik:GridEditCommandColumn></telerik:GridEditCommandColumn> 
            <telerik:GridTemplateColumn UniqueName="File" HeaderText="Image File"> 
                 <ItemTemplate> 
                    <asp:Image ID="img" runat="server" Height="50px"/> 
                </ItemTemplate> 
                <EditItemTemplate> 
                        <telerik:RadUpload ID="upload" runat="server" AllowedFileExtensions="gif,jpg,png" AllowedMimeTypes="image/gif,image/jpeg,image/png"></telerik:RadUpload> 
                </EditItemTemplate> 
            </telerik:GridTemplateColumn> 
            <telerik:GridBoundColumn 
                DataField="Title" 
                HeaderText="Title" 
                UniqueName="Title"> 
            </telerik:GridBoundColumn> 
      </Columns>         
</MasterTableView> 

How can I do that? I added this code below to ItemDataBound method. But it makes MaxFileInputCount=1000 in both edit and insert mode.
MaxFileInputCount should be 1 in edit mode and it should be 1000 in insert mode.

This is the code I wrote to ItemDataBound
if (e.Item is GridEditableItem && e.Item.IsInEditMode && grid.MasterTableView.IsItemInserted) 
            { 
                GridEditableItem temp = e.Item as GridEditableItem; 
                ((RadUpload)temp["File"].FindControl("upload")).MaxFileInputsCount = 1000; 
                ((RadUpload)temp["File"].FindControl("upload")).InitialFileInputsCount = 1; 
 
            } 



hll
Top achievements
Rank 1
 answered on 28 Jan 2010
2 answers
407 views
Hi,

sorry for my bad english.....

Im building a RadEditor in my codebehind but i don't know the names of some tools i need to add... do you have any list of them???

whith some tool i can use the tootip name but, other tools have two words tooltip and when i try to add them i get the message "The command [name i use for the tool] is not implemented yet".

for example i'm trying to add an horizontal rule and i cant'.

some of my code:
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 
        Dim main As New EditorToolGroup() 
        RadEditor1.Tools.Add(main) 
 
        main.Tools.Add(New EditorTool("SelectAll", "CTRL+A")) 
        main.Tools.Add(New EditorTool("Cut", "CTRL+X")) 
        main.Tools.Add(New EditorTool("Copy", "CTRL+C")) 
        main.Tools.Add(New EditorTool("Paste", "CTRL+V")) 
        main.Tools.Add(New EditorTool("Undo", "CTRL+Z")) 
        main.Tools.Add(New EditorTool("Redo", "CTRL+Y")) 
        main.Tools.Add(New EditorTool("HorizontalRule")) 'I GET ERROR IN THIS LINE 
 
 
    End Sub 


Thanks for helping me!!!!
Gilberto Anino
Top achievements
Rank 1
 answered on 28 Jan 2010
2 answers
152 views
Hi All,

I'm working hard on a Gantt Chart using Telerik Chart. I almost finish my graph but only one problem stay unsolved. My X Axis is displaying date in shortDate format in French. How come it's in Fench ? How can I switch to English ?

Is there anyone that can help me ?

Best regards
Sebastien


sebastien Dubos
Top achievements
Rank 1
 answered on 28 Jan 2010
10 answers
353 views
This thread contains the latest release notes of the Visual Style Builder. It will be updated with each upload, allowing you to follow the project evolution.

If you want to know when a new version is out, you can subscribe to this thread's RSS feed.
Alex Gyoshev
Telerik team
 answered on 28 Jan 2010
5 answers
140 views
Hi,

In firefox when selecting rows sometimes the cell you clicked on gets highlighted in blue (see screenshot) how can i disable this?

example image

thanks
Toby
Brian Azzi
Top achievements
Rank 1
 answered on 28 Jan 2010
12 answers
190 views
Hi, first post so be gentle with me :-)

I managed to get an asp.net application containing radgrid, calendar and scheduler controls deployed and almost running within the sharepoint context and with the sharepoint look and feel BUT (a) the grid does not not react to user input when selecting a row (like it's disabled) (b) the calendar control does nothing and if you hover over it shows the page name and a hash (#) at the end in the hyperlink preview in the status bar and (c) the scheduler has the same problem with all the sub controls within it such as Week view  or Month view etc plus double-clicking the time slots does nothing.

Have I done something stupid?  It took a huge amount of reading and research just to get to this point so I'd like to see it through if possible.  The alternative I've been using is to deply the applications as web sites / applications under their own IIS context and embed them in a page viewer web part.  This works but does not allow me to dynamically change the link to the page by adding record numbers etc as parameters.  Anyway, it was a kludge that isn't that secure so I'd prefer the full integration if I can get it working with the RadControlsd having invested so much time and money on them.

Hope someone can help.

Des Owen
Michael Pappas
Top achievements
Rank 1
 answered on 28 Jan 2010
2 answers
166 views
Hi,

I have installed RadEditor Lite with WSS 3.0 so that we can take advantage of the Image Upload feature with our Wiki.  When I browse to the site by using it's servername (eg: http:\\server) then the Image Manager works great, but when I browse to the Cname/Alias we have set up in DNS (eg: http:\\intranet) the Image Manager button does not work and comes up with the following error:

 

Server Error in '/' Application.

The Web application at http://intranet could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: The Web application at http://intranet could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[FileNotFoundException: The Web application at http://intranet could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.]
   Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken) +653
   Microsoft.SharePoint.SPSite..ctor(String requestUrl) +96
   Telerik.SharePoint.SharePointContext.InitContext(HttpContext context, String siteUrl, String webUrl, String webId) +52
   Telerik.SharePoint.RadControls.Editor.Dialogs.DialogLoaderJavascript.Page_Load(Object sender, EventArgs e) +186
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   Telerik.WebControls.Dialogs.DialogLoaderBase.OnLoad(EventArgs e) +104
   Telerik.WebControls.Dialogs.DialogLoaderJavascript.OnLoad(EventArgs e) +111
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016



I have a feeling this may be something I missed when setting up our Sharepoint server.  Any help would be appreciated.

Thanks.
Devan Schellenberg
Top achievements
Rank 1
 answered on 28 Jan 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?