Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
140 views
Hi

I been trying to find options to just print the editform content. I have grid with usercontrol editform which is almost a page size and user might want to print the form content only for discussion purposes. I know there are print options which we can try to print the screen but it looks ugly with grid on the background. I am trying to see whether there is any option just to print the edit form content only with form format not in excel format. 

Vijai
Kostadin
Telerik team
 answered on 28 Nov 2013
1 answer
75 views
I have a treelist control on my page where I load the items dynamicaly. At each section I'd like to have aggregated sums at the bottom. I thing I have all set correctly regarding online demos but the result footer are all empty.

I use this code:

<
telerik:RadTreeList ID="rtlData" AllowLoadOnDemand="true" runat="server" AutoGenerateColumns="false"
    OnChildItemsDataBind="RadTreeList_ChildItemsDataBind" OnNeedDataSource="RadTreeList_NeedDataSource"
     DataKeyNames="CssClass,ParentId" ParentDataKeyNames="CssClass,ParentId" OnItemCreated="RadTreeList_ItemCreated"
    OnItemDataBound="RadTreeList_ItemDataBound" ShowFooter="true">
     <Columns>
          <telerik:TreeListBoundColumn DataField="ProductCatL3" UniqueName="ProductCatL3" HeaderText="Produkt L3">
          </telerik:TreeListBoundColumn>
          <telerik:TreeListBoundColumn DataField="ProductCatL2" UniqueName="ProductCatL2" HeaderText="Produkt L2">
          </telerik:TreeListBoundColumn>
          <telerik:TreeListBoundColumn DataField="ProductCatL1" UniqueName="ProductCatL1" HeaderText="Produkt L1">
          </telerik:TreeListBoundColumn>
          <telerik:TreeListBoundColumn DataField="State" UniqueName="State" HeaderText="Stav" DataType="System.Decimal" DataFormatString="{0:C2}" Aggregate="Sum">
          </telerik:TreeListBoundColumn>
          <telerik:TreeListBoundColumn DataField="Avg1Month" UniqueName="Avg1Month" HeaderText="PrůmÄ›r 1 mÄ›síc" DataFormatString="{0:C2}" Aggregate="Avg">
          </telerik:TreeListBoundColumn>
          <telerik:TreeListBoundColumn DataField="Avg3Months" UniqueName="Avg3Months" HeaderText="PrůmÄ›r 3 mÄ›síce" DataFormatString="{0:C2}" Aggregate="Avg">
          </telerik:TreeListBoundColumn>
          <telerik:TreeListBoundColumn DataField="ApprovedLimit" UniqueName="ApprovedLimit" HeaderText="Schválený limit" DataFormatString="{0:C2}" Aggregate="Sum">
          </telerik:TreeListBoundColumn>
          <telerik:TreeListBoundColumn DataField="CssClass" UniqueName="Css" HeaderText="CSS" Visible="false">
          </telerik:TreeListBoundColumn>
          <telerik:TreeListBoundColumn DataField="ParentId" UniqueName="ParentId" HeaderText="ParentId" Visible="false">
          </telerik:TreeListBoundColumn>
     </Columns>
</telerik:RadTreeList>
Marin
Telerik team
 answered on 28 Nov 2013
6 answers
131 views
Hi,

When i select the Aggregate function None in Header Context menu, am getting the below error message 

Telerik.Web.UI.GridGroupAggregateObject does not contain a Propertry "column name" .

Any idea on this?

Best Regards,
Satz
Radoslav
Telerik team
 answered on 28 Nov 2013
3 answers
913 views
Hi there,

I'm in need of a copy of RadControls version 2012.1.215.35. Does anyone know where I can get this from please?

When I go to the Control Panel and request older versions the furthest back I seem to go is 2012.1.301.35.

The same seems to be the case through the website.

Thanks,
James
Ianko
Telerik team
 answered on 28 Nov 2013
1 answer
92 views
Hi,

We are having problems with an error that has started occurring the middle of development.
The errors we are getting are related to the "'Sys' is undefined" and "ASP.NET Ajax client-side framework failed to load."

