Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
163 views
On the appointment detail screen, the time input boxes are pretty much on top of the date picker popup button. It's the same on the demo here on this site too.

I copied over the css file and defined it as a custom skin, but I can't seem to find the area to adjust this. Is there a section in the css that I can adjust the padding or the margin for either the date picker popup button or the time input boxes to push them over a little bit?
T. Tsonev
Telerik team
 answered on 22 Feb 2008
2 answers
111 views
In Month view, is there a way to only show the current month's days like with the calendar control's ShowOtherMonthsDays="false" property?
Philip
Top achievements
Rank 1
 answered on 22 Feb 2008
3 answers
106 views

I must be missing something obvious. In the code below, I want Button1 to perform an Ajax postback. This works as expected. I want Button2 to perform a normal (non-Ajax) postback, but it performs an Ajax postback even though it is not listed as a "trigger" in AjaxSettings. What am I doing wrong? I'm running v2007.3.1314.20.

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
    <AjaxSettings> 
        <telerik:AjaxSetting AjaxControlID="Button1">  
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="Panel1" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
    </AjaxSettings> 
</telerik:RadAjaxManager> 
 
<asp:Panel ID="Panel1" runat="server">  
    <asp:Button ID="Button1" runat="server" Text="Button1" /> 
    <asp:Button ID="Button2" runat="server" Text="Button2" /> 
    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> 
</asp:Panel>  

 

Giuseppe
Telerik team
 answered on 22 Feb 2008
1 answer
163 views
I'm trying to add resources to the radscheduler (Room, Type, etc).  I see in the documentation how to do this with the datasource pulling from SQL, but what about just adding values in the code behind file and textboxes which allow the user to input whatever the want?

Thanks,
-David
T. Tsonev
Telerik team
 answered on 22 Feb 2008
2 answers
158 views

I’m using a ReadTreeView with ExpandMode set to WebService. When I expand the node, I use NodePopulating to pass the proper parameters. Then the web service method is called and returns the data to be loaded on the tree. The problem is that the data returned contains more information than just Text and Value which seem to be mapped automatically from members with the same name. But if this data doesn’t contain properties Text/Value or I want to load the tree node custom attributes collection with other values, how do I do that?

By the way, I’m using WCF and the return type is defined in a DataContract class, as in your example of the KB article at http://www.telerik.com/community/code-library/submission/b311D-bcaeek.aspx.


Thanks!
relper
Top achievements
Rank 1
 answered on 22 Feb 2008
4 answers
252 views
Hi,

in a single asp.net page, i put 2 RadUpload "prometheus" control. i didn't set TargetFolder and TargetPhysicalFolder, because i want to handle the upload myself. I want to save files using unique file name that i generate myself.

the problem is that when i use this unique file name, not all files that are uploaded are saved on the disk. I simulate this several time, I upload 5 files and only 3 or 4, even only 2 of them are saved on the harddisk, but when I use the original file name of the files uploaded, all of them are saved successfully on the harddisk. strangely, if I run it on debug mode (pressing F5) and go through the code line by line with F10, everything is working fine, all files are saved with unique filename.

this is my code behind that handles the upload:

if (RadUpload1.UploadedFiles.Count > 0)
{
    foreach (Telerik.Web.UI.UploadedFile file1 in RadUpload1.UploadedFiles)
    {
         string newFilename = Tools.generateUniqueFilename() + file1.GetExtension();
         file1.SaveAs(Path.Combine(path, newFilename));
         images.Add(file1.FileName, file1);
         Literal1.Text += file1.FileName + " success<br/>";
     }
}
if (RadUpload2.UploadedFiles.Count > 0)
{           
      foreach (Telerik.Web.UI.UploadedFile file2 in RadUpload2.UploadedFiles)
      {
          string newFilename = Tools.generateUniqueFilename() + file2.GetExtension();
          file2.SaveAs(Path.Combine(path, newFilename));
          images.Add(file2.FileName, file2);
          Literal1.Text += file2.FileName + " success<br/>";
     }
}

I appreciate for any help.

regards,

arief
ariefimansantoso
Top achievements
Rank 2
 answered on 22 Feb 2008
1 answer
142 views
Hello

I am trying to setup a session data source for a RadScheduler as provided by your example application for optimized queries. However, the example has

<%

@ Register TagPrefix="sds" Namespace="Telerik.Web.SessionDS" %>

and the compiler cannot find Telerik.Web.SessionDS.

Can you explain what I am doing wrong? I have tried using SessionsDataSource.dll and that won't work either.

Alternatively, is there another way to process the OnSelecting event without having to use a data source?

Thank you

Tony

T. Tsonev
Telerik team
 answered on 22 Feb 2008
3 answers
97 views
When I click the Help icon i just get a screen that says:

RadEditor Help Topics
General Buttons
Button Name

Is there something else that needs to be installed to have this documentation show up?  Thanks.
George
Telerik team
 answered on 22 Feb 2008
1 answer
192 views
I've implemented a solution similar to the one shown here: http://www.telerik.com/DEMOS/ASPNET/Prometheus/ToolTip/Examples/LoadOnDemand/DefaultCS.aspx

A tooltip is shown on demand, and just as in the example, the "trigger" of the tooltip is set programatically. The problem I've found is that sometimes that trigger is close to the page border and when the tooltip is shown, it appear out of the page bounds.

Is there any way to prevent that?
Svetlina Anati
Telerik team
 answered on 22 Feb 2008
3 answers
153 views
Hi.

I didn't find anything on this in the forums.

What I've got is this:

One RadGrid using a usercontrol for editing.  In this usercontrol I have one RadComboBox and a RadTreeView within the ItemTemplate, similar to your online example at http://www.telerik.com/DEMOS/ASPNET/Prometheus/TreeView/Examples/Functionality/TreeViewComboBox/DefaultCS.aspx.

In the ItemTemplate of the RadComboBox I have this code:

<telerik:RadTreeView ID="treeComboKapittel" runat="server"
                                 OnNodeClick="treeComboKapittel_NodeClick">
</telerik:RadTreeView>  

and code behind

Protected Sub treeComboKapittel_NodeClick(ByVal o As Object, ByVal e As Telerik.Web.UI.RadTreeNodeEventArgs)
        comboKapittel.SelectedItem.Text = e.Node.Text
        comboKapittel.SelectedItem.Value = e.Node.Value
    End Sub

This worked just fine with the old RadControls, but when I converted to prometheus the application performs a complete postback and bypass the Ajax completely.

I need to set comboKapittel.SelectedItem.Value because the value property containts a table ID which is required upon saving the record.

I'm using Prometheus controls everywhere.

Any ideas what I'm doing wrong?

Thanks,

Kjell
kgg
Top achievements
Rank 1
 answered on 22 Feb 2008
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?