Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
51 views
Hello everyone,
I have this problem: I should change the step value on the y axis because I have denied that the values are almost one-hundredth of the positive value. If I keep the current step, I find myself almost invisible negative columns.
I noticed that the positive / negative specular, is there a way to untie?
Thanks,

                                            <telerik:RadChart ID="RadChart1" runat="server" Width="710" OnItemDataBound="RadChart1_ItemDataBound" OnDataBound="RadChart1_DataBound"
                                                DataGroupColumn="Stato" AutoTextWrap="true" DataSourceID="SqlDataSource2" Skin="Sunset"
                                                AutoLayout="true">
                                                <Legend>
                                                    <Appearance GroupNameFormat="#VALUE">
                                                    </Appearance>
                                                </Legend>
                                                <PlotArea>
                                                    <XAxis Appearance-MinorGridLines-Color="#ede4ce" Appearance-MajorGridLines-Color="#ede4ce" DataLabelsColumn="Anno">
                                                    </XAxis>
                                                    <YAxis AutoScale="true" Appearance-MinorGridLines-Color="#ede4ce" Appearance-MajorGridLines-Color="#ede4ce">
                                                    </YAxis>
                                                </PlotArea>
                                            </telerik:RadChart>

p.s. I already tried the way AutoScale = "true" and Step ="..." but with no results
Evgenia
Telerik team
 answered on 25 Jan 2011
4 answers
166 views
How can we access all the yaxis labels from a rad chart? I have to insert all labels lying on y axis into a drop down list programatically......and then write some logic in drop down lists' selectedIndexChanged() method to perform some operations on radchart. So how can I insert all of the yaxis labels programatically in the drop down?
anusha
Top achievements
Rank 1
 answered on 25 Jan 2011
5 answers
226 views
Hi there,

I've noticed something in a solution of mine and confirmed it in the RadGrid demo available at http://demos.telerik.com/aspnet-ajax/grid/examples/client/resizing/defaultcs.aspx . You can only make the last column narrower but you can't make it wider. Is there a workaround for this?

Thanks in advance,
V.
Maria Ilieva
Telerik team
 answered on 25 Jan 2011
2 answers
125 views
I have a grid with a dynamic datasource (i.e. the 1st 5 columns are the same, but depending on user input, the ending columns differ), and am trying to put a between date filter and drop down filter for a couple of the static columns. This datasource is filled by a stored procedure. So what I need to accomplish is to create a filter template dynamically on the static columns.

So is it possible to build and apply a templatefilter from the code-behind?

Here's my grid code:
 
<telerik:RadGrid
    AutoGenerateColumns="true"
    ID="googleEarthAnalyticalGrid"
    OnNeedDataSource="grd_NeedDataSource"
    AllowFilteringByColumn="True"
    AllowSorting="True"
    DataKeyNames="PropertyID, SampleDate"
    ClientDataKeyNames="PropertyID, SampleDate"
    PageSize="6"
    ShowFooter="True"
    AllowPaging="True"
    runat="server"
    GridLines="Both"
    Skin="Windows7"
    onitemcommand="grd_ItemCommand"
    onitemcreated="grd_ItemCreated"
    GroupingSettings-CaseSensitive="false"
    oncolumncreated="grid_ColumnCreated" EnableLinqExpressions="true"
    ondatabound="googleEarthAnalyticalGrid_DataBound"
    oninit="googleEarthAnalyticalGrid_Init"
    onitemdatabound="googleEarthAnalyticalGrid_ItemDataBound1">
    <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" />
        <MasterTableView AutoGenerateColumns="true" EditMode="InPlace" AllowFilteringByColumn="True"
            ShowFooter="True" DataKeyNames="PropertyID, SampleDate" ClientDataKeyNames="PropertyID, SampleDate" >       
        <CommandItemSettings ShowExportToExcelButton="true" />
        </MasterTableView>
</telerik:RadGrid>
Maria Ilieva
Telerik team
 answered on 25 Jan 2011
1 answer
85 views
Here in my code, I am inserting bound field data, can anyone send me code samplefor how to insert Template field data.(TextBox)

