Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
222 views
I'm using a modified 'ToolTipSprites.png' in my project.

All of the horizontal sprites show correctly, but the close button is not showing.  I did not modify the size/dimension/position of the close button in the sprite, only the color.

I've tried modifying the CSS, and have gotten some interesting results:
 
div.RadToolTip_CBToolTip a.rtCloseButton 
{  
      background-color: #66a2cc; 
}

That will change the background color of where the close button will be, no problem.   But when I attempt to add the png

div.RadToolTip_CBToolTip a.rtCloseButton 
{  
   background-image : url('ToolTip/ToolTipSprites.png');
}

I get nothing.  Any idea on how I can get this class to pick up?
Marin Bratanov
Telerik team
 answered on 13 Nov 2012
1 answer
90 views
Hello
I am using radgrid q3 2009.
Is it possible to access the values for group aggregates in a group header. I have tried this code on this webpage

http://www.telerik.com/help/aspnet/grid/grdcustomizegridgroupheaderitem.html

but the data in the DataRowView belongs to the last row for the group in question. In a GridRowFooterItem you can access the aggregates on a column by simply calling footerItem("ColumnName"). This does not seem to work on a GridRowHeaderItem.

thanks a lot
Milena
Telerik team
 answered on 13 Nov 2012
1 answer
102 views
Team,

I am facing an error which is causing to us , 

My controls are like this ,asp:updatepanel Inside update panel i placed radajaxmanager and  radgrid... 

I'm geting this error while redirecting to another page are refreshing the curent page then I'm getting this script error..

Please find the attachment files. and give the sol for this problem asap

Regards,

Prasad
Andrey
Telerik team
 answered on 13 Nov 2012
3 answers
91 views
Hi Sir,
I'm experiencing an issue with a radgrid after filtering: the columns sizes are reduced and I'm unable to remove the filter.
To clarify, I'm posting images.
I hope you can find a solution

Thanks
Davide Accogli
Kostadin
Telerik team
 answered on 13 Nov 2012
6 answers
193 views
Hi,

I want to display only a subset of classes in the Apply CSS drop-down list.
I have two CSS files, and I want to render the document with the content of both in the editor, but I want only the classes of one of them to be selectable in the dropdown list.

I noticed that the drop-down list is populated when you first click on the item. And it then reads all the CSS classes that are loaded in the document.

How can I either trigger the population of the drop-down list or otherwise get the required behaviour?

I tried setting the CSSFiles property either programmatically or via the Tools.xml file, but I then noticed I could delay-load a CSS file in the iframe, but I need to trigger the event, otherwise I get all classes, and it becomes rather messy.

I do now know before hand what classes are defined in the CSS-files as they might be a number of different setups for our different customers.

I hope you can help me.

Rumen
Telerik team
 answered on 13 Nov 2012
6 answers
200 views
Hi to all,
I would:
  1. select an item by dropbox
  2. select a date, and by this auto-postback
  3. Into selected-changed event I would change timeview (starttime, endtime and interval)

How can I do this?

Dario
Top achievements
Rank 2
 answered on 13 Nov 2012
5 answers
138 views
So I have a multibanded rad grid with tabs and sub grids within the tabs.  For an edit template for one of the grids I have the rad date picker as the control to be used when editing.  So basically the issue that I am having, is sometimes when you go and try to edit a row in the grid, the datepicker calendar loses its style.  Basically instead of the calendar picture it says: "click here to open the calendar popup" which is the tooltip, and the calendar is completely unstyled.  This doesnot happen all the time, and I have yet to pinpoint what actually triggers this action.  Has anyone run into this problem yet??
Thanks,

Nate
p.s. below is the code for the subgrid.
 <telerik:RadGrid ID="rgHire" runat="server" AutoGenerateColumns="False" DataSourceID="sqlDSHire"
                            GridLines="None" Skin="Outlook" AllowAutomaticUpdates="True">
                            <MasterTableView DataSourceID="sqlDSHire" DataKeyNames="pkWorkerID" EditMode="InPlace">
                                <RowIndicatorColumn>
                                    <HeaderStyle Width="20px" />
                                </RowIndicatorColumn>
                                <ExpandCollapseColumn>
                                    <HeaderStyle Width="20px" />
                                </ExpandCollapseColumn>
                                <Columns>
                                    <telerik:GridEditCommandColumn HeaderStyle-Width="20px" ButtonType="ImageButton">
                                    </telerik:GridEditCommandColumn>
                                    <telerik:GridBoundColumn DataField="pkWorkerID" DataType="System.Int32" HeaderText="pkWorkerID"
                                        SortExpression="pkWorkerID" UniqueName="pkWorkerID" Visible="false">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridTemplateColumn DataField="OriginalDateOfHire" HeaderText="Original Date Of Hire"
                                        SortExpression="OriginalDateOfHire" UniqueName="OriginalDateOfHire" ItemStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:Label ID="lblOriginalDateOfHire" runat="server" Text='<%# Eval("OriginalDateOfHire") %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Left"></ItemStyle>
                                        <EditItemTemplate>
                                            <telerik:RadDatePicker ID="dpOriginalDateOfHire" SelectedDate='<%# Bind("OriginalDateOfHire") %>'
                                                runat="server" Skin="Outlook">
                                            </telerik:RadDatePicker>
                                            <asp:RequiredFieldValidator ID="rfvOriginalDateOfHire" runat="server" ErrorMessage="*"
                                                ControlToValidate="dpOriginalDateOfHire"></asp:RequiredFieldValidator>
                                        </EditItemTemplate>
                                    </telerik:GridTemplateColumn>
                                    <telerik:GridTemplateColumn DataField="CurrentDateOfHire" HeaderText="Current Date Of Hire"
                                        SortExpression="CurrentDateOfHire" UniqueName="CurrentDateOfHire" ItemStyle-HorizontalAlign="Left">
                                        <ItemTemplate>
                                            <asp:Label ID="lblCurrentDateOfHire" runat="server" Text='<%# Eval("CurrentDateOfHire") %>'></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Left"></ItemStyle>
                                        <EditItemTemplate>
                                            <telerik:RadDatePicker ID="dpCurrentDateOfHire" SelectedDate='<%# Bind("CurrentDateOfHire") %>'
                                                runat="server" Skin="Outlook">
                                            </telerik:RadDatePicker>
                                        </EditItemTemplate>
                                    </telerik:GridTemplateColumn>
                                </Columns>
                                <EditFormSettings>
                                    <EditColumn UniqueName="EditCommandColumn1">
                                    </EditColumn>
                                </EditFormSettings>
                            </MasterTableView>
                        </telerik:RadGrid>
