Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
611 views
If I have autocomplete turned on for a combobox and I press backspace while typing part of an item that auto-completes...this only clears the portion of the item that was automatically completed.  Instead, I want it to clear the last character I typed.

How would I go about this?
Simon
Telerik team
 answered on 27 Oct 2008
3 answers
149 views
How to find a specific text from javascript function in a RAD grid rows? Now the scenerio is quite complicated as I want to search for a text in a hierarchical child grid. If the search is successful then the related text is highlighted. Any idea how to accomplish this?
Yavor
Telerik team
 answered on 27 Oct 2008
1 answer
99 views
I tried to put a RadUpload control in RadDock.  When I click the "select" button, nothing coming up.  Is it possible to do it this way?

Raymond
Petko
Telerik team
 answered on 27 Oct 2008
3 answers
139 views
I'm having problems with the scaling control on RadEditor - when I use it to rescale the radeditor window, content does not flow properly around it, often overlapping the control. This is apparent even on the telerik demo site here:

http://demos.telerik.com/ASPNET/Prometheus/Editor/Examples/SaveInDatabase/DefaultCS.aspx

I am using Firefox, not sure if this problem exists in other browsers, but obviously it's important to support FF...



Rumen
Telerik team
 answered on 27 Oct 2008
1 answer
45 views
Hello,

I am using Editor in my application, We have many Organization in my application.
Below is my requirement.

1. All Images for an org is restricted, i.e., Images in one org cant be accessed by other org web pages.
2. I need to create, folder for each org, where as this folder is not accessible by other org context via, Telerik Editor.

Could you please tell me how to achieve this?

Thank you,
Sreedhar
Rumen
Telerik team
 answered on 27 Oct 2008
3 answers
124 views
Hi,

Is there a way where GridDropDownColumn item is filter by another GridDropDownColumn in the same gridview but different column???
plamen
Top achievements
Rank 1
 answered on 27 Oct 2008
1 answer
81 views
Is it possible to bind an RadSheduler using SubObjects like RadGrid?
http://www.telerik.com/help/aspnet-ajax/grdbindingtosubobjects.html


Example:
public class MyData  
{  
public Meeting Information { get; set; }  
public Resource Resource { get; set; }  
} 

I'm trying to bind a list of MyData in my RadScheduler and setting:

agenda.DataKeyField = "Information.Id";  
agenda.DataStartField = "Information.StartDate"; 

Is it possible? I'm getting this error:
DataBinding: 'MyData' does not contain a property with the name 'Id'.

It seens that it is looking for the property Id in MyData Object, not in SubObject MyData.Information.

Tku

Peter
Telerik team
 answered on 27 Oct 2008
1 answer
89 views
I am trying to utilize the RadCalendar control to help me display the Current Month for a "Dashboard" style purpose.

All I want is to show the Calendar control with Monday through Friday displayed. I have tried changing the SingleViewColumns to 5, and that displays the headers correctly, but even after changing the Focused date, the actual calendar dates are all messed up.

Is there any way at all to do this? It seems like a pretty basic need...

-Brad
Iana Tsolova
Telerik team
 answered on 27 Oct 2008
1 answer
89 views
Hi,

in my code i set the property MothView.VisibleAppointmentsPerDay to 5 and well i was getting the expected result with a particular other problem, after setting the property and i'm moving my mouse over an appoinment it pops up the following "java-scipt"-error (only Windows InternetExplorer):

Line: 1442
Char: 1
Error: 'null' is null or not an object" 

        protected void RadScheduler1_DataBound(object sender, EventArgs e)  
        {  
            RadScheduler1.MonthView.VisibleAppointmentsPerDay = 5;  
        } 

