Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
92 views
can anyone give me an example of how to use the FastNavigationStep property for a datetime picker. I want it to move every 12 months.

Thanks.
Sebastian
Telerik team
 answered on 24 Apr 2008
1 answer
120 views
Hi

I'm trying to use three cascading combo boxes in my EditTemplate for a radGrid (cboCountry, cboProvince, cboCity).  They populate properly when I choose to Edit a record in the grid, and I am able to select different values in cboCity.  However, when I try to change cboCountry or cboProvince the following error occurs:

Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control

I have working templates using just one combo box, but am unable to get anything working with the cascading combos.  I have looked through the videos and documentation and not found an sample that addresses this scenario...

Any help or suggestions would be greatly appreciated

Thanks a lot
Yavor
Telerik team
 answered on 24 Apr 2008
1 answer
113 views
Hello,

Was the issue with the DOCTYPE of HTML 4.0 and positioning of ToolTip addressed? I am still having problems with it after upgrade to the new version, but not sure what it is - old bug or a new one.

Regards,
Konstantin
Martin
Telerik team
 answered on 24 Apr 2008
1 answer
61 views
How do I go about creating a slide effect when a user executes the DockExpandCollapseCommand??
Sophy
Telerik team
 answered on 24 Apr 2008
3 answers
129 views
What Controls Support RadMultiPage Control?

So far all I see is RadTabStrip.  Does any other control support it?

I would like to switch between pages without posting back.

RadMenu and RadPanelBar requires you to post back.

Thanks,
Roger

Paul
Telerik team
 answered on 24 Apr 2008
1 answer
98 views
Hi,

I have a aspx page using raddock, everything is fine, user can add/delete stuff in individual rad window, dock window will automatically increase its size if user put more and more stuffs in, however if user delete stuff in a dock window, it will not automatically resize to a smaller window so user can see a lot of blank space in there...

I guess this is something only javascript can fix it?


Many thanks
Sophy
Telerik team
 answered on 24 Apr 2008
1 answer
76 views

Hello,

I'm trying to open a modal RadWindow from within one, but it just doesn't behave like one would expect it to. The following example used to work in "old" RadControls. I assumed this would be fixed when "Prometheus" was out of beta, but I guess this one slipped through.

Perhaps, I'm not doing this the right way?

Default.aspx:

    <script> 
        function OpenWin()    
        {  
          var oWnd = window.top.radopen("WebForm1.aspx", null);  
        }     
    </script> 
    <form id="form1" runat="server">  
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> 
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Modal="true"></telerik:RadWindowManager> 
          
        <asp:Button ID="ButtonWindowOpen" runat="server" Text="Open Window" OnClientClick="OpenWin(); return false;" /> 
    </form> 

WebForm1.aspx
    <script> 
        function OpenWin()    
        {  
          var oWnd = window.top.radopen("WebForm1.aspx", null);  
        }     
    </script> 
    <form id="form1" runat="server">  
        <asp:Button ID="ButtonWindowOpen" runat="server" Text="Open Window" OnClientClick="OpenWin(); return false;" /> 
    </form> 
Sasa
Top achievements
Rank 1
 answered on 24 Apr 2008
9 answers
203 views
Hi,

I need to apply conditional formatting of items, but based on values in the row which arent being bound.  How do I do this, which event is it I can capture which gives me access to the underlying row, not just the cells being bound - and how do I get a reference to a cell in this method so I can apply my formatting.

Regards

Indy
Stephen
Top achievements
Rank 1
 answered on 24 Apr 2008
3 answers
165 views
Using a default grid, auto-generate columns - no changes to default, when I sort, the indicator icons flash and then disappear.   I have created completely new grids as well as converted old ones and the same thing happens no matter what I do. 

The sort does work - the icon showing what you have done just doesn't stick.
Nick
Top achievements
Rank 2
 answered on 24 Apr 2008
9 answers
433 views

This problem did not exist with the RadControls_Prometheus_2007_3_1425. When I replaced the DLL with the latest RadControls_for_ASP.NET_AJAX_2008_1_415, then this problem showed up.

