Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
189 views
I've just begun using the asp.net radscheduler control. I am setting up authorizations that can have several scheduler appointments. We're using the control to add and edit the appointments, but are wanting to create custom grids of the authorizations showing a date's latest appointment time, and to validate if an authorization is valid for a specific day, etc. We will be doing this on asp.net and from a silverlight oob app. The asp.net site will be the only place to add/edit appointments. Are there built in methods to pass in a date and see if there is a valid appointment, and if so, return information about said appointment? Not sure where to begin to parse the recurrence rules to accomplish this. We'll need to parse this data from silverlight as well. Thanks!
Peter
Telerik team
 answered on 24 May 2012
0 answers
109 views
I have a radgrid in content page.
the master page have a RadSppliter (on left show slide panes ) the other part of splitter is for content pages.

I put radsplitter: height100%, thats works

And in my css I put

.RadGrid{ height:100% !important} --> this not work.



I don't kwon what I do wrong.
July
Top achievements
Rank 2
 asked on 24 May 2012
2 answers
163 views
Hi!

When programmatically setting the content, is there a way to start in Preview mode first and make the Design mode secondary? (We hide the HTML mode.)

Thanks!
Michael O'Flaherty
Top achievements
Rank 2
 answered on 24 May 2012
2 answers
171 views
I have a RadDatePicker control in an EditForm Template of a RadGrid. How can I attach a RadToolTip to this datepicker control? I tried the suggestions from other posts where IsClient=true and I appended "_dateInput_text" to the targetcontrolid but  I am not able to get the RadTooltip to display for the RadDatePicker. Does the RadTooltip work with the RadDatePicker control?  If not, can I use the jQuery Qtip with the RadDatePicker?

I have been able to get the RadTooltip to work in this EditForm Template with an asp textbox control and also with the RadEditor control.

I'm using the latest runtime version v4.0.30319 of the Telerik ASP.Net AJAX Suite and ASP.NET 4.0.

Thank you.
Michele
Top achievements
Rank 1
 answered on 24 May 2012
0 answers
98 views
   Hi, I developed a custom asp.net user control that uploads images from a client machine to the app server. I used Telerik RadGrid. The only problem I have is not being able to drag and drop rows. I have gone through the relevant documentation online and examples and was able to simulate the same behavior but the grid in my control seems to stumble over something I have not been able to figure out. I am posting a snippet here... If it s not going to help, I can send a demo asp.net web site project and the control library project. It's C# and .NET 4.0  Thank you.
<div>
  <telerik:RadGrid
            ID="grdImageGroups"
            runat="server"
            AutoGenerateColumns="False"
            ShowFooter="true"
            Height="232px"
            Skin="Office2007"
            AllowSorting="true"
            Width="237px"
            GridLines="None"
            Visible="true"
            AllowMultiRowSelection="false"
            OnItemCommand="grdImageGroups_ItemCommand"
            OnSelectedIndexChanged="grdImageGroups_OnSelectedIndexChanged"  
            OnRowDrop="grdImageGroups_RowDrop"
            OnItemDataBound="RadGrid1_ItemDataBound">
            <MasterTableView DataKeyNames="Key" ShowHeader="true" ShowHeadersWhenNoRecords="true"  >
                 <SortExpressions>
                        <telerik:GridSortExpression FieldName="Title" SortOrder="Ascending" />
                    </SortExpressions>
                    <Columns>
                        <telerik:GridTemplateColumn UniqueName="colCheck" Visible="true" ItemStyle-Width="30px" HeaderStyle-Width="30px" >
                             <ItemTemplate>
                                <asp:CheckBox runat="server" ID="chkSelectRow" onclick="CheckRow(this);" />
                            </ItemTemplate>
                            <ItemStyle Width="15px" />
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="colImage" DataField="OriginalImageFile" ItemStyle-Width="30px" HeaderStyle-Width="30px">  
                           <ItemTemplate>  
                            <asp:Image ID="Image1" ImageUrl='<%# Eval("OriginalImageFile") %>' Height="20px" Width="20px" runat="server"  style="height:20px; width:20px" />  
                           </ItemTemplate>  
                        </telerik:GridTemplateColumn>  
                        <telerik:GridTemplateColumn HeaderText ="Image Name" DataField="Title"   UniqueName="colCheck" ItemStyle-Width="140px" HeaderStyle-Width="140">
                            <ItemTemplate>
                                <asp:Label runat="server" ID="lblTitle" Text='<%# TruncatedTitle(Convert.ToString(Eval("Title")), 25) %>' ToolTip='<%# Eval("Title") %>'></asp:Label>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                    </Columns>
                </MasterTableView>
                <ClientSettings  AllowRowsDragDrop="true" EnablePostBackOnRowClick="True">
                    <Selecting AllowRowSelect="true" EnableDragToSelectRows="false"  />
                    <ClientEvents OnRowDropped="RowDropped" OnRowSelected="RowSelected" OnRowDragStarted="displaymessage" />
                    <Scrolling AllowScroll="True" UseStaticHeaders="true" />
                </ClientSettings>
            </telerik:RadGrid>
