Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
44 views
Hello,

In scheduler dayview, while stretching an appointment, currently it takes minimum 30 minutes gap between start and end. I have a scenario where I need to allow the user to stretch it in a way to force this gap as zero seconds and make its start and end equal. In our case, it is different than deleting an appointment.

Is it possible to implement this solution in present scheduler & how?

Thanks,
Shailaja
Peter
Telerik team
 answered on 19 Jan 2009
2 answers
154 views
I've been trying to follow the example given here but i kept getting the error that AppointmentToolTip wasn't defined. I started looking on the forums and found some alternate examples and i was actually able to see the custom control pop up with this route that i took...problem is i get a "Input string was not in a correct format" error. Heres my current code or if you can tell me why the telerik example is not working that would be fine too.
    Public Sub RadCal_AppointmentCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.AppointmentCreatedEventArgs) Handles RadCal.AppointmentCreated 
        Dim clientID As String = e.Appointment.ClientID 
        Me.RadToolTipManager1.TargetControls.Add(clientID, e.Appointment.ID.ToString(), True) 
    End Sub 
 
    Public Sub RadToolTipManager1_AjaxUpdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.ToolTipUpdateEventArgs) Handles RadToolTipManager1.AjaxUpdate 
        Dim apt As Appointment = RadCal.Appointments.FindByID(Int32.Parse(e.Value)) 
        Dim ctlTooltip As Control = LoadControl("Controls/AppointmentToolTip.ascx") 
        Dim lblJobName As Label = DirectCast(ctlTooltip.FindControl("lblJobName"), Label) 
        lblJobName.Text = apt.ID.ToString 
        e.UpdatePanel.ContentTemplateContainer.Controls.Add(ctlTooltip) 
    End Sub 

                <telerik:RadToolTipManager runat="server" ID="RadToolTipManager1" Width="320" Height="170" 
                            OnAjaxUpdate="RadToolTipManager1_AjaxUpdate" AutoTooltipify = "true"  
               ShowEvent="OnRightClick" 
               ManualClose="true" 
               Modal="true" /> 

                <telerik:RadToolTipManager runat="server" ID="RadToolTipManager1" Width="320" Height="170" 
                            OnAjaxUpdate="RadToolTipManager1_AjaxUpdate" AutoTooltipify = "true"  
               ShowEvent="OnRightClick" 
               ManualClose="true" 
               Modal="true" /> 


Ben
Top achievements
Rank 1
 answered on 19 Jan 2009
2 answers
201 views
I have a prior installation of Telerik RadControls for ASP.NET Q2 2007. Recently, we upgraded to RadControls for ASPNET AJAX Q3 2008. After this, I noticed that several of my Radgrids lost the previously applied formatting. Since reapplying the formatting for each individual grid was not a viable option, I specificaly referenced the older version of the Radgrid dll and set the Specific Version required to true. The app is running perfectly fine on  my local machine. But when I build and deploy it to the dev server I get the following Compilation error:
Could someone please help me with this?

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0012: The type 'System.Web.UI.ScriptManager' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

Source Error:

