Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
155 views

Hello sir,

       Collapsing and enlarging group is not working in Rad Grid. I am calling RefreshCombos() function given in demo site from Rad grid PreRender event. But is working before filtering controls is calling but not working once after the items is filtered. I dont know what is the proble.. So plz help me to find the solution.

I am using the following code in order to work filtering properly:
 protected void RadGrid1_PreRender(object sender, EventArgs e)
    {
 
        if ((RadGrid1.MasterTableView.FilterExpression != string.Empty ))
        {
            RefreshCombos();
        }
        
    }

Regards,
Appu
Pavlina
Telerik team
 answered on 29 Jun 2009
2 answers
155 views
I have a grid that has about a million line items... everyone who would come to the webpage would get the same dataset...

I want to know how to preload it, and place it in memory so that it is cached and ready to display instantly for everyone who visits that page... sort of like you do for the 300,000 line item demo for the grid...

Because of the large size... (and there will be no edits to that grid)... if I were to place the dataset in a session variable.. when serveral users visit the page and load the grid.. it will cause the server to err...(out of memory)

I want one cached dataset that would be used for all visitors.. is that possible?

Your help is appreciated,

Thanks,

Jeff
Georgi Krustev
Telerik team
 answered on 29 Jun 2009
3 answers
163 views
I have a radgrid that is embedded in the InsertTemplate of a FormView control. When i am trying to insert a new record into the formview control and then try to add items to the rad grid, the edit template that i have set up for radgrid does not show when i click the "Add" button on the radgrid. The strange thing is that the next time the page does a postback to the server the template then becomes available. Any ideas on what is causing this issue?
Pavlina
Telerik team
 answered on 29 Jun 2009
1 answer
149 views
Hello ,

I have 2 radscheduler's on same page . one of them works perfectly but when trying to update other one i keep getting error

"Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Selection out of range
Parameter name: value" .

 Insert , draging and resizing works perfectly fine but double clicking an appointment creates problem . i have used same events for both Scheduler to insert and update also same resources .


I am new to radScheduler can you please help me out . i cant figure out the problem .

Thank You
Vipin
Peter
Telerik team
 answered on 29 Jun 2009
1 answer
143 views
Okay, if someone can give me a hand hear I would definitely appreciate it.  I'm not sure if I'm doing something wrong, don't understand how this is supposed to work or simply found a bug.  I'm trying to use the RadTabStrip with an associated RadMultiPage together with a SiteMap.  I've found many resources on the combination of two of those three items but very little that discusses the use of all three, or at least in the way I'm (trying to) use them.

The site map contains entries for several pages at the same level in the hierarchy (siblings), each with several nodes.  These child nodes do not have a URL entry but instead are (intended to) switch the PageView of the RadMultiPage. The top level nodes (which have URLs) work as expected, each linking to the correct page.  The child tabs of each of these pages display correctly but do not perform what I expected the when clicked.  The child tabs of the page listed first in the SiteMap display a PageView but the PageView they are displaying is offset by 1.  That is, the first child tab on the first page is displaying the second PageView, the second is displaying the third, etc.  This leaves the last tab not displaying a PageView at all.  Also, the child tabs on each other page after the first do not display a PageView.

I've tried using the client side API to try to determine what is occuring and it would appear that the child tabs on all pages are attempting to display a PageView with the same index as the the index of the node in the SiteMap.  That is, the first page's third child node (which is the fourth node) is attempting to display the fourth PageView, which does not exist.

Thoughts? Ideas? Suggestions? Am I simply misunderstanding how this should be operating? AKA: "user error"?  If I am doing things correctly and it "should" be working I have a stripped down example that demonstrates the situation, but I've also included a few of the appropriate snippits.

Thanks for any help.

web.sitemap

 

 

 

    <siteMapNode url="~/Index.aspx" title="Fruits" description="" > 
        <siteMapNode url="~/Page1.aspx" title="Page1" description="" > 
            <siteMapNode title="Apple" description="" /> 
            <siteMapNode title="Bananna" description="" /> 
            <siteMapNode title="Carrot" description=""  /> 
        </siteMapNode> 
        <siteMapNode url="~/Page2.aspx" title="Page2" description="" > 
            <siteMapNode title="Date" description="" /> 
            <siteMapNode title="Eggplant" description="" /> 
            <siteMapNode title="Fig" description=""  /> 
        </siteMapNode> 
    </siteMapNode> 

 

 

