Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
64 views
Hi ,
       I am using Radslider in a page where  I am displaying the various colors in single row by putting the table inside the the division tag and the colors are dynamically displayed from the data stored in database .Navigation was done using Rad slider.Rad Slider disappears in Firefox when the page is refreshed It works just fine in IE6.OnClientLoaded function is not fired when the page is refreshed Can some one help me to fix it.

Click on Cut graphics and select cast opaque from the sub menu and then click on the Available colors tab please
For first time you will be able to see all the colors but when refresh (In the sense pressing F5)
http://arlonstage.aptinet.com/Products/Product%20Finder.aspx

Thanks and Regards,
N.Nallamani
Tsvetie
Telerik team
 answered on 03 Jul 2009
13 answers
290 views
We are experiencing problems getting the loading image to be displayed during postbacks

<body> 
    <form id="form" runat="server"> 
    <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> 
        <script type="text/javascript"> 
            function RowDblClick(sender, eventArgs) { 
                sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical()); 
            } 
        </script> 
    </telerik:RadCodeBlock> 
     
    <div> 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" > 
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="documentsGrid"> 
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="documentsGrid" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"  /> 
        <telerik:RadGrid ID="documentsGrid" DataSourceID="documentsDataSource" runat="server" 
            Skin="Office2007" AutoGenerateColumns="true" GridLines="Vertical" AllowSorting="True" EnableEmbeddedScripts="true"> 
            <ClientSettings> 
                <ClientEvents OnRowDblClick="RowDblClick" /> 
            </ClientSettings> 
             
        </telerik:RadGrid> 
    </div> 
    </form> 
</body> 
</html> 


We can get the background color and fading to work but cant get the spinning image to be displayed...

Any suggestions?? 



Lars
Top achievements
Rank 1
 answered on 03 Jul 2009
6 answers
358 views
Hi there,

i hope someone can help me with my problem. I downloaded the trial of the rad-ajax-components, since we need a menu that is far better than what microsoft provides. The menu-component exactly meets our needs. Unfortunately i get a javascript error saying "ASP.NET Ajax client-side framework failed to load", when i try to run the menu in Internet Explorer 6. It works fine without any problem on IE7 and Firefox. The page is rendered completely on IE6 too, but the only visible thing is the menu, that also works as expected. The rest of the page is not visible.

I looked at the sourcecode of the page and found this section:

<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>

the errorstring is what i get when i look at the javascript-error of IE6 (i click at the small exclamationmark in the statusbar). Does anyone know what goes wrong with IE6 at this point? I am a little confused since the menu works really fine. It does what it is expected to do. Just the rest of the page is not shown.

Kind regards
Andi
Andreas
Top achievements
Rank 1
 answered on 03 Jul 2009
1 answer
135 views
Hi,

Is there a way to add spacing between the objects in a dock zone. This is spacing on the top and bottom of objects.

Thank you!
Pero
Telerik team
 answered on 03 Jul 2009
3 answers
148 views
I have a page that contains a menu using a RadPanelBar and a site map and for this I don't want to use a Skin, instead I want to use my own CSS, so i turned EnableEmbeddedSkins and EnableEmbeddedBaseStylesheet to "false" (see below for code):

                    <asp:SiteMapDataSource ID="MemberSiteMap" SiteMapProvider="MemberSiteMap" ShowStartingNode="false" runat="server" />

                    <telerik:RadPanelBar ID="MemberNavigation" runat="server" Width="200" AllowCollapseAllItems="true" ExpandMode="SingleExpandedItem"
                        DataNavigateUrlField="Url" PersistStateInCookie="false" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false" DataSourceID="MemberSiteMap" EnableViewState="false"
                        DataTextField="Title" CssClass="navigation">
                        <CollapseAnimation Type="None" Duration="100"></CollapseAnimation>
                        <ExpandAnimation Type="None" Duration="100"></ExpandAnimation>
                    </telerik:RadPanelBar>
                   
I have another RadPanel in a user control that uses the "Default" skin (see below code):