This issue is don't occur in a constant bases. when browsing our website a user would hit a page then this error would occur. which locks up all the rad modules. the user can switch to other pages and the error would not show up until he switches back to the affect page. When the user removes the page name from the url (http://web/loc/Default.aspx => http://web/loc/)  the page load up correctly and it operational again. This issue don't seem to be affecting just one page but can happen on any page.

I will copy of or web.config file and paste it below.

Any idea why this would occur?

OS:Windows 2008 Server edition
IIS: version 7
Authentication: Windows Integrated (Domain Active Directory)
browser: Internet Explorer 8
telerik (UI/Skin) version: 2012.2.912.40 
language: C#



<system.web>
              <compilation debug="true" targetFramework="4.0"/>
              <pages>
                     <controls>
                           <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
                     </controls>
              </pages>
              <httpHandlers>
                     <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/>
                     <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/>
                     <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
                     <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/>
                     <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
              </httpHandlers>
              <httpModules>
                     <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
              </httpModules>
       </system.web>
       <system.webServer>
              <validation validateIntegratedModeConfiguration="false"/>
              <modules runAllManagedModulesForAllRequests="true">
                     <remove name="RadUploadModule"/>
                     <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode"/>
              </modules>
              <handlers>
                     <remove name="ChartImage_axd"/>
                     <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode"/>
                     <remove name="Telerik_Web_UI_SpellCheckHandler_axd"/>
                     <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode"/>
                     <remove name="Telerik_Web_UI_DialogHandler_aspx"/>
                     <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode"/>
                     <remove name="Telerik_RadUploadProgressHandler_ashx"/>
                     <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode"/>
                     <remove name="Telerik_Web_UI_WebResource_axd"/>
                     <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode"/>
              </handlers>
       </system.webServer>


Ianko
Telerik team
 answered on 28 Nov 2013
1 answer
232 views
If a button cannot be ajaxed, ie a button that exports a report to PDF, etc, what is the best way to still show the loading panel while it is processing prior to exporting the report?

Are there any demos that show an example of this?

Thanks
Maria Ilieva
Telerik team
 answered on 28 Nov 2013
2 answers
131 views
Hi there i want to hide the line image in the parent node and show line images in child nodes

are there any examples


Thanks.

Sunn
Top achievements
Rank 1
 answered on 28 Nov 2013
8 answers
284 views
Hi all,

Is it possible to have a dynamically value-driven filter drop down similar to Excel filtering? Basically, the menu would list all of the distinct values in that column, and the custom option. (Excel also shows sorting, but I already know how to enable that in RadGrid)
Kostadin
Telerik team
 answered on 28 Nov 2013
1 answer
113 views
Hi,

We are facing a vulnerability (Missing XML Validation) in Ajaxtoolkit form (Animation.cs) that the  input source is not been validated properly,which was identified by HPFortify tool.

We are using the Version 3.5.60501.0

Is any new version has come to overcome this issue?

If not, could you please give me a solution for this?

The below code is for you reference. 

        private static int GetNumber(string source, string tag)
        {
         
              using (XmlTextReader reader = new XmlTextReader(new StringReader(source)))
              {

                  if (reader.Read())
                  {

                      while (reader.Read())
                      {
 
                          if (string.Compare(reader.Name, tag, StringComparison.OrdinalIgnoreCase) == 0)
                              return reader.LineNumber;
   
                          if (reader.NodeType == XmlNodeType.Element && !reader.IsEmptyElement)
                              reader.Skip();
                      }
                  }
              }          

            return 1;   
        }

HP Fortify Error Description:
The method GetNumber() in Animation.cs fails to enable validation before using XML on line 238, which gives an attacker the opportunity to supply malicious input.

Appreciate your help!

Thanks,
Jeyachandran S
Danail Vasilev
Telerik team
 answered on 28 Nov 2013
1 answer
148 views
Hi, 
I have issue, when I click on fullscreen toggle button, 
its only show me Editor only in IE
in other browsers its working fine.
Ianko
Telerik team
 answered on 28 Nov 2013
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?