Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
223 views
I want to verify that what I am reading is correct: in order to use a custom skin, I need to create a class library, add references to all my files, create a webresource, the register it with RadStylesheetManager.

Is this correct? Is there no way to work with just the css files in the skins folder? I work within a dynamic program, so there really is no where to "drag file to page to register" and I have about 40 themes to port over. If possible, I'd like to just create my skins, update my files and deploy.
Veselin Vasilev
Telerik team
 answered on 15 Oct 2009
1 answer
88 views
How can I show timeline view with start time and end time in horizontal, instead of dates.

Thanks
Peter
Telerik team
 answered on 15 Oct 2009
3 answers
666 views
I am getting a null value back when tried the following code:

                 <RadCodeBlock runat="server" ID="radCodeBlock">
       <script type="text/javascript">
                         function RadGridCommand(sender, args) {
  
               if (args.get_commandName() == "Update") {
  
                   alert(sender.get_masterTableView().get_dataItems()[0].getDataKeyValue("datamember"));
                  
               }
          }
                
                
                 </script>
                 </gsm:RadCodeBlock>
                
                 <gsm:RadGrid runat="server"
                        AutoGenerateColumns="false" ID="RadGrid1" 
                        AllowFilteringByColumn="false" AllowSorting="true"
                        AllowPaging="true"
                        AlternatingItemStyle-BackColor = "White"
                        PageSize="10"
                        ShowStatusBar="true"
                        CellPadding="0" CellSpacing="0" Visible="false">
                   <PagerStyle Mode="NextPrevAndNumeric"  />
                   <GroupingSettings CaseSensitive="false" />
                   <MasterTableView AutoGenerateColumns="false"
                                    AllowFilteringByColumn="false"
                                    EditMode="InPlace"
                                    TableLayout="Auto"
                                    DataKeyNames="ID" CommandItemDisplay="Top"  >
                        <Columns >
                            <gsm:GridBoundColumn   ItemStyle-HorizontalAlign="Center" FilterControlWidth="100%" DataField="datamember" HeaderText="datamember" SortExpression="MemberPair" UniqueName="datamember" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false">
                                <ItemStyle Width="20%"   Font-Names="tahoma,helvetica" Font-Size="10px" HorizontalAlign="Justify"/>
                                <HeaderStyle Width="20%" Font-Names="tahoma,helvetica" Font-Size="10px" HorizontalAlign="Justify" />
                            </gsm:GridBoundColumn>
                        </Columns>
                   </MasterTableView>
                    <ClientSettings>
                        <Scrolling AllowScroll="true"  UseStaticHeaders="true"/>                       
                        <ClientEvents OnRowDblClick="RowDblClick" />  
                        <ClientEvents OnCommand="RadGridCommand" />                     
                    </ClientSettings>                                                         
                 </gsm:RadGrid>
Princy
Top achievements
Rank 2
 answered on 15 Oct 2009
1 answer
146 views
I have used RadDatePicker in my C# project ..... i am showing the date of the  booked appointment with specific color. Now the problem is that this RadDatePicker is loaded in the Page Load event which causes a long time to load the page [due to DayRenderEvent].......... i want to Load the Calender on its  DatePopupButton-Image .... Please give me a proper solution for this..... thank you.
Sebastian
Telerik team
 answered on 15 Oct 2009
2 answers
99 views
Hello all,

We have an application that uses Telerik controls which works perfectly, however  every time we change to another option page before the previous one has been fully uploaded, we got this message (this is done from menu options):

this._loadingPanelsToHide.length is null or not an object

and when we accept to debug it, it points to this line:
$create(Telerik.Web.UI.RadAjaxManager, {"_updatePanels":"","ajaxSettings":[{InitControlID : "pnImportBatch",UpdatedControls : [{ControlID:"pnImportBatch",PanelID:"rlpImportBatch"}]}],"clientEvents":{OnRequestStart:"",OnResponseEnd:""},"defaultLoadingPanelID":"","enableAJAX":true,"enableHistory":false,"links":[],"styles":[],"uniqueID":"ramImportBatch","updatePanelsRenderMode":0}, null, null, $get("ramImportBatch"));

