Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
140 views
It seems that the ASP.net report viewer requires session state enabled. This is a major limitation with the integration with SP2010 given that session state is disabled by default.

In order to be able to use Telerik Reporting on a SP2010 site it seems that we need to enable session state in the entire web application (instead of just enabling it on the page with the report viewer), which in my opinion, is not an acceptable solution. Do you have any plans to remove the need to use session state in future releases?

It would also be a good idea if you clearly state this limitation in your literature so people are aware of it before making a purchase decision. You have a page that describes how to integrate the report viewer with SharePoint but you do not mention anything about the session state limitation which I think can by very misleading.

Best Regards,
Hugo Esperanca
Peter
Telerik team
 answered on 11 May 2011
1 answer
115 views

Hi

Is there a way to automatically switch the up and down option when the search has reached the top or the bottom of the content?

Currently, if the cursor is at the bottom of the content the user must know where it is and either move the cursor to the top of the content, or change the Find/Find & Replace parameter to search "Up" rather than search "down".  Users expect it to work like MS Word where once it reaches the end of the content it automatically starts searching again at the top of the document.

Thanks in advance

Rumen
Telerik team
 answered on 11 May 2011
1 answer
145 views

I use RadSkinManager :

 <telerik:RadSkinManager ID="RadSkinManager1" runat="server" Skin="Default" EnableViewState="false" ShowChooser="false" />

I tried to reduce my pages' size so I am disabling ViewState on controls. I tried disabling RadSkinManager viewstate but it does not work

Here are viewstate size stats:

Control Id    Type    ViewState Size

ctl00$ctl00$ContentPlaceHolder1$RadSkinManager1 Telerik.Web.UI.RadSkinManager 0
ctl00$ctl00$ContentPlaceHolder1$SkinChooser Telerik.Web.UI.RadComboBox 912
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$Header Telerik.Web.UI.RadComboBoxHeaderFooterControl 48
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$Footer Telerik.Web.UI.RadComboBoxHeaderFooterControl 48
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i0 Telerik.Web.UI.RadComboBoxItem 60
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i1 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i2 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i3 Telerik.Web.UI.RadComboBoxItem 56
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i4 Telerik.Web.UI.RadComboBoxItem 72
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i5 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i6 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i7 Telerik.Web.UI.RadComboBoxItem 72
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i8 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i9 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i10 Telerik.Web.UI.RadComboBoxItem 60
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i11 Telerik.Web.UI.RadComboBoxItem 60
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i12 Telerik.Web.UI.RadComboBoxItem 64
ctl00$ctl00$ContentPlaceHolder1$SkinChooser$i13 Telerik.Web.UI.RadComboBoxItem 68

You see that   RadSkinManager viewstate is 0 but  some SkinChooser comboboxes. Why is that?

Tsvetoslav
Telerik team
 answered on 11 May 2011
1 answer
303 views
Hello,

I am following the my portal demo. I have created app with similar functionality.

I have combobox with treeview embeded in it. On clicking tree nodes I add the Docks to the raddockzone.

Now I want to add "AsyncPostBackTrigger " to the treeview  which is inside the combobox so that when I hit "NodeClick" event then rest of the docks should not load again. Oly newly added dock should get impacted.

If I try to add the AsyncPostBackTrigger to Node click then I get the following error.

A control with ID 'RadTreeViewCustSupportReports' could not be found for the trigger in UpdatePanel 'UpdatePanel1'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: A control with ID 'RadTreeViewCustSupportReports' could not be found for the trigger in UpdatePanel 'UpdatePanel1'.


Treeview inside the combobox:
<telerik:RadComboBox ID="RadComboReports" runat="server" AllowCustomText="true" EmptyMessage="-- Select Report --"
                           Height="300px" ShowToggleImage="True" Skin="Default" Width="275px">
                           <ItemTemplate>
                               <div id="div1">
                                   <telerik:RadTreeView ID="RadTreeViewCustSupportReports" runat="server" OnNodeClick="RadTreeViewCustSupportReports_NodeClick"
                                       Skin="Vista" Width="100%">
                                       <Nodes>
                                           <telerik:RadTreeNode runat="server" ImageUrl="~/Images/chart_pie.png" Text="Avg Response Time"
                                               Value="~/Internal/Dashboard/Reports/CSMD_Average_Response_Time.ascx">
                                           </telerik:RadTreeNode>
                                           <telerik:RadTreeNode runat="server" ImageUrl="~/Images/chart_pie.png" Text="Avg Resolution Time Frontline"
                                               Value="~/Internal/Dashboard/Reports/CSMD_Average_Resolution_Time_FL.ascx">

