Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
162 views
Is it possible to customize the radtreeview tristate behaviour in case of checkboxes. My requirement is to keep the tristate behavior, but i do not want the child nodes to be checked on checking of the parent node. Following are my settings,

<telerik:RadTreeView OnClientNodeChecking="ClientNodeChecking" Height="100%" ID="RadTreeView2" runat="server" CheckBoxes="True"
                                TriStateCheckBoxes="true" CheckChildNodes="False">

But this does not work as expected. Is this some known limitation or am I missing something?
mirang
Top achievements
Rank 1
 answered on 14 Feb 2012
1 answer
74 views
Hi there

we have decided to style some of our excel exports using the above event, and everything is so far going fine, however we have just one question for you:

- Rather than applying each individual style on the cell in question, is there any way to reference a css class which contains the intended styles? If not do you have any suggestions as to how we can achieve something similar to our requirements?

Thank you for your time

A.
Daniel
Telerik team
 answered on 14 Feb 2012
1 answer
121 views

I'm using RadGrid (RadGrid.Net2 (I know I should upgrade to a newer version, but that is not an option here..)). One of it's features is to export data to excel. Withgrid.MasterTableView.ExportToExcel(); an excel file is created with filtered and sorted data from the grid (all pages). How can i grab this data?

grd.ExportSettings.ExportOnlyData = true;
grd.ExportSettings.IgnorePaging = true;
grd.MasterTableView.ExportToExcel();

I want to grab the same data as the grid is writing to excel but can't figure out how to do this..

grd.MasterTableView.GetExportDataAsDataTable() would be perfect ;)

Daniel
Telerik team
 answered on 14 Feb 2012
9 answers
189 views
Does AsyncUpload support files drag and drop?(HTML5 feature) Is it possible to implement it by ourself?
Ivan Zhekov
Telerik team
 answered on 14 Feb 2012
2 answers
97 views
Hi

I am new to Telerik and the scheduler and I am trying to get to grips with how it all works.
On my Scheduler I don't want my user to use the inline insert. I want them to always use the advanced so they will see the appointment type drop down.
Is there a way of telling it when a user click "new appointment" for it just to open the advanced one straight away?

I know I can create custom insert templates, but if there is a simple option just to show the advanced one immediately then it would be quicker.

Thanks
Bex

Bex
Top achievements
Rank 1
 answered on 14 Feb 2012
5 answers
140 views
Hi,

I'm trying to get the reference of the label object inside NoRecordsTemplate using client side.
Is it possible? How?


Thanks.
Dexter
Tsvetoslav
Telerik team
 answered on 14 Feb 2012
4 answers
134 views
Hi

I need a requirement like ,I need to show a particular duration having appointment in a particular color.I mean I dont want to show the appointment name or I dont want to see it like a projected section.I just want to show a light green color to indicate that an appointment has beed scheduled in the particular duration.

For eg : If an appointment is given for 9 to 9.20 I dont want to show it as a projection.I just need the section as such empty ,but with a different colour.Just to indicate that the particular timing has an appointment scheduled.

I searched a lot .But all search ends with giving cssclass/colour to the appointment given.I dont want that type.I just want to show the given appointment duration with different colour.I dont want to show a projected appointment block.Just need a colour change in the whole duration or time slot.This must be shown whether the user selects day,week or month type view.

Any help is appreciated..
Regards
Chinnu :)
Ivana
Telerik team
 answered on 14 Feb 2012
4 answers
226 views
Hi
My app has ViewState disabled.
I have a panel bar with multiple items. Depending on some server side logic, I may hide some panel items.
The PanelBar loads fine.
However, on postback the wrong panel item opens.
Let's say I have 5 panel items and the server side logic hides the first one.
If I click Edit on the 4th item, on postback the 3rd item would open.

In the example below, no panel would be open on postback.
How can I fix it?

Thanks
Chen

<telerik:RadPanelBar ID="RadPanelBar1" Runat="server">
            <Items>
                <telerik:RadPanelItem runat="server" Text="Root RadPanelItem1">
                </telerik:RadPanelItem>
                <telerik:RadPanelItem runat="server" Text="Root RadPanelItem2" Selected="True">
                </telerik:RadPanelItem>
                <telerik:RadPanelItem runat="server" Text="Root RadPanelItem3">
                    <ContentTemplate>
                        <asp:FormView ID="FormView1" runat="server" DataSourceID="LinqDataSourcePayee"
                            DataKeyNames="id">
                            <EditItemTemplate>
                                firstName:
                                <asp:TextBox ID="firstNameTextBox" runat="server"
                                    Text='<%# Bind("firstName") %>' />
                                <br />
                                lastName:
                                <asp:TextBox ID="lastNameTextBox" runat="server"
                                    Text='<%# Bind("lastName") %>' />
                                <br />
                                <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True"
                                    CommandName="Update" Text="Update" />
                                 <asp:LinkButton ID="UpdateCancelButton" runat="server"
                                    CausesValidation="False" CommandName="Cancel" Text="Cancel" />
                            </EditItemTemplate>
                             
                            <ItemTemplate>
                                firstName:
                                <asp:Label ID="firstNameLabel" runat="server" Text='<%# Bind("firstName") %>' />
                                <br />
                                lastName:
                                <asp:Label ID="lastNameLabel" runat="server" Text='<%# Bind("lastName") %>' />
                                <asp:LinkButton ID="EditButton" runat="server" CausesValidation="False"
                                    CommandName="Edit" Text="Edit" />
                            </ItemTemplate>
                        </asp:FormView>
                    </ContentTemplate>
                </telerik:RadPanelItem>
            </Items>
        </telerik:RadPanelBar>

Code behind:
protected void Page_Load(object sender, EventArgs e)
{
       RadPanelBar1.Items[0].Visible = RadPanelBar1.Items[0].Enabled =false;
}


Kate
Telerik team
 answered on 14 Feb 2012
1 answer
137 views
Server-side validation finds an error in some other user's entries when they attempt to upload a file they've selected.

After the PostBack, the Upload file list is empty again. How do I preserve the list so the user need not enter it again? Do I have to programmatically save and restore it myself?
Bozhidar
Telerik team
 answered on 14 Feb 2012
1 answer
68 views
Good Morning;

I have been very interest on the telerik asp.net components where it will be very useful in our system development. i have ask our manager to buy telerik for our development as we facing some problem on have update panel to be triggered using a component inside the grid.

I appreciate if somebody help me on getting this requirement implemented. also i have question for admin, is there training for telerik components which can be arranged by telerik team.

Hussian.
Tsvetoslav
Telerik team
 answered on 14 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?