When a column is dragged into the grouping panel, and the group splitters appear, the text inside the group splitter seem to be top aligned, and it passes the top boundary of the splitter, and for the very first group splitter, the text is clipped from the top by the grid header.

Definition of the grid:
   <telerik:RadGrid ID="RadGrid1" runat="server"
            PageSize="50" AllowSorting="True" Skin="Office2007" AllowPaging="True"
            ShowGroupPanel="True"  GridLines="None" AllowFilteringByColumn="True" OnNeedDataSource="RadGrid1_NeedDataSource" OnColumnCreated="RadGrid1_ColumnCreated" OnItemCreated="RadGrid1_ItemCreated" OnItemDataBound="RadGrid1_ItemDataBound" 
              >
            <PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle>                                          
                <MasterTableView CommandItemDisplay="Bottom"  TableLayout="Fixed" >                   
                    <ExpandCollapseColumn
                        Resizable="False" Visible="False">
                        <HeaderStyle Width="20px" />
                    </ExpandCollapseColumn>                     
                    <CommandItemTemplate>                           
                           <asp:Button ID="btnExcel" Width="150px" Text="Export Excel" OnClick="btnExcel_Click"
                                runat="server" BackColor="AliceBlue" BorderColor="AliceBlue" Font-Bold="true" />                           
                            <asp:Button ID="btnCSV" Width="150px" Text="Export CSV" OnClick="btnCSV_Click"
                                runat="server" BackColor="AliceBlue" BorderColor="AliceBlue" Font-Bold="true" />
<%--                            <asp:Button ID="btnPDF" Width="150px" Text="Export To PDF" OnClick="btnPDF_Click"
                                runat="server" />--%>
                    </CommandItemTemplate>
                    <Columns>
                     <telerik:GridTemplateColumn AllowFiltering="False" HeaderText="TemplateColumn" UniqueName="TemplateColumn">
                                <ItemTemplate>
                                    <asp:Button ID="Button1" runat="server" CommandName="MyCustomAction" Text="Do action"
                                        OnClick="Button1_Click" />
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
                    </Columns>
                    <GroupHeaderItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                        Font-Strikeout="False" Font-Underline="False" VerticalAlign="Bottom" Wrap="True" />
                    <EditFormSettings>
                        <PopUpSettings ScrollBars="None" />
                    </EditFormSettings>
                    <RowIndicatorColumn Visible="False">
                        <HeaderStyle Width="20px" />
                    </RowIndicatorColumn>                                                     
                </MasterTableView>
            <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True"
                AllowColumnsReorder="True"   >                               
                <Scrolling AllowScroll="True" UseStaticHeaders="True"     />
                <Resizing AllowColumnResize = "True"  EnableRealTimeResize="True" ResizeGridOnColumnResize="True"   />               
               
            </ClientSettings>
              <GroupHeaderItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"
                  Font-Strikeout="False" Font-Underline="False" VerticalAlign="Bottom" Wrap="True" />
            </telerik:RadGrid>

In order to resolve this problem I did the following:

In RadGrid1_ItemDataBound and RadGrid1_ItemCreated events:

            if (e.Item is GridGroupHeaderItem)
            {
                GridGroupHeaderItem item = (GridGroupHeaderItem)e.Item;
                item.DataCell.VerticalAlign = VerticalAlign.Bottom;                    
                item.VerticalAlign = VerticalAlign.Bottom;            
            }

In column created event: 

            if (e.Column is GridGroupSplitterColumn)
            {
                GridGroupSplitterColumn gr = (GridGroupSplitterColumn)e.Column;
                gr.HeaderStyle.VerticalAlign = VerticalAlign.Bottom;
                gr.HeaderStyle.Wrap = true;
                gr.ItemStyle.VerticalAlign = VerticalAlign.Bottom;
                gr.ItemStyle.Wrap = true;
            }

None of the above approaches solved the problem. If I change the height of the splitter, it works, but I cant seem to do anything with the text.

I cannot attach an image, but I would if I could to illustrate this problem.

Any help would be appreciated.

Thanks,
Tal

Konstantin Petkov
Telerik team
 answered on 24 Apr 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?