Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
247 views

Hi,

I have groupbyexpressions in my grid as below:

 

<

 

telerik:GridGroupByExpression>

 

 

 

 

 

<SelectFields>

 

 

 

 

 

<telerik:GridGroupByField FieldName="Date" ></telerik:GridGroupByField>

 

 

 

 

 

</SelectFields>

 

 

 

 

 

<GroupByFields>

 

 

 

 

 

<telerik:GridGroupByField FieldName="Date" FormatString="{0:D}"></telerik:GridGroupByField>

 

 

 

</GroupByFields>

 

 

 

 

 

</telerik:GridGroupByExpression>

 

 

 


I want to hide the text 'Date' from the header and just display the actual value. I also want the value to be displayed in bold.

Please suggest.

 

 

 

 

Shinu
Top achievements
Rank 2
 answered on 04 May 2010
1 answer
154 views
hi
   i am using rad grid with search functionality.i need to set search textbox as case sensitive
please give me a solution for this as soon as possible
Tsvetoslav
Telerik team
 answered on 04 May 2010
1 answer
131 views
Hi, I have 3 problems here:
1) How come the Chart Title font size is not changing?
2) How come the Legend font size is not changing?
3) When I move the Legend to the bottom of the plot area, it gets cut off, how to fix this?

Here is my code:
<telerik:RadChart ID="RadChart1" SkinsOverrideStyles="True" runat="server" 
                   Skin="WebBlue" AutoLayout="True" Height="180px" Width="350px" DefaultType="Line" >                       
                        <Series> 
                            <telerik:ChartSeries Name="Series 1" Type="Line" Appearance-LabelAppearance-Visible=false
                                 <Items> 
                                    <telerik:ChartSeriesItem YValue="1" Name="AAA"
                                    </telerik:ChartSeriesItem> 
                                    <telerik:ChartSeriesItem YValue="2" Name="BBB"
                                    </telerik:ChartSeriesItem> 
                                    <telerik:ChartSeriesItem YValue="1" Name="AAA"
                                    </telerik:ChartSeriesItem> 
                                    <telerik:ChartSeriesItem YValue="3" Name="CCC"
                                    </telerik:ChartSeriesItem> 
                                </Items> 
                            </telerik:ChartSeries> 
                            <telerik:ChartSeries Name="Series 2" Type="Line" Appearance-LabelAppearance-Visible=false
                                <Items> 
                                    <telerik:ChartSeriesItem YValue="3" Name="CCC"
                                    </telerik:ChartSeriesItem> 
                                    <telerik:ChartSeriesItem YValue="1" Name="AAA"
                                    </telerik:ChartSeriesItem> 
                                    <telerik:ChartSeriesItem YValue="3" Name="CCC"
                                    </telerik:ChartSeriesItem> 
                                    <telerik:ChartSeriesItem YValue="1" Name="AAA"
                                    </telerik:ChartSeriesItem> 
                                </Items> 
                            </telerik:ChartSeries> 
                             <telerik:ChartSeries Name="Series 3" Type="Line" Appearance-LabelAppearance-Visible=false
                              <Items> 
                                    <telerik:ChartSeriesItem YValue="5" Name="CCC"
                                    </telerik:ChartSeriesItem> 
                                    <telerik:ChartSeriesItem YValue="1" Name="AAA"
                                    </telerik:ChartSeriesItem> 
                                    <telerik:ChartSeriesItem YValue="2" Name="CCC"
                                    </telerik:ChartSeriesItem> 
                                    <telerik:ChartSeriesItem YValue="6" Name="AAA"
                                    </telerik:ChartSeriesItem> 
                                </Items> 
                            </telerik:ChartSeries> 
                        </Series> 
                        <ChartTitle>                            
                             <TextBlock Text="System Comparison" > 
                                <Appearance TextProperties-Color="102, 102, 102" TextProperties-Font="Arial, 10pt" > 
                                </Appearance> 
                            </TextBlock> 
                        </ChartTitle> 
                        <Legend> 
                            <Appearance Position-Auto="false" Position-Y=120
                                <ItemTextAppearance TextProperties-Color="102, 102, 102" TextProperties-Font="Arial, 18pt"
                                </ItemTextAppearance> 
                                <FillStyle MainColor="216, 222, 227"
                                </FillStyle> 
                                <Border Color="160, 170, 182" /> 
                            </Appearance> 
                        </Legend> 
                    </telerik:RadChart> 

Matthew Kwan
Top achievements
Rank 1
 answered on 04 May 2010
1 answer
92 views
Hi,

I am building a multi series line graph.

For example, 
X axis - M, T, W, T, F, S, S
Y axis - 1, 2, 3, 4, 5

Line 1 - starts from M1 (far left of the plot area)
Line 2 - starts from M3 (far left of the plot area)
Line 3 - how to make it start from W3? (center of the plot area)

Regards,
Matt
Matthew Kwan
Top achievements
Rank 1
 answered on 04 May 2010