Update panel where raddoclayout is placed:
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="false">
    <ContentTemplate>
        <Martinbeeby:RadDockLayoutNew ID="RadDockLayout1" runat="server" OnLoadDockLayout="RadDockLayout1_LoadDockLayout"
            OnSaveDockLayout="RadDockLayout1_SaveDockLayout">
            <table style="width: 100%; padding-top: 4px;" cellpadding="0" cellspacing="0" border="0">
                <tr align="left" style="padding-bottom: 0px; padding-top: 0px; padding-left: 0px;
                    padding-right: 0px;">
                    <td style="vertical-align: top; width: 267px; padding-left: 0px; padding-right: 0px;">
                        <Martinbeeby:RadDockZoneNew ID="RadDockZone1" runat="server" MinHeight="500px" Width="267px"
                            BorderStyle="None">

AsyncPostBackTrigger:

</Martinbeeby:RadDockLayoutNew>
            </ContentTemplate>
            <Triggers>
            <asp:AsyncPostBackTrigger ControlID="RadTreeViewCustSupportReports" EventName="NodeClick" />
            </Triggers>
        </asp:UpdatePanel>


How to add this trigger ?

Dobromir
Telerik team
 answered on 11 May 2011
1 answer
65 views
Hi,

 I got a question, is there any way to recognize inside the page_load event, that the page is at the moment in rad window or not ?.

Regards,
Tomek
Marin Bratanov
Telerik team
 answered on 11 May 2011
3 answers
90 views
Hello,i want get ControlID (<asp:image />) but this controlID belong ItemTemplate tag of Radgrid
This's CODE
<Columns>       
        <telerik:GridClientSelectColumn UniqueName="column1">
        </telerik:GridClientSelectColumn>       
        <telerik:GridTemplateColumn UniqueName="TemplateColumn">
            <ItemTemplate>
                  <asp:Image ID="okimg" BorderWidth="0px"  ImageUrl="hinh/MailFlagRed.png"
                               Style="float: right; cursor: pointer;" runat="server">
                            </asp:Image>
            </ItemTemplate>
        </telerik:GridTemplateColumn>       
    </Columns>
I also have two topics need help
http://www.telerik.com/community/forums/aspnet-ajax/grid/help-expand-button-in-radgrid.aspx
http://www.telerik.com/community/forums/aspnet-ajax/grid/clientselectcolumn-in-radgrid.aspx
Please Help Me
THANKS
Tsvetina
Telerik team
 answered on 11 May 2011
1 answer
69 views
Hello,

I currently have a RadGrid that has multiple columns with Auto Generated filters. The last column in the grid is a select column which I do not want a filter at the top of. I tried to fix this by adding an empty <FilterTemplate>&nbsp;</FilterTemplate>. This worked and removed the filter from above the select column, but none of my filters work now. If there a reason why this is happening?

