Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
133 views
Hi,
In my Grid I have a NestedTemplateView with a RadSplitter.
I would like to keep HierarchyLoadMode="Client" but when I expand row the radSplitter is not stretch.
Is it possible to re-paint or resize the radSplitter?
I notice that if I click on subgrid refresh button the radsplitter will be resized correctly


<telerik:RadGrid ID="TaskRadGrid" runat="server" OnNeedDataSource="RadGrid_NeedDataSource"  Width="100%"           
                EnableEmbeddedSkins="False" Skin="MySkin"
                AllowPaging="True" OnItemCommand="RadGrid_ItemCommand"
                AllowSorting="True" OnItemInserted="RadGrid_ItemInserted" OnPreRender="RadGrid_PreRender"
                OnItemDataBound="RadGrid_ItemDataBound" AllowFilteringByColumn="True" CellSpacing="0"               
                Culture="it-IT" GridLines="None" >
                <PagerStyle Mode="NextPrevAndNumeric" />
                <MasterTableView AutoGenerateColumns="False" EditMode="InPlace"
                    DataKeyNames="Id, Ambiente, Asset.Id" Width="100%"
                    Name="Task" CommandItemDisplay="Top" HierarchyLoadMode="Client">
                    <CommandItemSettings AddNewRecordText="" RefreshText="" />                                     
                    <NestedViewTemplate>                   
                            <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="250">
                                <telerik:RadPane ID="PlannedAndActualPanel" runat="server" Scrolling="None" Width="24px" >
                                    <telerik:RadSlidingZone ID="PlannedAndActualSlidingZone" runat="server" Width="24px" ClickToOpen="true">
                                        <telerik:RadSlidingPane ID="PlannedAndActualPane" Title="Planned" runat="server" Width="260px">
                                           ....
                                        </telerik:RadSlidingPane>
                                        <telerik:RadSlidingPane ID="RadSlidingPane2" Title="Actual" runat="server"  Width="260px">
                                         ...
                                        </telerik:RadSlidingPane>
                                    </telerik:RadSlidingZone>
                                </telerik:RadPane>
                                <telerik:RadSplitBar ID="RadSplitBar1" runat="server">
                                </telerik:RadSplitBar>
                                <telerik:RadPane ID="MiddlePane" runat="server" Width="100%" Scrolling="None" CssClass="stretch">
                                    <telerik:RadSplitter ID="RadSplitter2" runat="server" Width="100%" ResizeWithParentPane="true">
                                        <telerik:RadPane ID="RadPane2" runat="server" Width="100%" Scrolling="None"  ResizeWithParentPane="true">
                                            <telerik:RadGrid ID="RadGrid2" runat="server" OnNeedDataSource="RadGrid2_NeedDataSource"
                                                Width="100%" EnableEmbeddedSkins="False" AllowPaging="True" OnItemCommand="RadGrid2_ItemCommand"
                                                AllowSorting="True" OnItemDataBound="RadGrid2_ItemDataBound"  AllowFilteringByColumn="True"
                                                CellSpacing="0" Culture="it-IT" GridLines="None">
                                                <MasterTableView AutoGenerateColumns="False" EditMode="InPlace" DataKeyNames="Id, Ambiente" Width="100%"
                                                    AllowFilteringByColumn="false" Name="TaskOperations" CommandItemDisplay="Top">
                                                    <CommandItemSettings AddNewRecordText="" RefreshText="" />
                                                    <AlternatingItemStyle CssClass="gridAltRow" />
                                                    <ItemStyle CssClass="gridRow" />
                                                    <HeaderStyle CssClass="gridHeader" />
                                                    <Columns>
                                                   ...
                                                    </Columns>
                                                    <EditFormSettings>
                                                        <EditColumn ButtonType="ImageButton" />
                                                    </EditFormSettings>
                                                </MasterTableView>
                                                <ClientSettings>
                                                    <ClientEvents OnRowDblClick="RowEditOnDblClick">
                                                    </ClientEvents>
                                                </ClientSettings>
                                            </telerik:RadGrid>
                                        </telerik:RadPane>
                                        <telerik:RadSplitBar ID="RadSplitBar2" runat="server">
                                        </telerik:RadSplitBar>
                                        <telerik:RadPane ID="RadPane1" runat="server" Width="24px" Scrolling="None">
                                            <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" Width="24px" ClickToOpen="true"
                                                SlideDirection="Left">
                                                <telerik:RadSlidingPane ID="CatalogOperationsRadSlidingPane" Title="Catalog operations"
                                                    DockOnOpen="true" runat="server" IconUrl="img/gears.png">
                                              ...
                                                    </telerik:RadListBox>
                                                </telerik:RadSlidingPane>
                                            </telerik:RadSlidingZone>
                                        </telerik:RadPane>
                                    </telerik:RadSplitter>
                                </telerik:RadPane>
                            </telerik:RadSplitter>
                    </NestedViewTemplate>
                    <Columns>
                       ...
                    </Columns>
                    <EditFormSettings>
                        <EditColumn ButtonType="ImageButton" />
                    </EditFormSettings>
                </MasterTableView>
                <ClientSettings>
                    <ClientEvents OnRowDblClick="RowDblClick" OnHierarchyExpanding="CollapseOtherRows">
                    </ClientEvents>
                </ClientSettings>
                 
                <FilterMenu EnableEmbeddedSkins="False">
                </FilterMenu>
                <HeaderContextMenu EnableEmbeddedSkins="False">
                </HeaderContextMenu>
            </telerik:RadGrid>
