Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
65 views
Very new to ajax + telerik.  I have a form with rad tree view. I have added server side event handler for NodeCheck in (code behind). The question is how should I make it call back instead of postback. Right now its a postback. 


I have a form with tree view 
 <form id="form1" runat="server">
 <telerik:RadAjaxPanel runat="server" >
            <telerik:RadPanelBar ID="RadPanelBar1" Runat="server" Height="110px">
                <Items>
                    <telerik:RadPanelItem runat="server" Text="Search by Sku" Value="SKU">         
                    
                        <Items>
                            <telerik:RadPanelItem>
                            <ContentTemplate>
                            
                                <telerik:RadTreeView   runat="server" ID="treeSku" CheckBoxes="true" OnClientNodeChecking="onNodeChecking" >                                
                                </telerik:RadTreeView>
                               
                            </ContentTemplate>
                            </telerik:RadPanelItem>
                        </Items>              
                        
                    </telerik:RadPanelItem>
                    <telerik:RadPanelItem runat="server" Text="Search by Product" Value="Product">
                    
                    </telerik:RadPanelItem>
                    
                </Items>
               
            </telerik:RadPanelBar>
            </telerik:RadAjaxPanel>
</form>


Yana
Telerik team
 answered on 25 Jan 2011
2 answers
150 views
Hi everybody,

I configured my fe control to work on a virtual directory (IIS 6.0 on a WinSRV 2003).
WindowsAuthentication set to True, Impersonation set to True.

I can upload files, create folder, DELETE folder, but I receive a js alert when I try to delete or rename a file. The message say: "The selected file could not be deleted because the application did not have enough permissions. Please contact the administrator."
I give the impersonated user full controls to the folder but nothing ...

private void initFileManager()
{
    var sBPResourcePath = getBPResourcesPath();
    var arBPResourcePaths = new string[] { sBPResourcePath };
 
    rfeFileExplorer.AllowPaging = false;
    rfeFileExplorer.Configuration.DeletePaths = arBPResourcePaths;
    rfeFileExplorer.Configuration.UploadPaths = arBPResourcePaths;
    rfeFileExplorer.Configuration.ViewPaths = arBPResourcePaths;
    rfeFileExplorer.DisplayUpFolderItem = true;
    rfeFileExplorer.EnableCreateNewFolder = true;
    rfeFileExplorer.EnableOpenFile = true;
    //rfeFileExplorer.InitialPath = sBPResourcePath;
    rfeFileExplorer.Language = _sessionInfo.CurrentCultureCode;
    rfeFileExplorer.VisibleControls = GetVisibleControls();
}
 
private FileExplorerControls GetVisibleControls()
{
    FileExplorerControls explorerControls = 0;
 
    // explorerControls |= Telerik.Web.UI.FileExplorer.FileExplorerControls.AddressBox;
 
    explorerControls |= FileExplorerControls.Grid;
 
    explorerControls |= FileExplorerControls.Toolbar;
 
    explorerControls |= FileExplorerControls.TreeView;
 
    explorerControls |= FileExplorerControls.ContextMenus;
 
    return explorerControls;
}
gianemilio redaelli
Top achievements
Rank 1
 answered on 25 Jan 2011
1 answer
102 views
I am unable to add the command in the serverside code, but I can attach to the dock item clientside.

Is there some function to add a new command item?  I can't see how I would do that in the docs
Pero
Telerik team
 answered on 25 Jan 2011
1 answer
49 views

This is the first time i'm using RadScheduler and i'm uising ObjectDataSource to populate the scheduler. I've created two class files in App_Code folder ("AppointmentList.cs" and "AppointmentInfo.cs") and connected to scheduler successfully. my problem is i need to filter the data coming to scheduler using few combo box values already in the page. not sure how to pass these values through to the "AllData()" method in "AppointmentList" class.
Peter
Telerik team
 answered on 25 Jan 2011
1 answer
49 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
164 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
217 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
121 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
82 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
48 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?