Galin
Telerik team
 answered on 13 Nov 2012
15 answers
576 views
Hello,

I'm having trouble getting a RadListBox to transfer correctly.  The source radlistbox loads as expected but the destination radlistbox does not seem to have data to bind to.  After the transfer, empty rows appear in the destination radlistbox.  Can anyone offer advice as to what I'm missing?

On Load  (if(!IsPostBack)...

DataSet ds = new DataSet(); 
 
ds.ReadXml(Server.MapPath("~/_sample_data/CustomersAndDogs.xml")); 
 
SourceRadListBox.DataSource = ds; 
SourceRadListBox.DataBind(); 

The aspx code is as follows:

<div style="width: 600px;"> 
        <telerik:radlistbox  
            id="SourceRadListBox"  
            runat="server"  
            skin="WebBlue"  
            allowtransfer="True" 
            transfermode="Copy"  
            transfertoid="DestinationRadListBox"  
            height="200px"  
            width="250px" 
            datasortfield="DogName" 
            SelectionMode="Multiple"             
            > 
            <EmptyMessageTemplate> 
                No dogs found</EmptyMessageTemplate> 
            <ItemTemplate> 
                <div style="width: 100%;"> 
                     
                    <div style="width: 50%; float: left;"> 
                        <%# Eval("DogName") %></div> 
                    <div style="width: 50%; float: left;"> 
                        <%# Eval("OwnerFullName") %></div> 
                </div> 
            </ItemTemplate> 
            <Items> 
            </Items> 
        </telerik:radlistbox> 
        <telerik:radlistbox id="DestinationRadListBox" runat="server" width="250px" height="200px"> 
            <EmptyMessageTemplate> 
                No dogs selected</EmptyMessageTemplate> 
            <ItemTemplate> 
                <div style="width: 100%;"> 
                    <div style="width: 50%; float: left;"> 
                        <%# Eval("DogName") %></div> 
                    <div style="width: 50%; float: left;"> 
                        <img src='<%# Eval("DogThumbNailImageUrl") %>' height="40px" width="40px" alt="" /></div> 
                </div>                 
            </ItemTemplate> 
        </telerik:radlistbox> 
        </div> 

Thanks,
James
Genady Sergeev
Telerik team
 answered on 13 Nov 2012
3 answers
157 views
I have the folloing code for a RadTimePicker but for some reason in my page behind when I submit a query to the database with tpEndTime formatted as a string it is inputting the date and time in to the database column, not just the time. The db table column that has the issue is set to nvarchar and there are no formatting calls on the field before the insert.

Dim dEndTime As String = tpEndTime.SelectedDate

So instead of 18:00 my database is showing 8/22/2011 18:00:00 PM

<telerik:RadTimePicker ID="tpEndTime" runat="server" Skin="Vista">
                <DateInput DateFormat="HH:mm" DisplayDateFormat="HH:mm" runat="server"></DateInput>
                <TimeView ShowHeader="true" HeaderText="End Time" Interval="00:15:00" Columns="4" StartTime="08:00:00" EndTime="20:00:00" TimeFormat="HH:mm" runat="server"></TimeView>
</telerik:RadTimePicker>

I am using the latest version of the ASP.net AJAX controls
Maria Ilieva
Telerik team
 answered on 13 Nov 2012
3 answers
284 views
I'm working on a project that requires a user to click on an appointment to trigger an event. I'm using the OnAppointmentClick to accomplish this, but I need to disable the click event for certain appointments displayed.

I'd prefer the event not even fire for those appointments, but can't find any way to accomplish this on a appointment by appointment level.

Thanks for any help and suggestions you may have.
Chris
Plamen
Telerik team
 answered on 13 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?