Vessy
Telerik team
 answered on 24 Feb 2014
1 answer
289 views
Hi, 

I have a RadGrid with 5 columns, the first 4 columns are databound and are of fixed widths. The 5th column is an item template which consists of a control and this column width is not set(for resizing). I also have grouping done for the rows. The width of all columns are consistent for all groups except one. In this group, the fixed width coulmns dont retain their values(as you can see in pic). I dont have any clue why this is happening. any suggestion could be fine. thanks for your help.

Please note: Table Layout is set as 'Auto'
Princy
Top achievements
Rank 2
 answered on 24 Feb 2014
1 answer
96 views
Hi, 

I'm having an issue... But I don't know why / where... Can you help me?

I think that I've isolated the problem.
In my Page I have:
<telerik:RadAjaxManager ID="RAMP" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RG">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RG" LoadingPanelID="LP" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

If I put my 
<telerik:RadAjaxLoadingPanel ID="LP" runat="server" ZIndex="100000001" />
in the same page, it's working well.
If I put this same code in the master page of the page then the ajax calls are not working...

When my RadAjaxLoadingPanel is in the masterpage, in the console I have this:
POST... 500 (Internal Server Error) ... Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RSM_TSM


Can you help me please?
Shinu
Top achievements
Rank 2
 answered on 24 Feb 2014
1 answer
77 views
Hello All,
I am exporting my Rad Grid data in a pdf form but it is not showing my data in a hierarchical manner and not showing data.
 Please see the below attachment and i also write my code for exporting the data in pdf form.

Please help me. It is urgent.
Princy
Top achievements
Rank 2
 answered on 24 Feb 2014
1 answer
680 views
Hi ,

I have a menu in which i am creating a mega dropdown by using itemtemplate.
I want to retrieve the value of list inside my anchor tag  <a> tag which is inside a <div> , selected by the user.

And if some one could also help me where i can assign the value to the anchor tag <a>, as it does not support the property of value.
Basically here is  a small snippet -
 <a href="#">
                                                <li>French</li>
                                            </a>

So when a user hit on French from menu , i want to return the "fr" in back-end. and perform the localization .

here is the complete code for my RadMenu-

<telerik:RadMenu ID="sMenuLanguage" runat="server" Width="7%" Font-Size="14px" EnableEmbeddedSkins="False">
        <Items>
            <telerik:RadMenuItem Text="English">
                <Items>
                    <telerik:RadMenuItem CssClass="rmSlide1" OuterCssClass="langSlide">
                        <ItemTemplate>
                            <div class="main">
                                <h2 class="main-title">AROUND THE GLOBE - SELECT YOUR LANGUAGE </h2>
                                <div class="map">
                                    <img src="../images/map.png" />
                                </div>

                                <div id="languageSection" class="languageSection">
                                    <div class="col">

                                        <ul>
                                            <a href="#">
                                                <li>Chinese (Simple)</li>
                                            </a>
                                            <a href="#">
                                                <li>Chinese (Traditional)</li>
                                            </a>
                                            <a href="#">
                                                <li>Danish</li>
                                            </a>
                                            <a href="#">
                                                <li>Dutch</li>
                                            </a>
                                            <a href="#">
                                                <li>English</li>
                                            </a>
                                        </ul>
                                    </div>
                                    <div class="col">

                                        <ul>
                                            <a href="#">
                                                <li>Finnish</li>
                                            </a>
                                            <a href="#">
                                                <li>French</li>
                                            </a>
                                            <a href="#">
                                                <li>German</li>
                                            </a>
                                            <a href="#">
                                                <li>Italian</li>
                                            </a>
                                            <a href="#">
                                                <li>Japanese</li>
                                            </a>
                                        </ul>
                                    </div>
                                    <div class="col">
                                        <ul>
                                            <a href="#">
                                                <li>Korean</li>
                                            </a>
                                            <a href="#">
                                                <li>Norwegian</li>
                                            </a>
                                            <a href="#">
                                                <li>Portuguese</li>
                                            </a>
                                            <a href="#">
                                                <li>Spanish</li>
                                            </a>
                                            <a href="#">
                                                <li>Swedish</li>
                                            </a>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </ItemTemplate>
                    </telerik:RadMenuItem>
                </Items>
            </telerik:RadMenuItem>
        </Items>
    </telerik:RadMenu>