<telerik:RadPanelBar ID="BrowseResults" runat="server" AllowCollapseAllItems="true" EnableEmbeddedSkins="true" EnableEmbeddedBaseStylesheet="true" EnableViewState="false" ExpandMode="MultipleExpandedItems" Width="215px" OnClientItemClicking="OnClientItemClicking">
            <CollapseAnimation Type="None" Duration="100"></CollapseAnimation>
            <ExpandAnimation Type="None" Duration="100"></ExpandAnimation>
            <Items>            
                <telerik:RadPanelItem Text="Filter by event type" Value="EventTypes" CssClass="filterTitle" EnableViewState="false">
                    <Items>
                        <telerik:RadPanelItem Text="Loading..."></telerik:RadPanelItem>
                    </Items>                
                </telerik:RadPanelItem>        
                <telerik:RadPanelItem Text="Filter by category" Value="Categories" CssClass="filterTitle" EnableViewState="false">
                    <Items>
                        <telerik:RadPanelItem Text="Loading..."></telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Filter by region" Value="Locations" CssClass="filterTitle" EnableViewState="false">
                    <Items>
                        <telerik:RadPanelItem Text="Loading..."></telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>            
            </Items>
        </telerik:RadPanelBar>

The problem that I have is that whatever properties I set in the second RadPanel overrides all the properties for the first RadPanel including setting the skin, is this a known bug, if so is there a way around it? I am using the 2009_1_527 build.
Veselin Vasilev
Telerik team
 answered on 03 Jul 2009
2 answers
145 views
Hi

I need a 'sexy' way to duplicate rows from a grid into the same grid. I thought drag and drop, but the examples show 2 grids. Does anyone have any other ideas.

Andy
Andy Green
Top achievements
Rank 2
 answered on 03 Jul 2009
1 answer
250 views
Hi,

I've got a column which dispalys the number of days an item has been in stock. I've implemented this as as GridTemplateColumn with a label for the ItemTemplate. I couldn't use a GridCalculatedColumn as this does not work with dates. The code in the ItemDataBound event is as follows:

 

if (e.Item is GridDataItem)

 

{

 

GridDataItem dataItem = e.Item as GridDataItem;

 

 

Label label = (Label)dataItem.FindControl("DaysInStock");

 

label.Text =

DateTime.Now.Subtract(DateTime.Parse(dataItem["DateIntoStock"].Text)).Days.ToString();

 

}

I also want to be able to sort on this column. How can I implement this?

Thanks,

Stuart

Yavor
Telerik team
 answered on 03 Jul 2009
1 answer
111 views
I'm using a grid that has its EditMode set to EditForms. Is it possible to actually move the Update and Cancel buttons from their default location? Below is a link to a screenshot of what I mean - 

http://i970.photobucket.com/albums/ae187/paulehn/grid-movebuttons.jpg

Ideally, I'd like to be able to move them to the top right hand corner of the form, but if that is not possible, simply moving them to above the form controls would be fine (ie. top left hand corner).
Shinu
Top achievements
Rank 2
 answered on 03 Jul 2009
1 answer
100 views

Is it possible to control the order of the groups on the grid, or disable grid's ordering mechanism and just display it in the order data is fed to the grid. Unfortunatelly, domain entities are fed directly to the UI and they do not have any meaningful attribute upon which to set the group expression. Here is how the data is being fed to the grid, and I would like the grid not to change the order.

   this.BaseProductBenefitsGrid.DataSource = Benefits  
                   .OrderBy(b => 
                   {  
                       switch (b.BenefitServiceGroup)  
                       {  
                           case "Inpatient":  
                               return 1;  
                           case "Outpatient":  
                               return 2;  
                           case "Other":  
                               return 3;  
                       }  
                       return 4;  
                   }).ThenBy(b => b.Type.DisplayOrderNumber).ToList();  
 
                BaseProductBenefitsGrid.DataBind(); 


and here is the group expression

    <GroupByExpressions> 
                        <telerik:GridGroupByExpression > 
                            <SelectFields > 
                                <telerik:GridGroupByField HeaderText="-" FieldName="BenefitServiceGroup"  HeaderValueSeparator="&nbsp;" SortOrder="None" /> 
                            </SelectFields> 
                            <GroupByFields> 
                                <telerik:GridGroupByField FieldName="BenefitServiceGroup" /> 
                            </GroupByFields> 
                        </telerik:GridGroupByExpression> 
                    </GroupByExpressions> 

so I would think that it should be possible to have groups ordered as Inpatient, Outpatient, Other. But grid reverses it and displays it as Inpatient, Other, Outpatient.
Princy
Top achievements
Rank 2
 answered on 03 Jul 2009
1 answer
155 views
Hi,

I have a issue with the radtextbox control. I have some placed inside an usercontrol. On my parent page, I have a button which when clicked call a method in my usercontrol that reads the text properties of the input controls. The property is empty if I use the radtextbox. If I switch to the asp.net version I can use the property values. What I haven't understood?

Thnx,
Adi
Shinu
Top achievements
Rank 2
 answered on 03 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?