Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
129 views
I need to do error checking on a page and it happens on the selectedtabevent.  If the page errors out I need them to stay on teh current tab and not go forward until they have picked what they need to do.  So I thought i could se tthe selected index but it seems not to work.  Is there another way to do this?

function CheckValidation(sender, args) {
           var tab1 = sender.get_selectedIndex();
           if (tab1 == 1) {
               var combo = $find('<%= ddlSoldCounty.ClientID %>');
               var item = combo.get_value();
               if (item = 0)  {
                   if (tab1 == 1) {
                       //Set the selected tab back to 0
                       tab1.sender.set_selectedIndex == 0;
                   }
                   alert('You must pick a county from Drop Down List');
               }
           }
       }
Shinu
Top achievements
Rank 2
 answered on 10 Feb 2014
0 answers
152 views
Hi Everyone

i am making Webmail like this http://demos.telerik.com/aspnet-ajax/webmail/ 
but problem is that.. How to show Total UnRead Email in inbox..
Example: Yahoo or other email sites inbox show Total Unread email
how to do this..?

Thanks
In Advance
Arsalan
Top achievements
Rank 1
 asked on 09 Feb 2014
3 answers
100 views
Hi
I changed  culture for radscheduler but name of days is still in English
How can I change that?
Mahdi
Top achievements
Rank 1
 answered on 08 Feb 2014
8 answers
249 views
I have a treeview and I have enabled the checkbox next to each node. The problem I am facing - is with multi select . Users dont want the 'Multiselect' feature. For example , if you select USA (parent)  user should only be able to selct One State e.g TEXAS and not more than that. If he wants to select NEW York then the previous selection TEXAS should be unchecked and New York should be checked.

I am using the following in my ASPX. I see that multiselect= true / false is working only when the user clicks the 'NODE' (I mean on the text e.g TEXAS) .. But in my case I have checkbox next to each node .. I mean checkbox next to TEXAS , NEWYORK.... I am not able to restrict users from checking multiple checkboxs in the same level. I mean users are able to select TEXAS and New york checkboxes irrespective of multiselect= true / false settings.

I am using webservice ondemand load feature to load the XML (I am using a physcial XML file)

Please provide me an example , how to do it . If not atleast provide me an sample how to highlight LAST selected NODE.

                                <telerik:RadTreeView ID="RadTreeView1" runat="server" Width="100%" Height="475px"
                                                     OnNodeCheck="RadTreeView1_NodeCheck"
                                                     PersistLoadOnDemandNodes="true" LoadingStatusPosition="BelowNodeText"
                                                     OnClientNodeChecked="CheckboxChecked"
                                                     OnClientNodeCollapsed="nodeCollapsed"
                                                     CheckBoxes="true" TriStateCheckBoxes="true" MultipleSelect="false" OnClientMouseOver="onMouseOver" style="white-space:normal;" >
                                                     <ExpandAnimation Type="none"></ExpandAnimation>
                                                     <CollapseAnimation Type="none"></CollapseAnimation>
                                                     <WebServiceSettings Path="NodeWebService.asmx" Method="GetTreeViewNodes">
                                                     </WebServiceSettings>
                                                     <Nodes>
                                                        <telerik:RadTreeNode Text="Pipeline" Value="Pipeline" ExpandMode="WebService">
                                                        </telerik:RadTreeNode>
                                                     </Nodes>
                                </telerik:RadTreeView>

Thanks
Sri
Srikrishna
Top achievements
Rank 1
 answered on 07 Feb 2014
7 answers
136 views
I am using 2013.3.1324.35, and have a RadGrid where databinding occurs on the client using javascript and webservices calls, i.e.  location and method attributes are not set declaratively.   The grid's height needs to expand to fill the browser's client area, so setting fixed height is not possible.

When there is no need for a scrollbar, then loading, sorting and paging all work flawlessly.   The headers align perfectly as seen in Image 1.

Next case is when the grid dimensions are changed, or the page size is changed, such that a vertical scrollbar appears.  Again using the same databinding as described above, the headers are now misaligned.  See Image 2.

In attempt to fix this, I discovered that if I perform the initial databind in the codebehind, and then allow all subsequent databind to occur clientside as described above, then I get the result as shown in Image 3.  Here all the headers align, there is a small rectangular place holder in the header above the scrollbar, and this is all good.

My guess is that there is some grid initialization occuring in the codebehind that is not available during clientside binding.  Is that the case?  

I don't want to mix databinding methods.  Most of the examples for clientside binding, just allow the height to increase to accomodate larger page sizes.  In my case, the grid height is already full screen, so the scrollbar appears.  I'm wondering if I need to caldulate and set the grid height programmatically prior to the initial binding on the client.

From the images, etc. can you shed any light on this behavior?
Dave
Dave
Top achievements
Rank 1
 answered on 07 Feb 2014
2 answers
54 views
Hello, 

Is there any way I can control the order in which the items appear in tree view . 

Is there any function in Kendo which lets me control it 