Could any one help me on this , how can we achieve this , with a small piece of sample code

Thanks 







Shinu
Top achievements
Rank 2
 answered on 24 Feb 2014
3 answers
275 views
The RadEditor on screen Character Count doesn't match the character count when accessing RadEditor1.Text.Length on a postback.  How can I access the count that is displayed to the user as they are entering text?

Below is an example:

Screen shows 21 characters, but when doing RadEditor1.Text the result is :"0123456789 \n0123456789"
This has a .Length of 22 characters.



Princy
Top achievements
Rank 2
 answered on 24 Feb 2014
1 answer
128 views
after selecting one image by pressing on select button, the file gets uploaded. Likewise, if again i press on the select button again it uploads another file. Its a little confusing.
To prevent that i after selecting and uploading a single image , the fileupload control or the button through which i select another image should be disabled.
Can anyone provide me with any solutions??....Its urgent...Thanks
Shinu
Top achievements
Rank 2
 answered on 24 Feb 2014
2 answers
152 views
Hi

I have a radgrid with multiple columns, I want to change the colour of a cell individually when the cell is clicked on a client side. Also, I need to capture the cell id or index and the column details and update the database.

Thanks
Princy
Top achievements
Rank 2
 answered on 24 Feb 2014
1 answer
116 views
Sorry for taking your time, I just dont know why, i cant download sample code of ASP NET AJAX it stuck on 80 % then unknown network error. link :  http://www.telerik.com/support/aspnet-ajax#step-by-step
Rumen
Telerik team
 answered on 23 Feb 2014
1 answer
147 views
Hi,

Im using Telerik 2010.2.713 version with Sharepoint 2010.
Created visualwebpart with simple button, 1 radcombobox inside updatepanel, initially the radcombobox will be visible false, on button click we are trying to enable the radcombobox.
But when i click on button im getting error on page 'Telerik is undefined', so i changed my web.config with Telerik.Web.UI.WebResource in <handlers>, later on im getting 'Object expected'.

Please find the below code that im using

visual webpart usercontrol

<asp:UpdatePanel runat="server" ID="updatePanel1" UpdateMode="Conditional" >
    <ContentTemplate>
        <asp:Button runat="server" ID="btn1" Text="ShowButton" OnClick="btn1_Click" />
        <telerik:RadComboBox visible="false" AutoPostBack="true" ID="RadComboBox1" runat="server">
            <Items>
                <telerik:RadComboBoxItem Text="1" />
                <telerik:RadComboBoxItem Text="2" />
                <telerik:RadComboBoxItem Text="3" />
            </Items>
        </telerik:RadComboBox>
    </ContentTemplate>
</asp:UpdatePanel>

Telerik references in Web.Config

<httpHandlers>
      <remove verb="*" path="*.asmx" />
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
    </httpHandlers>

<handlers>
      <remove name="OPTIONSVerbHandler" />
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="svc-Integrated" />
      <remove name="WebDAV" />
      <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="integratedMode" />
      <add name="OwssvrHandler" scriptProcessor="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\isapi\owssvr.dll" path="/_vti_bin/owssvr.dll" verb="*" modules="IsapiModule" preCondition="integratedMode" />
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
      <add name="JSONHandlerFactory" path="*.json" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" resourceType="Unspecified" preCondition="integratedMode" />
      <add name="ReportViewerWebPart" verb="*" path="Reserved.ReportViewerWebPart.axd" type="Microsoft.ReportingServices.SharePoint.UI.WebParts.WebPartHttpHandler, Microsoft.ReportingServices.SharePoint.UI.WebParts, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
      <add name="ReportViewerWebControl" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      <add name="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
    </handlers>

please help me to resolve the issue asap, waiting for ur reponse
Thanks in advance
PJ
Top achievements
Rank 1
 answered on 23 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?