The testcode included the knowledgebase articke ((ID#1031) How to show all appointments in Month View) also doesn't work, same error message...

Hope someone can help me out,
Maik

 

Peter
Telerik team
 answered on 27 Oct 2008
2 answers
160 views
I have a grid and a commanditem template of a button. On button click I want to copy the contents of the grid to the clipboard. I have a client settings on-command call to buttonclicked and it is not firing.

I am iterating on the client side through the grid and i concatenate to one large string. I have 4 columns, so I am putting each column followed by a tab, and then at the end of each row a new line. Then I will write this string out to the clipboard. I tried doing it on the server, and the string was built, but I could not access the clipboard on the server side, so I am trying to write the code on the client. The grid I am trying to copy is a template inside a tooltip.

I have a client settings on-command and it doesnt fire the javascript when I click the button( which is a command item). I put in a clientevent on key press, and it actually works if I highlight and press a key, but not on command(which is where my button is)  Here is the aspx:
 <telerik:RadToolTip runat="server" ID="RadToolTip2" TargetControlID="Label1"
                                Skin="Inox" ShowDelay="500" AutoCloseDelay="200000" Font-Names="arial"
                                Font-Size="XX-Large" BorderStyle="Inset" HideDelay="100000" ManualClose="False"
                                Position="BottomRight" Sticky="True" Width="300">  
                                    <telerik:RadGrid ID="toolTipUsers" runat="server"  DataSourceID="ContentCentralActiveUsers"  
                                    GridLines="None" Skin="Default" AutoGenerateColumns="False"
                                       commanditemdisplay="Top">
                                      <MasterTableView  DataSourceID="ContentCentralActiveUsers"   CommandItemDisplay="Top"  NoMasterRecordsText="No users to display."   
                                                    GridLines="None"    ItemStyle-Wrap="false" >
                                      <CommandItemTemplate>
                                        <asp:Button ID="copy" runat="server" CommandName="Copy" Text="Copy to clipboard" >                               
                                        </asp:Button>
                                      </CommandItemTemplate>
                                      <ItemStyle  Font-Size="Larger"  Wrap="false"/>
                                      <AlternatingItemStyle  Font-Size="Larger" Wrap="false" />
                                        <Columns>
                                           <telerik:GridBoundColumn DataField="login_name" HeaderText="User name"  UniqueName="username"  ></telerik:GridBoundColumn>
                                           <telerik:GridBoundColumn DataField="password" HeaderText="Password"  UniqueName="password"  ></telerik:GridBoundColumn>
                                           <telerik:GridBoundColumn DataField="email" HeaderText="Email" UniqueName="email"  ></telerik:GridBoundColumn>
                                           <telerik:GridBoundColumn DataField="package_name" HeaderText="Package" UniqueName="package" ></telerik:GridBoundColumn>
                                        </Columns>
                                      </MasterTableView>
                                      <ClientSettings     ClientEvents-OnCommand="ButtonClicked"></ClientSettings>
                               </telerik:RadGrid>
                             </telerik:RadToolTip>


and here is the javascript:

   function ButtonClicked(sender, args) {

               var grid = sender;
               var MasterTable = grid.get_masterTableView();
                var rows = MasterTable.get_dataItems();
                var cell;
                var username;
                var password;
                var email;
                var spackage;
                var copyString;
                copyString = "User name \t Password \t Email \t Package  \r\n";
                for (var i = 0; i < rows.length; i++) {
                    var row = rows[i];
                    
                    cell = MasterTable.getCellByColumnUniqueName(row, "username");
                    username = cell.innerHTML;
                    cell = MasterTable.getCellByColumnUniqueName(row, "password");
                    password = cell.innerHTML;
                    cell = MasterTable.getCellByColumnUniqueName(row, "email");
                    email = cell.innerHTML;
                    cell = MasterTable.getCellByColumnUniqueName(row, "package");
                    spackage = cell.innerHTML;
                    copyString = copyString + username +"\t"+password+"\t"+email+"\t"+spackage+"\r\n";
                }
                window.clipboardData.setData('text', copyString);
       }


Laura
Top achievements
Rank 1
 answered on 27 Oct 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?