Line 282:        
Line 283:        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 284: private global::Telerik.Web.UI.RadScriptManager @__BuildControlrsmSKU() {Line 285:            global::Telerik.Web.UI.RadScriptManager @__ctrl;
Line 286:            


Thanks,
Sreejath
drinell
Top achievements
Rank 1
 answered on 19 Jan 2009
3 answers
91 views
Hi Telerik,
                I am in timeline view.

                Each timeslot duration is of fifteen minutes. I want to show column header time for complete hours and not for every timeslot.     
                So, four timeslots making a complete hour will have one column header, denoting the hour.

                Furthermore, what is the function of timelabelspan? How do i set it?
Peter
Telerik team
 answered on 19 Jan 2009
1 answer
241 views
I want to use paging in my radGrid but at the same time resize the grid to 100% height in my browser or div.
A bit like this example: http://demos.telerik.com/aspnet-ajax/Grid/Examples/Programming/CustomizingPager/DefaultCS.aspx but I want the page size to be variable and be based on the containers height and how many objects it can fit in the grid when maximized.
For example if the height is big then the grid would hold 100 objects per page and if I resize it smaller it could only hold 10 objects. And all this is controlled automatically and programatically.
How can I solve this?

Dimo
Telerik team
 answered on 19 Jan 2009
1 answer
179 views
Hi All,

Is it possible using RadGrid control to create it dynamically along with GridColumn or atleast to create the GridColumn dynamically at runtime in the client side and then do the databind?

Thanks and regards
Sundar
Sebastian
Telerik team
 answered on 19 Jan 2009
3 answers
181 views

OK.  I'm using a MasterPage setup, where I have a RFD in the masterpage applied to the div that contains my content placeholder...

Materpage snippet:

<telerik:RadFormDecorator ID="RFDContent" runat="server" DecorationZoneID="content">  
    </telerik:RadFormDecorator> 
 
<div id="content">  
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">  
        </asp:ContentPlaceHolder> 
    </div> 


Nothing out of the ordinary there as far as I know.  However, in my content pages, I'm using CSSClasses to format text on the pages.  Everything works fine and the RFD does its job on the controls, however, I need to be able to control the color of the text on controls the RFD is decorating: radiobuttons and checkboxes in particular. 

From what I've read, I thought that the RFD was supposed to let you specify a CSSClass on a decorated object?  Is this true?  Currently, the behavior I'm getting is that the controls in question, with a CSSClass set, load initially correctly, but once the page completes loading, their text values (which is all that the CSSClass changes) default back to the color of that RFD's selected skin.  Yes, I'm using themes to specify skins on all telerik controls that I'm using for consistency across the app, RFD included.

So, I guess the question is, is it possible to use the default skins for RFD, but still control the text colors through CSS on decorated controls in a masterpage scenario?

I hope this makes sense.  Any reply or insight would be appreciate, as I need to get this functioning properly ASAP.  Thanks.

Marty
Georgi Tunev
Telerik team
 answered on 19 Jan 2009
1 answer
233 views
Hello,

I have one page suppose Test.aspx  in which I have used 6 Iframe.in each IFrame I have one Page (each page is showing either Chart or Radgrid).
       See One Of IFrame has page(Suppose Home.aspx) through which RadGrid is Binded,I have one of column of RadGrid is LinkButton,In LinnkButton Click I am opening one RadWindow, Everything is fine till this point,My Popup has one button Update on Update Button I have called Javascript in script I called  above function.

GetRadWindow().BrowserWindow.CallBackDisFunctionDept(status);
      Due to this function This opened Radwindow is closed Automatically and Called CallBackDisFunctionDept function  which is written under Test.aspx   page On that function I am calling Button Click button due to call that Button Click function that Text.aspx page is refreshed and all the IFrame in that page is also refreshed .

 But I don't want that It should work like that,I want to Refresh only that IFrame through whose Linkbutton Radwindow was opened.
But At this Time Whole Page is going to refresh.I am not able to postback  to only that page Home.aspx from Radwindow..It does not working.

Hope I'll get Solutions soon.

Thanks

Georgi Tunev
Telerik team
 answered on 19 Jan 2009
2 answers
228 views
Hello,
I'm trying export data from grid to excel. It works but a field "bank account" (eg. 12345678901234567890123456) in excel: 1.23E....
So, I don't see account number.
How can I resolve this problem?
My code:
        radgrid.CurrentPageIndex = 0; 
        radgrid.ExportSettings.ExportOnlyData = true; 
        radgrid.ExportSettings.IgnorePaging = true; 
        radgrid.ExportSettings.OpenInNewWindow = true; 
        radgrid.ExportSettings.FileName = "Export"; 
Grid's columns are declarative from xml.
Bob
Top achievements
Rank 1
 answered on 19 Jan 2009
1 answer
115 views
Hi,
I get the following error after having updated the scripts and dll's some 3 days back. (q2 2008), which was upgraded from q2 2006 .
This would happen of course a few days prior to delivery to client,..so it is kinda urgent.

Initially I had upgraded q2 2006 to q2 2008, and it was running. I then updated the website with the latest scripts and dll's, as i needed to use the new ExportToPDF functionality.
And, Error:..................

"Cannot find a string resource with key 'ClearClass' in App_GlobalResources/RadEditor.Main.resx. Please, make sure that your custom localization has all needed resource strings,".....+ copy all from original etc

Well,
1)   I never had anything called "ClearClass"...???
2)  I copied all  the original localization resources from my installation folder to App_GlobalResources, in the website.
3)  This site has the updated Telerik.Web.Ui.dll, in the bin folder along with all the old dll's per each and every used control in the site.
No Luck, still same error.
and
I recreated the same screen in a stand alone web site project, ..only referencing  the new Telerik.Web.Ui.dll, no RadControls folder, no toolsfile or versions of it, Has the App_GlobalResources of course, and this ran successfully.
I tried removing Editor folder etc from the Rad_Controls folder and removing the Editor.dll from the bin...still no success.

The stack trace ..
[InvalidOperationException: Cannot find a string resource with key 'ClearClass' in App_GlobalResources/RadEditor.Main.resx. Please, make sure that your custom localization has all needed resource strings, or copy the original localization resources from your installation folder to App_GlobalResources.]
   Telerik.Web.LocalizationStrings.GetString(String key) +349
   Telerik.Web.UI.Editor.MainStrings.get_ClearClass() +30
   Telerik.Web.UI.RadEditor.DescribeComponent(ScriptComponentDescriptor descriptor) +1227
   Telerik.Web.UI.RadWebControl.Telerik.Web.IControl.DescribeComponent(ScriptComponentDescriptor descriptor) +31
   Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control) +162
   Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(WebControl control) +25
   Telerik.Web.UI.RadWebControl.GetScriptDescriptors() +24

IS it a GAC caching issue possibly or old references to the editor dll,(it has no refresh),..I did replace the controls n the form from the new tools in the toolbox, (used the zip file to get q2 2008 as opposed to the self reg exe),  or a control mixing issue (only the Page with The Editor in it has issues, rest of the site is fine.)

Thanks
Neal




Rumen
Telerik team
 answered on 19 Jan 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?