Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
89 views
solved.
james paulson
Top achievements
Rank 1
 asked on 26 Dec 2009
1 answer
235 views
Hi All,
I've got a problem I'm trying to solve and I can't figure out the right way to do it.

I have a list of data and I need to have a user select one of the items from the list.  I have a lot of data and it is already categorized so what I would like to do is basically have a combobox that when it expands, it shows a treeview so it will allow the user to dig down into the item that they want.

Does anyone have any suggestions on how to do this?

Thanks!
Peter
Telerik team
 answered on 25 Dec 2009
3 answers
218 views
I want to add an icons to select/desect all items in the ListBox on the client side. Can you provide an example how to do this?
Genady Sergeev
Telerik team
 answered on 25 Dec 2009
3 answers
486 views
Hello Sir/ Madam

         i have  master.aspx page and details.aspx page

     on master page 2 PANEL ---- ADMIN PANEL AND DETAILS PANEL. Now only admin panel shown admin visible - TRUE AND DETAILS PANEL = FALSE, on that panel one button, clicking on that button called details page In radwindow , In that details page one cancel button(Canel button on Details.aspx) after clicking on that button, i want to visible DETAILS panel on master page. HOW  to archive this ? using javascirpt or ?????


Urgent !!!!!!!!!!!!!!!!

Thanks Regards
Rahul


Fiko
Telerik team
 answered on 25 Dec 2009
1 answer
78 views
Morning all,

I just follow the example ( http://www.telerik.com/support/kb/aspnet-ajax/editor/using-the-image-and-document-managers-outside-radeditor.aspx) using DialogOpener. I have added one ImageManagerDialog to dailogopener. I know that image manager does not offer thumbnail view. However is that possible to add GridBinaryImageColumn or GridImageColumn to the right side radgrid which only show filename and size?


 Cheers
Rachael
Fiko
Telerik team
 answered on 25 Dec 2009
3 answers
177 views
HI
 I have  telerik radcombo box in which i have checkbox as item template.
now i have bind the radcombobox with the datasource.

i set allowcustomttext=false.
now when the combox loads the items then by default the first item is selected. and checkbox for that item is not checked.
 i want to show the empty message and when user selects the checkbox then only the text appera in the combox.

also when i select the checkbox for corresponding item and i  save it to database and then retrieve from the database then how can i show the checked item.

please help me its urgent.
Genady Sergeev
Telerik team
 answered on 25 Dec 2009
3 answers
347 views
below is just part of the code but i have a radsplitter and if i change the height="23px" at telerik:radsplitter i won't see the window after i piinned it. if i take it out, it works fine. also the liveresize doesn't work. it doesn't automatically resize my window and so is full screen mode, and if i drag the bottom of it to expand my pane, it works ok not great. can you help me figure this out? this is what i want it to do.

Graph sliding pane title

data table

there should be only 2 lines break between graph sliding pane titleand datatable. if you mouse over graph, it expands and open the pane to show the graph and push down the datatable. but the height is not big enough. I can resize with right now but i want to default it to the size the graph will dynamically have.  if i change the height="23px" at telerik:radsplitter i won't see the window after i piinned it. if i take it out, it works fine.
please help. thanks








 <asp:Table ID="tbl_Report" runat="server" BorderColor="black" cellpadding="5" cellspacing="0" width="100%" HorizontalAlign="center" height="100%" BackColor="#ffffff">  
            <asp:TableRow> 
                <asp:TableCell ColumnSpan="2"><asp:Label ID="lb_Error" runat="server" Font-Bold="true" ForeColor="red" /></asp:TableCell> 
            </asp:TableRow>                                                        
            <asp:TableRow> 
                <asp:TableCell VerticalAlign="top" ColumnSpan="2" Width="100%" Height="100%" BackColor="white">  
                    <telerik:RadSplitter id="RadSplitter1" runat="server" CssClass="CustomCssClass1" Skin="Forest" Width="100%" height="23px" 
                       ResizeMode="EndPane" LiveResize="true" visible="false" FullScreenMode="true">  
                        <telerik:RadPane runat="server" id="RadPane1" Width="100%" Height="100%" > 
                            <telerik:RadSlidingZone runat="server" ID="RadSlidingZone_Graph" SlideDirection="Bottom">  
                                 <telerik:RadSlidingPane id="RadSlidingPane_Graph" title="Graph" runat="server" EnableResize="true">  
                                    <telerik:RadComboBox ID="ddlcharttype" Font-Size="12px" runat="server" Skin="Forest" AutoPostBack="true">                                                                                                  
                                        <Items> 
                                            <telerik:RadComboBoxItem Text="Select a chart type" Value="" /> 
                                            <telerik:RadComboBoxItem Text="Area" Value="Area" /> 
                                            <telerik:RadComboBoxItem Text="Bar" Value="Bar" /> 
                                            <telerik:RadComboBoxItem Text="Column" Value="Column" /> 
                                            <telerik:RadComboBoxItem Text="Line" Value="Line" /> 
                                        </Items> 
                                    </telerik:RadComboBox> <br />   
                                    <div id="printer"><asp:Literal ID="literal_adhoc_Graph" runat="server" /></div>  
                                 </telerik:RadSlidingPane> 
                            </telerik:RadSlidingZone>                                                
                        </telerik:RadPane> 
                    </telerik:RadSplitter>     
Svetlina Anati
Telerik team
 answered on 25 Dec 2009
1 answer
101 views
Hi,

I have encountered an issue when using RadAjaxManager and now that I have a fix I was thinking that others might be interested.

A lot of the stuff below is detail - the same scenario is probably applicable with most control combinations.

The environment is asp.net 2.0 + VS2008 + RadControls Q3 2008 (1125)
The scenario is as follows...

1) Page with RadAjaxManager, 2 RadSliders, RadMenu, RadGrid, asp Timer (all ajaxified via RadAjaxManager)
2) RadMenu command updates the visibility of the RadSliders (shows one hides the other) and Rebinds the grid to display a different range of data.
3) Timer fires every 5 minutes or in 20 seconds from first page display