Thanks 
Vikram
Top achievements
Rank 1
 answered on 07 Feb 2014
2 answers
149 views
In my App_Themes folder, I have a file called TelerikCustomSkin.skin.  In it, I set the default skins for the Telerik controls.  A sample of the contents is as follows:

...
<
telerik:RadScheduler runat="server" Skin="Office2007" EnableEmbeddedSkins="true" />
<telerik:RadToolBar runat="server" Skin="Custom" EnableEmbeddedSkins="false" height="23px"/>
<telerik:RadTreeView runat="server" Skin="Custom" EnableEmbeddedSkins="false" Font-Names="Arial" Font-Size="9pt" />
<telerik:RadDock  runat="server" Skin="Custom" EnableEmbeddedSkins="false" />
<telerik:RadTabStrip runat="server" Skin="Custom" EnableEmbeddedSkins="false" />
...


I am attempting to use the radTreeView on a page similar to your demo page showing examples for each of your controls.  So in my .aspx page I have the following:

<telerik:RadTreeView ID="rtvTree" runat="server" EnableEmbeddedSkins="True" Skin="Silk">
    <Nodes>
        <telerik:RadTreeNode runat="server" Text="Top Ten" Value="pnlTopTen"/>
        <telerik:RadTreeNode runat="server" Text="Topic Areas" Value="pnlTopicAreas"/>
    </Nodes>
</telerik:RadTreeView>

However, my radTreeView is still being rendered using my custom skin, not the embedded skin.  I have removed the custom skin from the TelerikCustomSkin.skin and it works then.  However, I would now have to change all the other locations radTreeView is being used and add the skin attribute.

I am using Telerik 3.5 from release 2013_3.1114.

Any help is appreciated.
Ed
Top achievements
Rank 1
 answered on 07 Feb 2014
2 answers
208 views
Dear Sir:
   I tried to override the existing embedded skin in the page... it is fine and it works.... but if i tried to put it into the separated css file and it didn't work anymore.... is there anything i have to take care with it?


<head id="Head1" runat="server">  
 
    <link href="~/css/common.css" type="text/css" rel="stylesheet"/>      
    <link href="~/css/customize.css" type="text/css" rel="stylesheet"/>   //<-- Not work to put it inside      
      
 
        
      
    <style type="text/css">  
        .rfdDecorated    
        {    
            text-align: center !important;  
            padding-left: 6px !important;    
            border: 1px solid red !important;    
        }     
          
        div.RadComboBox_Outlook,                  //<-- fine to just put it in the page
        div.RadComboBox_Outlook .rcbInput,  
        div.RadComboBoxDropDown_Outlook  
        {  
            font: 10px  Arial,"Segoe UI", sans-serif;  
            color: #333;  
        }  
    </style>  

I don't wanna to put the code into the page separately.....

thank you for your kindly help

From edl0022
Mishal
Top achievements
Rank 1
 answered on 07 Feb 2014
3 answers
358 views
Hello, a new post just to share an issue I have solved and that gave me an headache.
All RadEditor dialogs returned me the error
"Cannot deserialize dialog parameters. Please refresh the editor page."

The problem had nothing with encryption (as suggested in other threads).
The problem was an incompatibility with a URL rewriting rule in web.config, a rule that is suggested on Microsoft MSDN.
<!--Redirect HTML with query parameters to lowercase URLs-->
<rule name="ForcePagesWithParametersLowercase" stopProcessing="false">
  <match url=".*[A-Z].*\.(aspx|htm|html)" ignoreCase="false" />
  <conditions>
    <add input="{QUERY_STRING}" pattern=".*[A-Z].*" />
  </conditions>
  <action type="Redirect" redirectType="Permanent" url="{ToLower:{R:0}}?{ToLower:{QUERY_STRING}}" appendQueryString="false" />
</rule>


The SEO rule forces a permanent redirect on lower case URLs... but it is also responsible of the RadEditor problem.
What's the solution if you don't want to remove the rule?
Change it with the following one
<!--Redirect HTML with query parameters to lowercase URLs-->
<rule name="ForcePagesWithParametersLowercase" stopProcessing="false">
  <match url=".*[A-Z].*\.(aspx|htm|html)" ignoreCase="false" />
  <conditions>
    <add input="{QUERY_STRING}" pattern=".*[A-Z].*" />
    <add input="{REQUEST_FILENAME}" pattern=".*Telerik\.Web\.UI\.DialogHandler.*" negate="true"/>
  </conditions>
  <action type="Redirect" redirectType="Permanent" url="{ToLower:{R:0}}?{ToLower:{QUERY_STRING}}" appendQueryString="false" />
</rule>


Ianko
Telerik team
 answered on 07 Feb 2014
11 answers
93 views
Hi,

We are still using moss 2007 for developing some website. I would like to know if the most recent version of Telerik ASP.NET is compatible with MOSS 2007.

Do you have some links for installation help and/or integrations ?

Thanks and have a great day !
Denis
Top achievements
Rank 1
 answered on 07 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?