My code is posted below:
<telerik:radgrid runat="server" DataSourceID="dsFindNavCustomers" 
    GridLines="None" ID="grdCustomers" AutoGenerateColumns="False" 
    AllowPaging="True" AllowSorting="True" PageSize="15" 
    AllowFilteringByColumn="True" CellSpacing="0">
    <PagerStyle Mode="Slider" />
    <FilterItemStyle HorizontalAlign="Left" />
    <MasterTableView datasourceid="dsFindNavCustomers"
        nomasterrecordstext="There are no customers matching your filters.">
        <Columns>
            <telerik:GridTemplateColumn DataField="No." HeaderText="Customer No." UniqueName="CustomerNo">
                <ItemTemplate>
                    <asp:Label ID="lblCustomerNo" runat="server" Text='<%# Container.DataItem("No.") %>'></asp:Label>
                </ItemTemplate>
                <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" HorizontalAlign="Left" 
                    Font-Strikeout="False" Font-Underline="False" Width="100px" Wrap="True" />
                <ItemStyle HorizontalAlign="Left" />
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn DataField="Name" HeaderText="Customer Name" FilterControlWidth="120px"
                UniqueName="Name">
                <ItemTemplate>
                    <asp:Label ID="lblCustomerName" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
                    <asp:Label ID="lblCompanyName" runat="server" 
                        Text='<%# Eval("Company Name") %>' Visible="False"></asp:Label>
                </ItemTemplate>
                <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" HorizontalAlign="Left"
                    Font-Strikeout="False" Font-Underline="False" Width="200px" Wrap="True" />
                <ItemStyle HorizontalAlign="Left" />
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn DataField="Contact" HeaderText="Contact Name" FilterControlWidth="120px"
                UniqueName="Contact">
                <ItemTemplate>
                    <asp:Label ID="lblContactPersonName" runat="server" 
                        Text='<%# Eval("Contact") %>'></asp:Label>
                </ItemTemplate>
                <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" HorizontalAlign="Left"
                    Font-Strikeout="False" Font-Underline="False" Wrap="True" />
                <ItemStyle HorizontalAlign="Left" />
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn DataField="City" HeaderText="Bill-to City" FilterControlWidth="110px"
                UniqueName="City">
                <ItemTemplate>
                    <asp:Label ID="lblCustomerCity" runat="server" Text='<%# Eval("City") %>'></asp:Label>
                </ItemTemplate>
                <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" HorizontalAlign="Left"
                    Font-Strikeout="False" Font-Underline="False" Width="125px" Wrap="True" />
                <ItemStyle HorizontalAlign="Left" />
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn DataField="State" HeaderText="Bill-to State" FilterControlWidth="50px"
                UniqueName="State">
                <ItemTemplate>
                    <asp:Label ID="lblCustomerState" runat="server" Text='<%# Eval("State") %>'></asp:Label>
                </ItemTemplate>
                <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" HorizontalAlign="Left"
                    Font-Strikeout="False" Font-Underline="False" Width="65px" Wrap="True" />
                <ItemStyle HorizontalAlign="Left" />
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn UniqueName="select">
                <ItemTemplate>
                    <asp:LinkButton ID="btnSelectCustomer" runat="server" CausesValidation="false" 
                        CommandName="Select" Text="Select"></asp:LinkButton>
                </ItemTemplate>
                <HeaderStyle Width="40px" Font-Bold="True" Font-Italic="False" HorizontalAlign="Left"
                    Font-Overline="False" Font-Strikeout="False" Font-Underline="False" 
                    Wrap="True" />
                <FilterTemplate>
                       
                </FilterTemplate>
                <ItemStyle HorizontalAlign="Center" />
            </telerik:GridTemplateColumn>
        </Columns>
    </MasterTableView>
    <clientsettings>
        <selecting enabledragtoselectrows="False" />
    </clientsettings>
</telerik:radgrid>

Any help would be greatly appreciated.
Thanks,
Ryan Pope
Pavlina
Telerik team
 answered on 11 May 2011
3 answers
132 views
Hello,

How can I tell RadComboBox, which column to search in, when I type something in the textbox?

Also How can I do contains search rather then starts with search?

Thanks.
Jimmy.
Dimitar Terziev
Telerik team
 answered on 11 May 2011
3 answers
134 views

Hello,

Every created appointment, there is gape in Appointment Scheduler slot. It is not show the full color in that appointment slot and it remain some space. It created a lot of problem when we try to manipulate lunch and block time. It created appointment in remaining gape area. It should not occurred this type of gape.

Also, I attached the related file of this problem.

Please help me as soon as possible.

Thanks


Best Regards


Mutum Jiten Singh

Peter
Telerik team
 answered on 11 May 2011
3 answers
137 views
Hi

I am using form edit in RadGrid. And am using following code.

<asp:Button ID="Button1" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'>
</asp:Button>&nbsp;
<asp:Button ID="Button2" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel">
</asp:Button>


But the problem is, it not at all firing the client side OnCommand event.

Please help me.


Thanks,
John.
Marin
Telerik team
 answered on 11 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?