so far so good...
Now the problem happens like this.

1) Open the page (page displays in one of two modes depending on value stored in database and reflected in Menu)
2) Click on Menu to change mode - RadSliders change visibility and RadGrid rebinds ok
3) Click on page link to go to another page
4) Click 'Back' button on browser to go back to the first page
5) First page displays the ORIGINAL MODE (ie the one before the change was made via the Menu) UNTIL the timer fires.
6) When the timer fires (an ajax request) the display goes back to what it should be (ie the new mode is shown in the visibility of the RadSliders and the data in the RadGrid)

The issue is that the page is being cached and the caching is not updated as a result of the ajax changes. The fix is to turn off page caching using the following courtesy of  A Thorough Examination of "Disabling the Back Button." By Akhilesh Reddy 

<%
  Response.Buffer = true;
  Response.ExpiresAbsolute = DateTime.Now - new TimeSpan(0, 0, 1);
  Response.Expires = 0;
  Response.CacheControl = "no-cache";
%>
Once that is done everything seems to work fine. The page goes back to the server when the Back button is clicked and the state is correct.

Cheers
Steve
Poo Preaw
Top achievements
Rank 1
 answered on 25 Dec 2009
2 answers
160 views
When using formdecorator, it seems to turn tooltips off for dropdown boxes and RadToolTip in Firefox and Chrome? RadToolTip works fine in IE, but not the dropdownbox tooltip.  If I comment out the formdecorator tag below, both tooltips show up fine in all 3 browsers.

Builtin Tooltips are working fine on the same page with RadNumericTextbox which is even more strange

Any ideas?



<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!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 runat="server"> 
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server"> 
    <div> 
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> 
<telerik:RadFormDecorator DecoratedControls="All" runat="server" Skin="Forest" /> 
     
 <telerik:RadToolTip ID="RadToolTip1" runat="server" Width="150" AutoCloseDelay="10000" TargetControlID="DropDownList1" Position="MiddleRight" OffsetY="0" OffsetX="10" ShowDelay="300"   Text="Required: Something something something." >   </telerik:RadToolTip> 
     <asp:DropDownList ID="DropDownList1" runat="server" CausesValidation="true"  Font-Size="7" Width="120"  ToolTip="Required: Something something something." > 
        <asp:ListItem Text="Match Degree" Value="-1"></asp:ListItem> 
        <asp:ListItem Text="Match" Value="0"></asp:ListItem> 
        <asp:ListItem Text="Minus" Value="1"></asp:ListItem> 
        <asp:ListItem Text="Plus" Value="2"></asp:ListItem> 
    </asp:DropDownList> 
    </div> 
    </form> 
</body> 
</html> 

Svetlina Anati
Telerik team
 answered on 25 Dec 2009
2 answers
533 views
I want to format data to currency  format on item template. You can see below how I have done it. The only problem is if the user enters 0, it doesn't show anything. Otherwise it correctly shows currency format. I want it to show $0 for zero values.

<telerik:GridTemplateColumn HeaderText="Total Cost" UniqueName="TotalCost" meta:resourcekey="GridTemplateColumnResource7">  
    <ItemTemplate><%# DataBinder.Eval(Container.DataItem, "TotalCost", "{0:$##,###.##}") %> 
        <asp:Label ID="lblTotalCost" runat="server" Text='<%# Eval("TotalCost") %>' Visible="False" meta:resourcekey="lblTotalCostResource1"></asp:Label>                                </ItemTemplate> 
    <EditItemTemplate> 
        <telerik:RadNumericTextBox ID="txtTotalCost" runat="server" EmptyMessage="..." Skin="Office2007" ForeColor="DimGray" Text='<%# DataBinder.Eval(Container, "DataItem.TotalCost") %>' Type="Currency" Width="80px" Culture="English (United States)" ReadOnly="True" Enabled="false" LabelCssClass="radLabelCss_Office2007" MaxValue="999999999" MinValue="-999999999" meta:resourcekey="txtTotalCostResource1" > 
        </telerik:RadNumericTextBox> 
    </EditItemTemplate> 
    <ItemStyle HorizontalAlign="Right" /> 
</telerik:GridTemplateColumn> 

Please help.
Sana Khurram
Najah
Top achievements
Rank 1
 answered on 24 Dec 2009
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?