Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
140 views
My boss wanted me to find out what is possible with you SharePoint control set. We have a large project that requires edits and updates to excel spreadsheets. This requires the use of formulas and row inserts by the use of sharepoint web parts. The functionally would have to be more complex then that of a radgrid as spreadsheet rows would have to be inserted dynamically and formulas would be needed to update the data from the updated cells into the newly created inserted cells. Please send me documentation on if your controls could handle such a task so we can evaluate the purchase of your sharepoint control suite.

Thanks,


Steve Holdorf
Maria Ilieva
Telerik team
 answered on 25 Jun 2012
3 answers
244 views
Hello,

I have a RadImageEditor and Buttons in a User Control.I am loading the user control dynamically in a RadDock on a page.
I am facing a problem in firing the click event of the Buttons.The button click events are not getting fired.However if i remove the RadImageEditor everything works fine.

Please suggest.


Thanks
Gaurav Gupta


Rumen
Telerik team
 answered on 25 Jun 2012
1 answer
156 views

I have a notes columns and following is the declaration. I am note able to save and display the new line.
While i/p values I am able to go to new line, but while displaying 1st line and 2nd line are together in 1 line.

<telerik:GridTemplateColumn UniqueName="Notes"> 

<ItemTemplate>

 

<asp:Label ID="test" runat="server" Text='<%# Eval("NOTE_DESC") %>' />

 

</ItemTemplate>

 

<EditItemTemplate>

 

<telerik:RadTextBox ID="tnotes" runat="server" TextMode="MultiLine" Text='<%# Bind("NOTE_DESC") %>' Width="300px" Height="200px">

 

</telerik:RadTextBox> 

</EditItemTemplate>

 

</telerik:GridTemplateColumn>

Am I missing some settings here.

Thanks

Shinu
Top achievements
Rank 2
 answered on 25 Jun 2012
1 answer
72 views

Hi Team,

I need to get the GridBoundColumn values into the new record row when we click the Add Record button.

I am able to find the previous values of lables under GridTemplateColumn but above mention is not clear.

Please let me know how it could be handled.

Regards

SS Bhogal

Shinu
Top achievements
Rank 2
 answered on 25 Jun 2012
2 answers
343 views
I am using RADchart control in an ASP.NET application.

The chart shows up nicely but the Axis label  for the chart does not show no matter how I set it.

I have set the Axis Label in ASPX markup as:

  <PlotArea XAxis-LayoutMode="Normal">
                    <XAxis LayoutMode="Normal" Appearance-ValueFormat="Currency" Appearance-EndCap="AnchorMask" Visible="True" VisibleValues="Positive">
                        <AxisLabel><TextBlock Text="Actual Price" Appearance-Position-AlignedPosition=Bottom Visible="true" Appearance-Border-PenStyle="Solid" Appearance-FillStyle-MainColor="Black"></TextBlock></AxisLabel>
                    </XAxis>
                    <YAxis AxisMode="Extended" Appearance-ValueFormat="Currency" Appearance-EndCap="AnchorMask" Visible="True" VisibleValues="Positive">
                        <AxisLabel><TextBlock Text="Predicted Price" Appearance-Position-AlignedPosition=Bottom Visible="true" Appearance-Border-PenStyle="Solid" Appearance-FillStyle-MainColor="Black"></TextBlock></AxisLabel>                                                
                    </YAxis>
                </PlotArea>


I am baffled, no matter how I set it, the labels just dont show up.

Any suggestions would be appreciated.

Thanks
Amol Ajgaonkar
Munish
Top achievements
Rank 1
 answered on 25 Jun 2012
7 answers
349 views
Hi,
I use RadPanelBars for the organization of structure of web page.
RadPanelBars and RadPanelItems are added dinamically.
Sometimes I need to add RadPanelBars inside another one. But internal RadPanelBars behaves in a different way. They look differently and they are not collapsible.
Sample code:

 

<form id="form1" runat="server">  
    <asp:ScriptManager ID="ScriptManager1" runat="server">  
    </asp:ScriptManager> 
    <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Width="100%">  
        <Items> 
            <telerik:RadPanelItem runat="server" Text="Panel 1" Expanded="true">  
                <Items> 
                    <telerik:RadPanelItem runat="server" Expanded="true">  
                        <ItemTemplate> 
                            some text and controls some text and controls  
                            <br /> 
                            some text and controls some text and controls  
                            <br /> 
                            <telerik:RadPanelBar ID="RadPanelBar2" runat="server" Width="100%">  
                                <Items> 
                                    <telerik:RadPanelItem runat="server" Text="Sub Panel 1" Expanded="true">  
                                        <Items> 
                                            <telerik:RadPanelItem runat="server" Expanded="true">  
                                                <ItemTemplate> 
                                                    some text and controls some text and controls  
                                                    <br /> 
                                                    some text and controls some text and controls  
                                                    <br /> 
                                                </ItemTemplate> 
                                            </telerik:RadPanelItem> 
                                        </Items> 
                                    </telerik:RadPanelItem> 
                                </Items> 
                            </telerik:RadPanelBar> 
                            some text and controls some text and controls  
                            <br /> 
                            some text and controls some text and controls  
                            <br /> 
                        </ItemTemplate> 
                    </telerik:RadPanelItem> 
                </Items> 
            </telerik:RadPanelItem> 
        </Items> 
    </telerik:RadPanelBar> 
</form> 
Andre Light
Top achievements
Rank 1
 answered on 25 Jun 2012