How can we prevent this error message to appear ?

Regards

Sebastian
Telerik team
 answered on 15 Oct 2009
1 answer
134 views
hello,

in my application i have the following scenario:

From a simple ASP.NET page with a few ASP.NET-controls like DropDownList an RadioButton, the user can select a UserControl with an build-in RadGrid. The user first enters some Information and select some values in the ASP.NET page, then he presses a button to load the control based on the selected values (other values loads the same control with different data in the build-in RadGrid).
The Control ist loaded with the LoadControl() from Class Page, whenever the user presses the button.
The Control has a Page_Load with the following code:

if(!IsPostBack) 
{ 
  RadGrid.DataSource = my_dataSource; 
  RadGrid.DataBind() 
} 

The RadGrid´s DataSource is updated on every click in the ASP.NET-Page.
In addition, the NeedDataSource Method is implemented:

protected void RadGrid_NeedDataSource(object source, GridNeedDataSourceEventArgs e) 
{ 
    RadGrid.DataSource = my_dataSource; 
} 

The following error occurs:

When the user presses the button the first time the control and the RadGrid are loaded correctly. Then, if the user chance the values in the ASP.NET-page and presses the button again the "old" build-in RadGrid is still there!
In debug-mode i figured out that the NeedDataSource is not called, after the control was loaded again.
I try to set the DataSource in the PageLoad on every PostBack, and it works! The new build-in RadGrid was loaded. But then there is an another problem: if the user presses the hide-button, after he has expanded a hierachy nothing happens.

How is it possible to bring these two things (load the RadGrid correctly and hide a hierachy) together?

Thanks for help!




Sebastian
Telerik team
 answered on 15 Oct 2009
1 answer
95 views
Hello,

Is there a way to replace the AjaxControlToolkit accordion with some radcontrol ?

Thanks
CS

Paul
Telerik team
 answered on 15 Oct 2009
1 answer
595 views
Is this the best way to accomplish this?  If use one other the other for all browser, one browser works and then the other stops working.

Right now, for this to work in each browser I have to do the following...

For Chrome/FireFox/Safari...  I have to call add_init

For IE... I have to call add_load

    <script language="javascript" type="text/javascript"> 
        function OnLoad() { 
            var appVersion = navigator.appVersion; 
 
            if (appVersion.indexOf('MSIE') > 1) { 
                Sys.Application.add_load( 
                    function() { 
                        var zoneDetails = $find('radZone1'); 
                        var zoneStatus = $find('RadDockZone1'); 
 
                        RestoreDocksInZone(zoneDetails); 
                        RestoreDocksInZone(zoneStatus); 
                    } 
                ); 
            } 
            else { 
                Sys.Application.add_init( 
                    function() { 
                        var zoneDetails = $find('radZone1'); 
                        var zoneStatus = $find('RadDockZone1'); 
 
                        RestoreDocksInZone(zoneDetails); 
                        RestoreDocksInZone(zoneStatus); 
                    } 
                ); 
            } 
         
        } 
    </script> 
</head>  
<body onload="OnLoad();"> 
... 
</body> 

Thanks,
Stephen
Jim
Top achievements
Rank 1
 answered on 15 Oct 2009
1 answer
102 views
Is it possible to change the loading image displayed in a RadWindow when the ShowContentDuringLoad property is set to false?

--
Stuart
Shinu
Top achievements
Rank 2
 answered on 15 Oct 2009
4 answers
109 views
Hello,

When I deploy a radcombobox on my sharepoint page with the Office 2007 skin it looks a bit squashed. I believe this to be an issue with the controlss css being in contention with the pages css.

Is this a common issue, and if so, is there a workaround for this?

Regards,

   John
Eric Skaggs
Top achievements
Rank 2
 answered on 15 Oct 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?