1 answer
234 views
First, if this is posted multiple times I appologize, it didn't seem to go through before.
I have a website that works fine on my development pc but when I deploy it to the webserver I get the following error: BC30456: 'RadAjaxManager1_AjaxRequest' is not a member of 'ASP.default_aspx'.
Here is my Radajaxmanager code on the default.aspx page:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"   
        DefaultLoadingPanelID="RadAjaxLoadingPanel1">  
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="GrdPoints" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="GrdPoints">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="GrdPoints" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="GrdGroups">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="GrdGroups" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="GrdThirdParty">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="GrdThirdParty" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
This is the code on the code behind page:
Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As ObjectByVal e As AjaxRequestEventArgs)  
        Dim values As String = e.Argument  
        Dim array() As String 
        array = values.Split(",")  
        pointsLowerLimit = CInt(array(0))  
        pointsUpperLimit = CInt(array(1))  
        UpdatePointsLimits(pointsLowerLimit, pointsUpperLimit)  
        UpdatePointsHiddenFields(pointsLowerLimit, pointsUpperLimit)  
        For Each item As GridDataItem In GrdPoints.Items  
            Dim pReceipt As Single = CSng(item("percentOfOperationalNominatedForReceiptRole").Text)  
            Dim pDelivery As Single = CSng(item("percentOfOperationalNominatedForDeliveryRole").Text)  
            Dim imgR As Image = TryCast(item.FindControl("receiptPercent"), Image)  
            Dim imgD As Image = TryCast(item.FindControl("deliveryPercent"), Image)  
            imgR.ImageUrl = setIndicatorURL(pointsLowerLimit, pointsUpperLimit, pReceipt)  
            imgD.ImageUrl = setIndicatorURL(pointsLowerLimit, pointsUpperLimit, pDelivery)  
        Next 
 
    End Sub 
This is the Javascript that calls the ajaxmanager when a radwindow closes:
function OnClientClose(oWnd, args) {  
             //get the transferred arguments  
             var arg = args.get_argument();  
             if (arg) {  
                 var pointLimits = new Array();  
                 pointLimits[0] = arg.lowerLimit;  
                 pointLimits[1] = arg.upperLimit;  
                 var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");  
                 ajaxManager.ajaxRequest(pointLimits); // invoke ajaxRequest explicitly   
             }  
         } 
I would appreciate any help I can get on this to get it to work on the webserver.
Thank you.
Chris LaFrancis
Top achievements
Rank 1
 answered on 03 May 2010
6 answers
160 views
Just updated to 2010.1 415 and the skins have changed AGAIN!!

I thought after last year's debacle with skin changes I would be safe but no!

I used WebBlue and the CommandItem icons for refresh, add, edit etc. on the grid have changed. That's fine but I spent time copying the images from before for use in CommandItem templates and they are now all WRONG!!! They also mess up some wrapping in certain columns where I do in-place editing as the new icons are slightly bigger.

Gone are the nice green tick and red cross I used to have and in their place are grey boxes which look terrible and are completely unintuitive (when everything looks like a grey box where are the visual cues?).

This is incredibly frustrating. Why changes the skins AGAIN??
Paul Brian
Top achievements
Rank 1
 answered on 03 May 2010
2 answers
118 views
Is there way I can get the full ClientID description?

I need to "focus" via javascript the webcontrols, but as you know if you have a radtextbox  the clientId "focusable" is endding with "_text", the raddateinput ends with "_dateInput_text", etc

So I need to know if there is a function for retrieving on the serverside this information.

Thanks.
benitolopez_sistemas
Top achievements
Rank 1
 answered on 03 May 2010
2 answers
228 views
Hi, I create a group like outlook grouping using groupbyexpression programatically when i press a button based on particular circunstances, but also i need to remove this new group created programatically. Actualy i have other 2 groupbyexpression defined in design time, i just need to remove new groups created in runtime hope you can help me.

Using tk_Grid.MasterTableView.GroupByExpressions.Clear(); i clear all the groups but i just to remove one at time

tk_Grid.MasterTableView.GroupByExpressions.Add(new GridGroupByExpression("CodigoPlanCuenta Group By CodigoPlanCuenta")); 


Regards Gino
Emre Kocyigit
Top achievements
Rank 1
 answered on 03 May 2010
2 answers
115 views
I just upgraded from 2009 to the latest 2010, and am using the RadGrid. Previously, the columns were being sized "proportionally" ... columns with more text are wider than columns with less text. This was done automatically by the grid control. Now it seems that the grid column widths are all the same size. How do I configure the grid to behave like it used to ... to auto size column width depending on the data.
Thanks!
Jay
Top achievements
Rank 1
 answered on 03 May 2010
1 answer
46 views
ASP.NET AJAX & SQL Server 2005

I have called a field Body Name that contains the text of the letter is now wanted to publish this text
How can I print this text I bet that this website is not published in top of the page
I do this with Java code, but I can print the website address I am please to advise
Thanks!
Daniel
Telerik team
 answered on 03 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?