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

I have created a scheduler and Grid in which the grid drop is enabled.
When the Item is created on the drop of the grid the Appointments are not possible to "Resize or Repostion by Dragging".

Only these actions are permitted only if I do a page refresh or the postback.

What could be the reason.

Any help.


Vinu
Peter
Telerik team
 answered on 03 Aug 2011
1 answer
49 views

Hello every one,

How to bind empty row and columns in ragrid ,
It's possible ,
After The i fill in that radgrid


Regards,
Mohamed.
Princy
Top achievements
Rank 2
 answered on 03 Aug 2011
1 answer
303 views
Hello

I want to place a count down timer by using JavaScript in my tool tip, which is a .ascx.
In normal pages, the script works and the timer shows. But when showing in a tool tip, it doesn't work.

Is it an abnormal behavior?

Looking forward for the answer.

Thanks in advance
Thanh Dang



Svetlina Anati
Telerik team
 answered on 03 Aug 2011
1 answer
83 views
I've got a RadGrid with detail tables in a search application.

Often times my users are looking at the detail tables and then change the search critieria.

At that point my code rebinds the grid and the detail tables the users were looking at before and no longer expanded. The users are not excited about having to expand out the detail tables again.

What's the best way to handle this situation. Is there an easy way to get the rows that are expanded before the bind and then programmatically expand them again?

--Mark 
Tsvetina
Telerik team
 answered on 03 Aug 2011
1 answer
68 views
When hovering over a root item it appears that the child item all move up 1 pixel.  Can anyone tell me what are the CSS classes that are causing this?
Kate
Telerik team
 answered on 03 Aug 2011
6 answers
164 views
I have two schedulers. One is for users to populate with appointments. The second one is public facing. They both share the same data source though. For the public facing, as the scheduler loads and populates events I need to do the following:

- check the appointment subject. (For simplicity) If the subject is "A" then I set the background image of the cell to a color and an image
- if the subject is "B" I set it to another image and color
- I need to set the whole background image of the cell in month view. Not the background image and color for the appointment. The whole cell.
- I need to then also make the appointment invisible so that only the color and image remain.

I tried doing this in the OnAppointmentCreated event. I have the code below but this only sets the color of the appointment and not the whole cell. It also for some reason does not hide the appointment. Any help would be appreciated.

protected void RadScheduler1_AppointmentCreated(object sender, Telerik.Web.UI.AppointmentCreatedEventArgs e)
{          
            if(e.Appointment.Subject.ToString() == "A")
            {
                e.Appointment.CssClass = "Custom";            
                e.Appointment.Visible = false;
            }
}

the css:
<style type="text/css">  
    .Custom .rsAptOut  
    {  
         background-color: Blue !important;  
    }  
    </style>
Plamen
Telerik team
 answered on 03 Aug 2011
1 answer
91 views
Hi,

I have two RadComboBox. combo1 and combo2.

Combo1 populates countries and combo2 states which belongs to a particular country.

How can I populate combo2 on selectedindex of combo1 using ajaxcall. ?


Thanks,
Shinu
Top achievements
Rank 2
 answered on 03 Aug 2011
2 answers
196 views
Hi
      I have nestedview grid,which has two tabs and each tab has pageview section. My scenario is i have to bind the DetailView section of one of my Tab dynamically by code. I cannot swith detaiview section to bind the data. I dont know which event helps to bind the data.


-Thanks
Pieter
Top achievements
Rank 1
 answered on 03 Aug 2011
4 answers
85 views
I am working on a site that was using Qx 2008 controls.  In the process of working on the site, I migrated the controls to Q1 2009.  In the process the "gray" them was no longer available so I had to switch themes on the radtabstrip.  Any theme I select has a visual tab problem where the left x number of pixels are elevated above the rest of the tab.  See attached JPG.

Doug



Dimitar Terziev
Telerik team
 answered on 03 Aug 2011
