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

Using client scripting, how can I set the splitter and pane height same as that of content element?

Thanks
Ben
Princy
Top achievements
Rank 2
 answered on 15 Jul 2013
2 answers
69 views
Hi

I have few custom server controls on my page and these controls are inherited from the traditional asp controls and I tried to decorate them using the form decorator but its not working. what can be this issue behind this? OR Is there anything like it is not applicable to controls other than Telerik?

Any suggestions
Dona
Bozhidar
Telerik team
 answered on 15 Jul 2013
1 answer
205 views
Hi All,

Does anyone created a radgrid with checkbox on specific group and once clicked, all items on the last group will be selected within that group?

Our current problem is, we have RadGrid and we need to add a checkbox on 1st group, and once checked all item from 3rd group should be selected/checked.

I included sample snapshot to be more clear.

Thanks!
Eyup
Telerik team
 answered on 15 Jul 2013
1 answer
36.4K+ views
I created an Org chart with programmatically-bound data, such as outlined in this demo: http://demos.telerik.com/aspnet-ajax/orgchart/examples/populatingwithdata/programaticdatabinding/defaultcs.aspx

Is there any way to make it so that the text inside the org chart node is a link (or the node itself is a link, either way is fine) so that when the user clicks on the text or the node he or she is redirected to a new page?

Any help, tips, input is greatly appreciated. :)

William
Peter Filipov
Telerik team
 answered on 15 Jul 2013
2 answers
124 views
I am currently getting the html of a ascx control through a jquery ajax request.  I set this response to a node through javascript using 
node.set_clientTemplate(t);
node.bindTemplate();

Currently the template only returns a radnumerictextbox, however it doesn't work properly.  It shows up on the screen but allows alpha characters and the EmptyMessage text doesn't disappear when the control has focus.  These are just some of the items I have noticed at least.   I can make the same request for the ascx template and put the result to a div and the control behaves perfectly so I know that side of the process is working fine.

Any help would be appreciated.
Kate
Telerik team
 answered on 15 Jul 2013
2 answers
172 views
I am trying to implement model binding on RadGrid using SelectMethod, UpdateMethod, DeleteMethod and InsertMethod. (I have done this successfully in standard edit mode.) However, having problems when EditMode="Batch". Grid displays as expected, retrieving data through SelectMethod. However, when I try to save changes to modified rows, neither the UpdateMethod or DeleteMethod are called.

I have not been able to find a data model binding example that implements Batch Edit.

Here is my code. Is this supported? And if so, what am I missing? Thanks.


<telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1">
            <telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server" AllowAutomaticDeletes="True" MasterTableView-AllowAutomaticUpdates="true"
                AllowAutomaticInserts="false" PageSize="10" Skin="Default" OnItemDeleted="RadGrid1_ItemDeleted" 
                OnItemUpdated="RadGrid1_ItemUpdated" AllowAutomaticUpdates="True" AllowPaging="True"
                AutoGenerateColumns="False" Width="750px" OnBatchEditCommand="RadGrid1_BatchEditCommand" >
                <MasterTableView CommandItemDisplay="TopAndBottom" DataKeyNames="BlockLeaderId" SelectMethod="GetBlockLeaders" DeleteMethod="DeleteBlockLeader" UpdateMethod="UpdateBlockLeader"
                    ItemType="KHOP.Model.BlockLeader" HorizontalAlign="NotSet" EditMode="Batch" AutoGenerateColumns="False">
                    <BatchEditingSettings EditType="Cell" />
                    <CommandItemSettings ShowAddNewRecordButton="false" />
                    <Columns>
                        <telerik:GridBoundColumn DataField="BlockLeaderId" HeaderStyle-Width="80px" HeaderText="Id" UniqueName="BlockLeaderId" ReadOnly="true">
                            <ColumnValidationSettings>
                                <ModelErrorMessage Text=""></ModelErrorMessage>
                            </ColumnValidationSettings>
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn HeaderText="Date" HeaderStyle-Width="130px" UniqueName="BlockDate" DataField="BlockDate" ReadOnly="true">
                            <ItemTemplate>
                                <%# Item.Block.Watch.PeriodDate.EventDate.ToShortDateString() %>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Day of Week" HeaderStyle-Width="180px" UniqueName="BlockDay" DataField="BlockDay" ReadOnly="true">
                            <ItemTemplate>
                                <%# Item.Block.BlockHour.DayOfWeek.ToString() %>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Block Hours" HeaderStyle-Width="180px" UniqueName="BlockHours" DataField="BlockHours" ReadOnly="true">
                            <ItemTemplate>
                                <%# Item.Block.BlockHour.ShortName %>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Leader" HeaderStyle-Width="180px" UniqueName="LeaderId" DataField="LeaderId">
                            <ItemTemplate>
                                <%# Item.Leader.FirstName + " " + Item.Leader.LastName %>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <telerik:RadDropDownList runat="server" ID="LeaderIDDropDown" DataValueField="LeaderId"
                                    DataTextField="FullName" SelectMethod="GetActiveLeaders">
                                </telerik:RadDropDownList>
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="Leader Type" HeaderStyle-Width="180px" UniqueName="LeaderType" DataField="LeaderTpe">
                            <ItemTemplate>
                                <%# Eval("LeaderType") %>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <telerik:RadDropDownList runat="server" ID="LeaderTypeIdDropDown" DataValueField="LeaderTypeId"
                                    DataTextField="LeaderType" SelectMethod="GetLeaderTypes">
                                </telerik:RadDropDownList>
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridButtonColumn ConfirmText="Delete this block leader?" ConfirmDialogType="RadWindow"
                            ConfirmTitle="Delete" HeaderText="Delete" HeaderStyle-Width="50px" ButtonType="ImageButton"
                            CommandName="Delete" Text="Delete" UniqueName="DeleteColumn">
                        </telerik:GridButtonColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
            <telerik:GridTextBoxColumnEditor runat="server" ID="TextEditor">
                <TextBoxStyle Width="120px" />
            </telerik:GridTextBoxColumnEditor>
        </telerik:RadAjaxPanel>
Radoslav
Telerik team
 answered on 15 Jul 2013
3 answers
1.7K+ views
Hello,

i'm using Telerik aspnet controls for first-time so probably i'm missing something.
I have a RadComboBox with a DataSource linked by code.

I need to clear its items also in code-behind.

I have tried the following

cboExample.DataSource = null;
cboExample.DataBind();

But items remain in combobox.

Which is the way to clear items in RadComboBox?

Do i have to do cboExample.Items.Clear(); explicitly?

Thanks
Malkiat
Top achievements
Rank 1
 answered on 15 Jul 2013
1 answer
85 views
I have a radasyncupload control that works just fine when I deploy it to Azure, but not in the local debug environment.

The progress bar fills all the way up and then sticks right at the end and does nothing.

Screen shot attached.
Peter Filipov
Telerik team
 answered on 15 Jul 2013
1 answer
124 views
Hello,
I have to export data from a RadGrid to Excel, but I want to hide the other icons, but I can not hide the separator, as I can do?

protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)

{

if (e.Item is GridCommandItem)

{

GridCommandItem cmditm = (GridCommandItem)e.Item;

//to hide AddNewRecord button

cmditm.FindControl("InitInsertButton").Visible = false;//hide the text

cmditm.FindControl("AddNewRecordButton").Visible = false;//hide the image

//to hide Refresh button

cmditm.FindControl("RefreshButton").Visible = false;//hide the text

cmditm.FindControl("RebindGridButton").Visible = false;//hide the image

// cmditm.FindControl("Separator").Visible = false;





thanks
Shinu
Top achievements
Rank 2
 answered on 15 Jul 2013
1 answer
82 views
Hi,

I have just download a trial version of Telerik Reporting. I tried to integrate it with SharePoint 2010 however, reading the the system requirements it only works with .NET 4.0. Obviously SharePoint 2010 only works within the .NET 3.5 app domain. 

Wondering if I can get an earlier version of the package or has support for SharePoint 2010 been discontinued?

Thanks,
Nigel
Blajka
Telerik team
 answered on 15 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?