Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
526 views
Hii,
How tho add a folder icon in every node of treeview?

thanks.
Kate
Telerik team
 answered on 16 Oct 2012
2 answers
134 views
Helo To All  I am using RadAsyncUpload.Its working on my local System but when i upload it online its not working..When i am uploading files i am not getting green signal like when i am trying i am getting like this..plz see attached file..

My web config is


    <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" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" 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="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </httpModules>
  </system.web>
  <system.codedom>
    <compilers>
             <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules>
      <remove name="ScriptModule" />
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    </modules>
    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
      <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="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" />
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
    </handlers>
  </system.webServer>
</configuration>
Cat Cheshire
Top achievements
Rank 1
 answered on 16 Oct 2012
1 answer
109 views

Hii,
How to allow users to upload all files except the files with no extension?

thanks..
Princy
Top achievements
Rank 2
 answered on 16 Oct 2012
1 answer
74 views
Hi,
 If I put content such as M&T in the RadTickerItem it changes the  & to &amp;. Is there a way to stop this from happening? In the code below the Ham & Eggs becomes Ham &amp; Eggs.
<telerik:RadTicker AutoStart="true" runat="server" ID="Radticker1" Loop="true">
    <Items>
        <telerik:RadTickerItem >Ham & Eggs</telerik:RadTickerItem>
        <telerik:RadTickerItem>M&T<telerik:RadTickerItem>
        <telerik:RadTickerItem>AT&T<telerik:RadTickerItem>
    </Items>
</telerik:RadTicker>
Slav
Telerik team
 answered on 16 Oct 2012
1 answer
181 views
I really didn't think this would be that hard.  I've found one other example, but it doesn't seem to work for me.

All  I need to do is, using Javascript on the client side, go through the rows in a data grid, see if the checkbox is check then look at another column in that row to see if it has a value, and then count the checked items.  I know it sounds silly, but we are trying to limit the number of checkboxes actually selected so that everything selected gets printed.  If too many are selected, the reporting tool just doesn't print ANYTHING (I'll save THAT for another post ;~)

Here's the code I have so far:

    function CheckboxCheckedChanged() {
        var grid = document.getElementById('<%= FormView1.FindControl("rgContactsDisplay").ClientID %>');
        var inputElements = grid.get_dataItems();  //THIS IS THE LINE THAT DOESN'T WORK
        var index;
        var MAX = 10;
        var remaining;
        var hldCompany = null;

        for (index = 0; index < inputElements.length; index++) {

              if (inputElements[index].id.indexOf("chkContacts") != -1) {
                if (inputElements[index].checked == true) {
                    // If First row
                    if (hldCompany == null) {
                        hldCompany = grid.rows[index].cells[2]   //grid.row(2);
                    }

                    //If I already have this company, just add 1 for the contact if it’s there
                    if (hldCompany == grid.rows[index].cells[2]) {
                        if (grid.rows[index].cells[3] != null &&
                            grid.rows[index].cells[3] != '&nbsp;') {
                            remaining = remaining + 1;
                            break;
                        }
                    }
                    else {
                        hldCompany = grid.rows[index].cells[2];

                        if (grid.rows[index].cells[3] != null &&
                            grid.rows[index].cells[3] != '&nbsp;') {
                            remaining = remaining + 2;
                            break;
                        }
                        else {
                            remaining = remaining + 1;
                            break;
                        }
                    }
                }
            }
        }

        remaining = MAX - remaining;

        if (remaining < 0) {
            alert("Too many contacts selected for printing");
        }
    }

I've tried a number of different things for the line that doesn't work, but so far the only thing I'm getting is that the "object doesn't support" the method...or errors similar.

I was able to finally get an object from the line above that so I THINK I have a grid to process.

Thanks for any help...

Rich

Andrey
Telerik team
 answered on 16 Oct 2012
1 answer
161 views
Hello,

In my application I've implemented a search page with 3 instances of a user control using a RadGrid. As the page reloads to Rebind the data (using the search text), I gete the following error.

Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.

I've read quite a few articles about this error and the theory about it I do understand. But I can't seen to figure out how to solve it. I believe the Edit-button (ButtonType = "ImageButton") is causing the error, because it is not yet registered for event validation.

How can I accomplish that each edit button is registered?
Arno
Top achievements
Rank 1
 answered on 16 Oct 2012
1 answer
283 views
Hi All,

I have a client project where one of the requests is to export Charts to Excel or powerPoint but with all their data included and NOT as image only. Is any of these two exports achievable with either RadChart or RadHtmlChart? Is it maybe possible to serialise the chart information to Open XML that Office products are able to manipulate? Any recommendations and/or ideas are more than welcome.

Thanks a lot,

Christos
Marin Bratanov
Telerik team
 answered on 16 Oct 2012
1 answer
38 views
Is there any guidance for mobile browser usage of a decorated drop-down list?

We've recently gotten some comments that a DDL may be unusable on some devices.  I know that a decorated DDL doesn't bring up a mobile browser's native selection box, because it isn't implemented as an html select.  So its a minor usability concern that the options are a bit harder to select than they would normally be.

The big problem I am seeing is that if the list is long, the mobile user is unable to scroll the items in the list.  This is the case on my Android 2.3.4 phone, and I'm told it is true on an iPhone as well.  A scrollbar does not appear on the right side of the list like it does on the desktop version.  I tested a couple of other browsers as well, and they are all the same.  I would consider this a bug, but I'm not sure if mobile support is quite complete.

I've been pretty pleased with the fact that pretty much everything we've done with Telerik has worked on mobile, so I'm hoping this is a minor glitch!

Joel

Bozhidar
Telerik team
 answered on 16 Oct 2012
4 answers
321 views
Hi,

I probably missing something put when i try to use the RadTreeView for databinding there nothing showing!
The page is blank
Any idea??

Is there something i am missing or is there a bug?
I try the same thing in code behind with the same result!
Any tips or advise are welcome

Tks in advance

<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
        
       <telerik:RadTreeView runat="server" ID="RadTreeView1" DataSourceID="SqlDataSource1"
           DataFieldID="id" DataFieldParentID="parentID" CheckBoxes="true">
           <DataBindings>
               <telerik:RadTreeNodeBinding TextField="Text" />
               <telerik:RadTreeNodeBinding Depth="0" Checkable="false" TextField="Text2" Expanded="true"
                    />
           </DataBindings>
       </telerik:RadTreeView>
        
       
   <asp:SqlDataSource runat="server" ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:xxxx%>"
    SelectCommand="uspListRegionEcole" SelectCommandType="StoredProcedure"  />
Bozhidar
Telerik team
 answered on 16 Oct 2012
0 answers
111 views

Hi,

I m using telerik grid with grouped by month.

now my criteria is i want to show current month group first  and then remaining group with order by asc .

Is there any way to accomplish this?.

Thanks in advance.
Parimal
Top achievements
Rank 1
 asked on 16 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?