Page1.aspx

 

 

    <asp:SiteMapDataSource ID="siteMapDataSource" runat="server" ShowStartingNode="false" />  
    <telerik:RadTabStrip ID="radTabStrip1" runat="server" DataSourceID="siteMapDataSource" MultiPageID="radMultiPage1" SelectedIndex="0" />  
    <telerik:RadMultiPage runat="server" id="radMultiPage1" SelectedIndex="0" >  
        <telerik:RadPageView runat="server" ID="radPageView1" >Page View - Apple</telerik:RadPageView>  
        <telerik:RadPageView runat="server" ID="radPageView2" >Page View - Banana</telerik:RadPageView>  
        <telerik:RadPageView runat="server" ID="radPageView3" >Page View - Carrot</telerik:RadPageView>  
    </telerik:RadMultiPage>  
 

Page2.aspx

(Same structure as Page1)

Paul
Telerik team
 answered on 29 Jun 2009
4 answers
83 views
The code (css) below USE TO work with Q3 2008, now we upgraded to Q1 2009 and it does not, why change it?

  <style type="text/css">
 
    .collapseBarHorizontalExpand,  
    .collapseBarHorizontalExpandOver  
    {  
       background-image: url(images/arrowExpand.jpg)!important;
       height:10px!important;
    }
    
    .collapseBarHorizontalCollapse,  
    .collapseBarHorizontalCollapseOver
    {  
       background-image: url(images/arrowCollapse.jpg)!important;
       height:10px!important;
    }
    
    .resizeBarHorizontal,
    .resizeBarOverHorizontal,
    .collapseBarHorizontalWrapper
    {
        background-color:#5f5c5a!important;
        height: 10px !important;
        
    }
  </style>

Can you give us the new equivalent to these? I saw some, like rspCollapseBarHorizontalExpand, but I cannot just stick/replace with rsp and it works, any ideas on the change?
Tim
Top achievements
Rank 1
 answered on 29 Jun 2009
1 answer
101 views
Hi,

I have a RadTabstrip with Multipage which contain load-on-demand Radeditors.
Every time a tab is clicked I resize the Editors to their original size with

function resizeRadEditors() { 
if ($telerik && Telerik.Web.UI.RadEditor)  
  {  
    var len = $telerik.radControls.length;  
    for (var i=0;i<len;i++)  
    {  
      var control = $telerik.radControls[i];  
      if (Telerik.Web.UI.RadEditor.isInstanceOfType(control))  
      {  
      //alert(control.get_element().style.height); 
        control._updateEditorSize(control.get_element().style.height); 
      }  
    }  
  }  

This only works once on every tabclick, the Height value in control.get_element().style.height seems to get lost somewhere in the process. Besides I cannot find anything about the updateEditorSize function, so I do not know which Arguments that one takes.

Can you help?

Regards,
Marc

Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 29 Jun 2009
1 answer
111 views
I really like your product and the controls. Documentation and examples are excellent.

I received a new VM from our system administrators with Telerik ASP.NET AJAX installed. They of course built it without entering the product key. Looked around on your site to find the method for entering my license information. It appears that you have to re-install and subsequently configure Rad Controls again. Correct me if I am wrong in this. I certainly hope I am mistaken.

For an excellent product, which I consider Rad Controls to be,  this is in my opinion an abysmally poor way of handling licensing. Most other applications and products allow entry of a key via a windows application or web form.

I would suggest allowing entry of a key after installation is a much better user experience.

Regards,
Jay
Lidiya
Telerik team
 answered on 29 Jun 2009
5 answers
139 views
Hi,

 I'm using RadScheduler in my application and I'm using AdvancedEditForm template, the one with usercontrols for editing appointments. Is there a way  I can popup this AdvancedEditForm rather than replacing the Scheduler, which is happening now? I know current beta supports this. But, Can this be implemented with some changes to the existing control
Peter
Telerik team
 answered on 29 Jun 2009
3 answers
141 views
Hi

It seems like in the most recent release the mouseover text color of buttons
decorated with the black skin is now green.  I need to have this a gold color to match
the website livery.  How do I override this color in my CSS file?

Thanks for your help

Clive
Georgi Tunev
Telerik team
 answered on 29 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?