<div>
Sergei
Top achievements
Rank 1
 asked on 24 May 2012
2 answers
316 views
I am trying to create a RadNotification from the code behind of an .aspx page but I keep getting "Object reference not set to an instance of an object."  

I am creating a new RadNotification like so:

Dim notification As New RadNotification

and then try to show it:

notification.Show()

I understand that this notification would be empty but I have also tried giving it a title and some text but that doesn't seem to work either.

What else do I have to provide?  Is it even possible to do this?


Trevor
Top achievements
Rank 1
 answered on 24 May 2012
4 answers
143 views
Hi,
I have an existing application which id devloped in ASP.NET2005 Framework 2.0(CLR 2.0) and as per the client requirement
we need to use the TELERIK Shedular control.
But I think telerik schedular control targets the CLR3.0 and above.
Is there any Schedular control exists that i can use it into my existing application without migrating the framework(as application is huge and will imact on lot of functionality).
Please suggest on this on priority.


Many Thanks
Anurag Sharma
Peter
Telerik team
 answered on 24 May 2012
1 answer
93 views
I have implemented this project as a test project:

http://www.telerik.com/help/aspnet-ajax/grid-updating-inplace-and-editforms.html

When I edit records, the edits show up in the grid... but they do not update in the northwinds database.

How do I get the updated records to write to the northwinds mdb using this code example?
ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
 answered on 24 May 2012
5 answers
476 views
Hi,
I have a RadComboBox as:
<telerik:RadComboBox ID="rcbProducts" runat="server" EmptyMessage="Select a product" AllowCustomText="true"
       AppendDataBoundItems="true" DataTextField="ProductName" ToolTip="ProductDescription"
       HighlightTemplatedItems="true">
       <ItemTemplate>
           <div onmouseover='showToolTip(this);' title='<%# Eval("ProductDescription")%>' style='width: 100%;'>
               <%# Eval("ProductName")%></div>
       </ItemTemplate>
   </telerik:RadComboBox>
I have loaded it with few items using Page_Load on server side. Now i need to add an item at client-side using javascript. How can i achieve this. This is what i have got.
function Add() {
            var combo = $find("<%= rcbProducts.ClientID %>");
            var comboItem = new Telerik.Web.UI.RadComboBoxItem();
            comboItem.set_text("New Item");
            var div = document.createElement("div");
            div.setAttribute("onmouseover", "showToolTip(this);");
            div.setAttribute("title", "New Item");
            div.setAttribute("style", "width: 100%;");
            div.innerHTML = "New Item";
            comboItem.set_element(div);//It doesnt set div as element???
            combo.get_items().add(comboItem);
            comboItem.select();
            return false;
        }
Thanks in Advance.
Cat Cheshire
Top achievements
Rank 1
 answered on 24 May 2012
6 answers
308 views
I know a grid's "caption" property can be set server-side by,

grid.MasterTableView.Caption = "my caption";

But is it also possible to set this client-side via javascript?  I tried the following but no luck,

masterTableView = grid.get_masterTableView();
masterTableView.Caption = "my caption";

Thanks in advance.
David
Top achievements
Rank 1
 answered on 24 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?