1 answer
97 views
My Code is :

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
    <style type="text/css">
        .border
        {
            border-bottom: 1px solid grey;
        }
        
        .RadTabStripVertical li.rtsLI .new, .new
        {
            padding-left: 10px !important;
        }
        .RadTabStripVertical li.rtsLI .new1, .new1
        {
            padding-left: 20px !important;
        }
        .RadTabStripVertical li.rtsLI .new2, .new2
        {
            padding-left: 30px !important;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <script type="text/javascript">
        //Put your JavaScript code here.
    </script>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div>
        <table style="padding: 0px; width: 100%; float: left">
            <tr>
                <td width="20%" valign="top">
                    <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Width="100%">
                        <Items>
                            <telerik:RadPanelItem runat="server" Text="Registration">
                                <Items>
                                    <telerik:RadPanelItem runat="server" Text="Student">
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem runat="server" Text="Test">
                                    </telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelItem>
                            <telerik:RadPanelItem runat="server" Text="SuperUser">
                                <Items>
                                    <telerik:RadPanelItem runat="server" Text="Window &amp; Tab">
                                    </telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelItem>
                        </Items>
                    </telerik:RadPanelBar>
                </td>
                <td width="100%" style="float: left">
                    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0" Skin="Office2007"
                        Width="100%" MultiPageID="RadMultiPage1">
                        <Tabs>
                            <telerik:RadTab runat="server" Text="Student" Selected="True" SelectedIndex="0" PageViewID="RadPageView1">
                                <Tabs>
                                    <telerik:RadTab runat="server" Text="AD_TABLE_ID" PageViewID="RadPageView1">
                                    </telerik:RadTab>
                                </Tabs>
                            </telerik:RadTab>
                            <telerik:RadTab runat="server" Text="Test" PageViewID="RadPageView2">
                                <Tabs>
                                    <telerik:RadTab runat="server" Text="Client Orders" PageViewID="RadPageView2">
                                    </telerik:RadTab>
                                    <telerik:RadTab runat="server" Text="Client Information" PageViewID="RadPageView2">
                                    </telerik:RadTab>
                                </Tabs>
                            </telerik:RadTab>
                        </Tabs>
                    </telerik:RadTabStrip>
                    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" Width="100%" SelectedIndex="0">
                        <telerik:RadPageView ID="RadPageView1" runat="server" Width="100%">
                            <telerik:RadToolBar ID="RadToolBar1" runat="server" Width="100%">
                                <Items>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Ignore24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Help24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Save24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Multi24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Ignore24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Report24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Report24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Archive24.png">
                                    </telerik:RadToolBarButton>
                                </Items>
                            </telerik:RadToolBar>
                            <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="XmlDataSource1">
                                <HeaderContextMenu DataTextField="id" DataValueField="id">
                                </HeaderContextMenu>
                                <HeaderContextMenu DataTextField="name" DataValueField="name">
                                </HeaderContextMenu>
                                <HeaderContextMenu DataTextField="color" DataValueField="color">
                                </HeaderContextMenu>
                            </telerik:RadGrid>
                            <asp:XmlDataSource ID="XmlDataSource1" runat="server" EnableCaching="False" DataFile="~/Bin/xml.xml"
                                TransformFile="~/Bin/xml.xsl"></asp:XmlDataSource>
                            <br>
                            student >> home address >> city<br>
                            <!--Sub Tab -->
                            <telerik:RadTabStrip ID="RadTabStrip2" runat="server" Orientation="VerticalLeft"
                                MultiPageID="RadMultiPage2" Width="10%" SelectedIndex="1">
                                <Tabs>
                                    <telerik:RadTab runat="server" Text="Batch" PageViewID="RadPageView3" CssClass="border">
                                    </telerik:RadTab>
                                    <telerik:RadTab runat="server" Text="Address" OuterCssClass="new" CssClass="border"
                                        Selected="True" PageViewID="RadPageView3">
                                    </telerik:RadTab>
                                </Tabs>
                            </telerik:RadTabStrip>
                        </telerik:RadPageView>
                        <telerik:RadPageView ID="RadPageView2" runat="server" Width="100%">
                        </telerik:RadPageView>
                    </telerik:RadMultiPage>
                    <telerik:RadMultiPage ID="RadMultiPage2" runat="server">
                        <telerik:RadPageView ID="RadPageView3" runat="server" Width="100%">
                            <telerik:RadToolBar ID="RadToolBar3" runat="server" Width="100%">
                                <Items>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Ignore24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Help24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Save24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Multi24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Ignore24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Report24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Report24.png">
                                    </telerik:RadToolBarButton>
                                    <telerik:RadToolBarButton runat="server" ImageUrl="http://testadempiere.com/webui/images/Archive24.png">
                                    </telerik:RadToolBarButton>
                                </Items>
                            </telerik:RadToolBar>
                            <telerik:RadGrid ID="RadGrid2" runat="server" DataSourceID="XmlDataSource1">
                                <HeaderContextMenu DataTextField="id" DataValueField="id">
                                </HeaderContextMenu>
                                <HeaderContextMenu DataTextField="name" DataValueField="name">
                                </HeaderContextMenu>
                                <HeaderContextMenu DataTextField="color" DataValueField="color">
                                </HeaderContextMenu>
                            </telerik:RadGrid>
                            <asp:XmlDataSource ID="XmlDataSource2" runat="server" EnableCaching="False" DataFile="~/Bin/xml.xml"
                                TransformFile="~/Bin/xml.xsl"></asp:XmlDataSource>
                        </telerik:RadPageView>
                    </telerik:RadMultiPage>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
NOW THE PROBLEM I AM FACING IS, INITIALLY ON THE PAGE LOAD, TEST RAD TAB CONTENT IS EMPTY. WHEN I CLICK BATCH AND THE CONTENT OF THE BATCH APPEARS, THE CONTENT OF THE BATCH ALSO APPEARS WITH THE TEST RAD TAB. CAN ANY BODY SOLVE THIS ISSUE? 



Helen
Telerik team
 answered on 03 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Jesse
Top achievements
Rank 2
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?