1 answer
123 views
Hi all, I upgraded my webpages to NET 4 and i'm using the EntityFramework abilities, I working with Mysql database, cause i develop on php and .NET and using the Mysql .NET connector v 6.4.4 for Visual Studio 2010.
I tried to bind RadGrid (v 2012.1) with the EntityDataSource, it reads whole rows but CRUD operations on RadGrid didn't work, my surprise was CRUD works on original ASP.NET GridView  with EntityDS. here is my default.aspx code.

<%@ Page Language="C#" %>
<%@ 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">
<script runat="server">
 
</script>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
            </asp:ScriptReference>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
            </asp:ScriptReference>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
            </asp:ScriptReference>
        </Scripts>
    </telerik:RadScriptManager>
    <asp:EntityDataSource ID="EntityDataSourceTest" runat="server" ConnectionString="name=entity_testEntities"
        DefaultContainerName="entity_testEntities" EnableDelete="True" EnableFlattening="False"
        EnableInsert="True" EnableUpdate="True" EntitySetName="test_table">
    </asp:EntityDataSource>
    <br />
    Gridview<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="id"
        DataSourceID="EntityDataSourceTest">
        <Columns>
            <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
            <asp:BoundField DataField="id" HeaderText="id" ReadOnly="True" SortExpression="id" />
            <asp:BoundField DataField="test1" HeaderText="test1" SortExpression="test1" />
            <asp:BoundField DataField="test2" HeaderText="test2" SortExpression="test2" />
            <asp:BoundField DataField="test3" HeaderText="test3" SortExpression="test3" />
        </Columns>
    </asp:GridView>
    <br />
    RadGrid<br />
    <telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" DataSourceID="EntityDataSourceTest"
        GridLines="None" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True">
        <ClientSettings>
            <Selecting CellSelectionMode="None"></Selecting>
        </ClientSettings>
        <MasterTableView AutoGenerateColumns="False" DataKeyNames="id" DataSourceID="EntityDataSourceTest"
            AllowAutomaticDeletes="False" AllowAutomaticInserts="False" AllowAutomaticUpdates="False"
            CommandItemDisplay="Top">
            <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
            <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                <HeaderStyle Width="20px"></HeaderStyle>
            </RowIndicatorColumn>
            <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                <HeaderStyle Width="20px"></HeaderStyle>
            </ExpandCollapseColumn>
            <Columns>
                <telerik:GridEditCommandColumn ButtonType="ImageButton" FilterControlAltText="Filter EditCommandColumn column">
                </telerik:GridEditCommandColumn>
                <telerik:GridBoundColumn DataField="id" DataType="System.Int64" FilterControlAltText="Filter id column"
                    HeaderText="id" ReadOnly="True" SortExpression="id" UniqueName="id">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="test1" FilterControlAltText="Filter test1 column"
                    HeaderText="test1" SortExpression="test1" UniqueName="test1">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="test2" FilterControlAltText="Filter test2 column"
                    HeaderText="test2" SortExpression="test2" UniqueName="test2">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="test3" FilterControlAltText="Filter test3 column"
                    HeaderText="test3" SortExpression="test3" UniqueName="test3">
                </telerik:GridBoundColumn>
                <telerik:GridButtonColumn CommandName="Delete" ButtonType="ImageButton">
                </telerik:GridButtonColumn>
            </Columns>
            <EditFormSettings>
                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                </EditColumn>
            </EditFormSettings>
        </MasterTableView>
        <FilterMenu EnableImageSprites="False">
        </FilterMenu>
    </telerik:RadGrid>
    </form>
</body>
</html>

For this example i created a database called entity_test and one table with 3 columns (test1,test2,test3) on my Mysql 5.5 server

I would like to use RadControls cause i have worked with them for 3 years.
Thanks all.
David
Top achievements
Rank 1
 answered on 23 Jun 2012
1 answer
236 views
 protected void RadAjaxManager1_AjaxRequest(object sender,Telerik.Web.UI.AjaxRequestEventArgs e)
        {
            if (e.Argument == string.Empty)
            {
                populategrid();
            }
            string[] editedItemIds = e.Argument.Split(':');
            int i;
            for (i = 0; i <= editedItemIds.Length - 2; i++)
            {
                int Rowindex =Convert.ToInt32(editedItemIds[i]);
                int ID =0;
                        ID = Convert.ToInt32(RadGrid1.MasterTableView.DataKeyValues[Rowindex]["id"]);
                   
            }
        }

my need is to update and insert data in rad grid by batch updating .  For inserting created new rows and get the row index using
script. how i  will get find control of text box by row index. How i handle inserting and updating by the above code. does any issue occurs or it will work fine. if there is any easy way please reply urgent. 


Jayesh Goyani
Top achievements
Rank 2
 answered on 23 Jun 2012
1 answer
147 views
Hi,
I have a RadGrid with hierarchy structure. I have set EnablePostBackOnRowClick=True to handle some actions on master grid row click.
How i can disable this setting for detail grid? In the other word, no actions defined  on detail grid rows, and I want no postback occurs when user clicks on detail grid rows.

Regards.
Mohsen.
Jayesh Goyani
Top achievements
Rank 2
 answered on 23 Jun 2012
1 answer
136 views
Hi,
i have problem with Resize form and CropImage form. the controls of these forms is too long and some of them are out of form. i attach a
image of my problem.
Thanks,
Azadeh
Azadeh
Top achievements
Rank 1
 answered on 23 Jun 2012
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?