Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
134 views
Hi
I am having a radgrid and i use the aggregate = "sum" It loads if sum is greater than Zero.But it shows error if sum is Zero
What i have to do for this??
<telerik:GridBoundColumn DataField="TotalQuantity" HeaderText="Total Quantity" Aggregate="Sum"   FooterText="Total:">                                                                                
</telerik:GridBoundColumn>


Lekha


Pavlina
Telerik team
 answered on 24 Jun 2009
1 answer
527 views
Hi,

I have a control on a normal aspx page. Next to it I have a button. I click on this button and it opens up a RadWindow. In the RadWindow I have a RadTreeViewControl in which I have checkboxes enabled. Once the user selects the appropriate checkboxes they click on the submit button which closes the rad window and should update the parent window.

However I cannot get the values for the checkednodes in the parent window. When I try tree.get_checkedNodes().length I get the correct int number that represents how many nodes are checked. However I am not sure on how to get the text for the checked nodes.
I want print out the text of the checked nodes in the parent window based on what was selected in the RadWindow.
Shinu
Top achievements
Rank 2
 answered on 24 Jun 2009
2 answers
169 views
Hi All

I have a rad grid with datas. Just for viewing. It works fine no problem.

I need is:

While double clicking a row in the radgrid I need to open a rad window,

which should contain the information on the row double clicked in the radgird, with a OK button and a CANCEL button.

Is there any optoin to do this.

Thank You

-Anto
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
 answered on 24 Jun 2009
1 answer
147 views
I have multiple buttons on a page that all call the same RadContextMenu: 

 

 

 

<button id="btnOne" runat="server" class="button" onclick="showMenu(event)">Process</button> 
<button id="btnTwo" runat="server" class="button" onclick="showMenu(event)">Process</button> 
 
<Telerik:RadContextMenu id="RadContextMenu1" runat="server" Skin="WebBlue" OnItemClick="RadContextMenu1_ItemClick" >   
<Items>   
<Telerik:RadMenuItem Text="Accept" runat="server" />   
<Telerik:RadMenuItem Text="Reject" runat="server" />   
</Items>   
</Telerik:RadContextMenu>   
 

 

 

 

In the server side code:

 

 

protected void RadContextMenu1_ItemClick(object sender, RadMenuEventArgs e)      
{     

 

 

 

...how can I find out which button's menu was actually clicked?

Thanks.

Bill

 

 

 

 

Princy
Top achievements
Rank 2
 answered on 24 Jun 2009
5 answers
134 views
Dear All,

I have the following behaviour:

I have a Masterpage with an AjaxManager and three ContenPlaceHolder. Every have an ID. On the top of the masterpage I have an Tabstrip with Multipage, Toolbars and Buttons.

So if I click on an button who has an NavigateURL the content is loaded perfectly, but everytime it flickers.
I try to handle this by using the AjaxManager  on the masterpage, but it doesn't work.

I expact the following:

If i insert this code behnd onthe masterpage:

 

                        <telerik:AjaxSetting   
                            AjaxControlID="RadTabStrip1">  
                              
                            <UpdatedControls>                                        
                                <telerik:AjaxUpdatedControl ControlID="ContentPageWorkbench" LoadingPanelID="RadAjaxLoadingPanel1" />                                           
                            </UpdatedControls> 
                                                      
                        </telerik:AjaxSetting>  


I want that only the conetentplaceholder "ContentPageWorkbench" would be updated on the postback and not the whole page .

How can I handle this.

Thanks alot
Christian

 

Iana Tsolova
Telerik team
 answered on 24 Jun 2009
1 answer
176 views
Hi,

I have a problem with my chart type Line.
When i put my legend position to right, its the same than "Top right" and i cant manage to get it to Right.

How can i resolve that?

I have telerik skin, chart type : line.

Ves
Telerik team
 answered on 24 Jun 2009
1 answer
159 views
Is there a way to fully disable Drag and Drop of files from the Grid portion of the FileExplorer control?
Lini
Telerik team
 answered on 24 Jun 2009
1 answer
517 views
I am currently working on a grid that is using the virtual scrolling, and I need to be able to determine, on post back, what the sort column and direction are. What properties of the radgrid can I use to get the current sort column and direction? I need to be able to access these values on post backs other than ones that fire the: RadGrid1_SortCommand event.

Something like:
if(IsPostBack)
{
string sSortColumn = RadGrid1.SortColumnName;
}

how do you return the column name?
Princy
Top achievements
Rank 2
 answered on 24 Jun 2009
1 answer
58 views
I got a problem with the design which is also viewable in the demos. Because of that i tested it to see it by myself with own values.
Here a picture which explains the problem by itself. Picture

Here is the Code: Tell me if i made something wrong
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="RadChart._Default" %> 
 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Charting" Assembly="Telerik.Web.UI" %> 
<!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></title
</head> 
<body> 
    <form id="form1" runat="server"
    <asp:ScriptManager ID="ScriptManager" runat="server" /> 
    <div> 
        <telerik:RadChart runat="server" SeriesOrientation="Horizontal" Width="370" ID="RadChart1" 
            Skin="LightBlue" IntelligentLabelsEnabled="true" > 
            <Series> 
                <telerik:ChartSeries Name="series 1" Type="Bar"
                    <Appearance> 
                        <EmptyValue Line-Width="2" Line-Color="black" /> 
                    </Appearance> 
                    <Items> 
                        <telerik:ChartSeriesItem YValue="20" XValue="0" /> 
                        <telerik:ChartSeriesItem YValue="40" XValue="1" Empty="True"/> 
                        <telerik:ChartSeriesItem YValue="60" XValue="2" /> 
                        <telerik:ChartSeriesItem YValue="80" XValue="3" /> 
                        <telerik:ChartSeriesItem YValue="100" XValue="4" /> 
                        <telerik:ChartSeriesItem YValue="120" XValue="5" /> 
                        <telerik:ChartSeriesItem YValue="140" XValue="6" Empty="True" /> 
                        <telerik:ChartSeriesItem YValue="160" XValue="7" /> 
                    </Items> 
                </telerik:ChartSeries> 
            </Series> 
            <PlotArea> 
                <XAxis AutoScale="true" MaxValue="8" Step="1"
                </XAxis> 
            </PlotArea> 
            <ChartTitle> 
                <TextBlock Text="Empty Values"
                </TextBlock> 
            </ChartTitle> 
        </telerik:RadChart> 
    </div> 
    </form> 
</body> 
</html> 
 

regards David





Ves
Telerik team
 answered on 24 Jun 2009
1 answer
208 views
Hi.  I would like to make the select file textbox wider.  I can't seem to figure out how to accomplish this.

Any help is greatly appreciated.

Thank you,
Nick
Shinu
Top achievements
Rank 2
 answered on 24 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?