Public Sub InsertData() 
For Each item As GridDataItem In GD_Prod.Items
    Dim str0 As String = item("port_recipe_num").Text
    Dim con As New SqlConnection(ConfigurationManager.ConnectionStrings("FConnectionString").ConnectionString)
            Dim cmd As New SqlCommand("P_FN_PR_InsertGridData", con)
            cmd.CommandType = CommandType.StoredProcedure
cmd.Parameters.Add("@PL_Recipe_Number", SqlDbType.Char).Value = str0
      con.Open()
            cmd.ExecuteNonQuery()
con.Close()
Next
End Sub

Thanks In Advance.
Mira
Telerik team
 answered on 25 Jan 2011
1 answer
52 views
Hi,

I wanted to use telerik tabs as my wizard control but also need "NavigationButtons" like <asp:Wizard> control.
Is there any easy way to do this?

Thanks,
Neha Bhatt
Dimitar Terziev
Telerik team
 answered on 25 Jan 2011
1 answer
124 views
Hi,

I have a radgrid with populated data from a entity framework 4.0. I would like to click on a single row and then insert those values to a detailview with radtextboxes. How would I go about to do this. 
Radoslav
Telerik team
 answered on 25 Jan 2011
3 answers
76 views
We have integrated the Telerik RADEditor as standard editor on SharePoint 2007 for a client. While the overall functionality is good, we struggle with the W3C Validator. It is called like all Functionality as a callback, meaning that the actual request to the Validator is done by the server. From a security point of view that is a problem as the server should not be able to make calls to the internet. As we have Kerberos, one solution could be to have the call done with Impersonation. Is there a way to make sure that such things are executed impersonated?
Or what would be the alternatives in such a scenario?

Regards,
Eduard
Stanimir
Telerik team
 answered on 25 Jan 2011
4 answers
125 views
Hello,

I have somehow managed to run CSS ! but problem is, when the following function get fire ; it only change the first appointment CSS style and leave the rest. the same thing happen when i use rsCategory tag to assign to CSS class, as mentioned in example 2 below. Please advice where i am doing mistake or missing anything ...

Regards
Adnan.

1-

For Each resource As Telerik.Web.UI.Resource In e.Appointment.Resources
            If resource.Type = "Room" Then
                Label1.Text += "<br/>" + resource.Text
                e.Appointment.CssClass = resource.Text.Replace(" ", "_")
            End If
        Next


2 -

For Each resource As Telerik.Web.UI.Resource In e.Appointment.Resources
            If resource.Type = "Room" Then
         '        'e.Appointment.CssClass = resource.Text.Replace(" ", "_")

               If resource.Text = "SLC 107" Then
                   e.Appointment.CssClass = "rsCategoryRed"
               End If
             If resource.Text = "SLC 108" Then
                 e.Appointment.CssClass = "rsCategoryGreen"
               End If
            


        '    End If
        'Next
Veronica
Telerik team
 answered on 25 Jan 2011
1 answer
100 views
I have the following code and I always get invalid cast when going into insert.. how can I set in ititial value for a checkbox

<telerik:GridTemplateColumn HeaderText="Is Active" UniqueName="Is_Active">
   <EditItemTemplate>
       <asp:CheckBox id="cbIsActive" runat="server"  Checked='<%# Bind("Is_Active") %>' ></asp:CheckBox>
   </EditItemTemplate>
   <ItemStyle HorizontalAlign="Left" />
   <ItemTemplate> 
      <asp:Label ID="lbIsActive" runat="server" Text='<%# Eval("Is_Active", "{0}") %>' /> 
   </ItemTemplate> 
 </telerik:GridTemplateColumn>
 
 
and
  
protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e)
   {
      if (e.CommandName == RadGrid.InitInsertCommandName)
      {
         e.Canceled = true;
         System.Collections.Specialized.ListDictionary newValues = new System.Collections.Specialized.ListDictionary();
          newValues["Is_Active"] = false;
          e.Item.OwnerTableView.InsertItem();
      }
    }
Shinu
Top achievements
Rank 2
 answered on 25 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?