Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
78 views
What is the css  class that I need to modify to change the top border of the radEditor. There are properties to modify the entire border, but I want the top one to be different.
Sébastien
Top achievements
Rank 1
 answered on 27 Jul 2010
1 answer
231 views
My grid gets bound on the client side but when the data's loading it shows me a blank grid,I need a loading panel to show then.

Secondly I was unable to figure out how to have text show up beside a GridClientSelectColumn intuitive ones were Text and HeaderText
but they don't seem to work.

Another problem I faced was hiding columns, I have couple of buttons minimize and maximize in a user control these buttons are currently from a tool bar, no clicking them I set a hidden textbox to have which button was clicked and have the columns of the grid displayed accordingly.
I call the grid binding function and the hide columns function in the grids OnMasterTableViewCreated function, having hide columns there gives me the Error: 'this.get_columns()[...]' is null or not an object.

below is my hidecolumns function
 function hideColumns() {
            debugger;
            var tableView = $find("<%= radExhibitorList.ClientID %>").get_masterTableView();
            var Mode = $get("pnlExhibitor_hdnMode").value
            var gridcolumns = [0,1]; //tableView.get_Columns();
            var count = 0;

            for (count = 0; count <= gridcolumns.length; count++) {
                if (Mode == 'Minimise') {
                    var ParentControl = $get($get("pnlExhibitor_RadDock1_C_pnlHeader_hdnParentControl").value);
                    //
                    ParentControl.style.display = "none";
                }
                else if (Mode == 'Max') {
                    tableView.showColumn(gridcolumns[count]);
                }
                else { tableView.hideColumn(gridcolumns[count]); }
            }

        }


Tsvetoslav
Telerik team
 answered on 27 Jul 2010
1 answer
212 views
I have found an interesting scenario where the display property of some columns are turned off when they should be turned on. I am using a grid with UseStaticHeaders="True", AllowColumnHide="True" and FrozenColumnCount turned on (in my case set ="4"), and there is a horizontal scroll bar on the grid because there are 20+ columns.  On load the grid looks fine, but when use the horizontal scroll bar, then right-click a column heading and look at the Columns, any column between the last frozen column and the first visible column shows as not being checked when in fact it should be checked.  This allows the user to turn back on columns that were on in the first place.

Another issue I found is when you right-click a column heading, hover over columns, and turn on additional columns, the horizontal scrollbar does not change and you cannot scroll to the newly displayed columns.  This happens when the columns being turned on are off to the right of the last visible column being displayed on the webpage.

Here is my ASPX code for my radgrid and my javascript.  I am using Telerik version 2010.1.519.35

<telerik:RadGrid ID="rgWorkOrderDetails" OnNeedDataSource="rgWorkOrderDetails_OnNeedDataSource"
            runat="server" PageSize="10" AllowPaging="true" EnableHeaderContextFilterMenu="true"
            OnItemDataBound="rgWorkOrderDetails_OnItemDataBound" EnableHeaderContextMenu="true"
            CssClass="RadGridCustomClass" EnableLinqExpressions="false" OnItemCommand="rgWorkOrderDetails_ItemCommand"
            OnItemCreated="rgWorkOrderDetails_ItemCreated">            
            <ClientSettings AllowColumnHide="true" AllowColumnsReorder="true">
                <ClientEvents OnGridCreated="GridCreatedwScroll" />
                <Resizing AllowColumnResize="true" EnableRealTimeResize="true" />
                <Scrolling AllowScroll="true" UseStaticHeaders="true" FrozenColumnsCount="4" />
            </ClientSettings>
            <PagerStyle Mode="NextPrevAndNumeric" />
            <GroupingSettings CaseSensitive="false" />
            <ExportSettings ExportOnlyData="true" IgnorePaging="true"
                OpenInNewWindow="true" />
            <MasterTableView CommandItemDisplay="Top" AllowFilteringByColumn="true" AllowSorting="true"
                AutoGenerateColumns="false" Visible="true" AllowMultiColumnSorting="true">
                <SortExpressions>
                    <telerik:GridSortExpression FieldName="SampleID" SortOrder="Ascending" />
                    <telerik:GridSortExpression FieldName="ReportHeaderDisplayOrder" SortOrder="Ascending" />
                    <telerik:GridSortExpression FieldName="ReportName" SortOrder="Ascending" />
                    <telerik:GridSortExpression FieldName="DisplayOrder" SortOrder="Ascending" />
                    <telerik:GridSortExpression FieldName="AnalyteName" SortOrder="Ascending" />
                </SortExpressions>
                <NoRecordsTemplate>
                    There is no Sample Data to display
                </NoRecordsTemplate>                
                <Columns>
                    <telerik:GridBoundColumn DataField="ReportHeaderDisplayOrder" UniqueName="ReportHeaderDisplayOrder"
                        Visible="false">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="DisplayOrder" UniqueName="DisplayOrder" Visible="false">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="clientsampleid" DataField="ClientSampleID" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Client Sample ID" AutoPostBackOnFilter="true">
                        <ItemStyle Width="90px" HorizontalAlign="Center" />
                        <HeaderStyle Width="90px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="sampleid" DataField="SampleID" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Lab Sample ID" AutoPostBackOnFilter="true">
                        <ItemStyle Width="105px" HorizontalAlign="Center" />
                        <HeaderStyle Width="105px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridDateTimeColumn UniqueName="collectiondate" DataField="CollectionDate"
                        DataFormatString="{0:M/dd/yyyy hh:ss tt}" FilterControlWidth="60%" CurrentFilterFunction="GreaterThanOrEqualTo"
                        HeaderText="Collection Date" AutoPostBackOnFilter="true">
                        <ItemStyle Width="85px" HorizontalAlign="Center" />
                        <HeaderStyle Width="85px" HorizontalAlign="Center" />
                    </telerik:GridDateTimeColumn>
                    <telerik:GridBoundColumn UniqueName="analytename" DataField="AnalyteName" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Analyte Name" AutoPostBackOnFilter="true">
                        <ItemStyle Width="125px" HorizontalAlign="Center" />
                        <HeaderStyle Width="125px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="result" DataField="Result" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Result" EmptyDataText="--" ConvertEmptyStringToNull="true"
                        AutoPostBackOnFilter="true">
                        <ItemStyle Width="60px" HorizontalAlign="Center" />
                        <HeaderStyle Width="60px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="units" DataField="Units" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Units" EmptyDataText="--" ConvertEmptyStringToNull="true"
                        AutoPostBackOnFilter="true">
                        <ItemStyle Width="100px" HorizontalAlign="Center" />
                        <HeaderStyle Width="100px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn DataField="Qualifier" UniqueName="qualifier" FilterControlWidth="60%"
                        HeaderText="Qualifier" CurrentFilterFunction="Contains" ConvertEmptyStringToNull="true">
                        <HeaderStyle Width="75px" HorizontalAlign="Center" />
                        <ItemTemplate>
                            <asp:Label ID="lblStatus" runat="server" Text='<%#Convert.ToBoolean(Eval("Qualifier").ToString() == "")? "--" : Eval("Qualifier") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle Width="75px" HorizontalAlign="Center" />
                    </telerik:GridTemplateColumn>
                    <telerik:GridBoundColumn UniqueName="reportlimit" DataField="ReportLimit" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Report Limit" EmptyDataText="--"
                        ConvertEmptyStringToNull="true" AutoPostBackOnFilter="true">
                        <ItemStyle Width="60px" HorizontalAlign="Center" />
                        <HeaderStyle Width="60px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="mcl" DataField="MCL" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="MCL" AutoPostBackOnFilter="true">
                        <ItemStyle Width="60px" HorizontalAlign="Center" />
                        <HeaderStyle Width="60px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="method" DataField="Method" EmptyDataText="--"
                        FilterControlWidth="60%" CurrentFilterFunction="Contains" HeaderText="Method"
                        AutoPostBackOnFilter="true">
                        <ItemStyle Width="80px" HorizontalAlign="Center" />
                        <HeaderStyle Width="80px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn Display="True" UniqueName="ReportName" EmptyDataText="--"
                        ConvertEmptyStringToNull="true" DataField="ReportName" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Report Name" AutoPostBackOnFilter="true">
                        <ItemStyle Width="100px" HorizontalAlign="Center" />
                        <HeaderStyle Width="100px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="matrix" DataField="Matrix" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Matrix" AutoPostBackOnFilter="true">
                        <ItemStyle Width="80px" HorizontalAlign="Center" />
                        <HeaderStyle Width="80px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="begindepth" DataField="BeginDepth" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Begin Depth" AutoPostBackOnFilter="true">
                        <ItemStyle Width="50px" HorizontalAlign="Center" />
                        <HeaderStyle Width="50px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="enddepth" DataField="EndDepth" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="End Depth" AutoPostBackOnFilter="true">
                        <ItemStyle Width="50px" HorizontalAlign="Center" />
                        <HeaderStyle Width="50px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridDateTimeColumn UniqueName="datereceived" DataField="DateReceived" FilterControlWidth="60%"
                        CurrentFilterFunction="GreaterThanOrEqualTo" HeaderText="Date Received" AutoPostBackOnFilter="true">
                        <ItemStyle Width="100px" HorizontalAlign="Center" />
                        <HeaderStyle Width="100px" HorizontalAlign="Center" />
                    </telerik:GridDateTimeColumn>
                    <telerik:GridDateTimeColumn UniqueName="analysisdate" DataField="AnalysisDate" FilterControlWidth="60%"
                        CurrentFilterFunction="GreaterThanOrEqualTo" HeaderText="Analysis Date" AutoPostBackOnFilter="true">
                        <ItemStyle Width="85px" HorizontalAlign="Center" />
                        <HeaderStyle Width="85px" HorizontalAlign="Center" />
                    </telerik:GridDateTimeColumn>
                    <telerik:GridBoundColumn Display="false" UniqueName="analyzedby" ConvertEmptyStringToNull="true"
                        EmptyDataText="--" DataField="AnalyzedBy" FilterControlWidth="60%" CurrentFilterFunction="Contains"
                        HeaderText="Analyzed By" AutoPostBackOnFilter="true">
                        <ItemStyle Width="80px" HorizontalAlign="Center" />
                        <HeaderStyle Width="80px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridDateTimeColumn Display="false" UniqueName="extracteddate" DataField="ExtractedDate"
                        FilterControlWidth="60%" CurrentFilterFunction="GreaterThanOrEqualTo" HeaderText="Extracted Date"
                        AutoPostBackOnFilter="true">
                        <ItemStyle Width="85px" HorizontalAlign="Center" />
                        <HeaderStyle Width="85px" HorizontalAlign="Center" />
                    </telerik:GridDateTimeColumn>
                    <telerik:GridBoundColumn Display="false" UniqueName="fieldsampler" DataField="FieldSampler"
                        FilterControlWidth="60%" CurrentFilterFunction="Contains" HeaderText="Field Sampler"
                        AutoPostBackOnFilter="true">
                        <ItemStyle Width="80px" HorizontalAlign="Center" />
                        <HeaderStyle Width="80px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn Display="false" UniqueName="tagno" EmptyDataText="--" ConvertEmptyStringToNull="true"
                        DataField="TagNo" FilterControlWidth="60%" CurrentFilterFunction="Contains" HeaderText="Tag #"
                        AutoPostBackOnFilter="true">
                        <ItemStyle Width="80px" HorizontalAlign="Center" />
                        <HeaderStyle Width="80px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn Display="false" UniqueName="sitetype" EmptyDataText="--"
                        ConvertEmptyStringToNull="true" DataField="SiteType" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Site Type" AutoPostBackOnFilter="true">
                        <ItemStyle Width="80px" HorizontalAlign="Center" />
                        <HeaderStyle Width="80px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn Display="false" UniqueName="sampleprogram" EmptyDataText="--"
                        ConvertEmptyStringToNull="true" DataField="SampleProgram" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Sample Program" AutoPostBackOnFilter="true">
                        <ItemStyle Width="80px" HorizontalAlign="Center" />
                        <HeaderStyle Width="80px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn Display="false" UniqueName="testname" EmptyDataText="--"
                        ConvertEmptyStringToNull="true" DataField="TestName" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Test Name" AutoPostBackOnFilter="true">
                        <ItemStyle Width="80px" HorizontalAlign="Center" />
                        <HeaderStyle Width="80px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn Display="false" UniqueName="testcode" EmptyDataText="--"
                        ConvertEmptyStringToNull="true" DataField="TestCode" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Test Code" AutoPostBackOnFilter="true">
                        <ItemStyle Width="80px" HorizontalAlign="Center" />
                        <HeaderStyle Width="80px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn Display="false" UniqueName="casno" EmptyDataText="--" ConvertEmptyStringToNull="true"
                        DataField="CasNo" FilterControlWidth="60%" CurrentFilterFunction="Contains" HeaderText="Cas #"
                        AutoPostBackOnFilter="true">
                        <ItemStyle Width="60px" HorizontalAlign="Center" />
                        <HeaderStyle Width="60px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn Display="false" UniqueName="WorkOrderNumber" EmptyDataText="--"
                        ConvertEmptyStringToNull="true" DataField="WorkOrderNumber" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Work Order Number" AutoPostBackOnFilter="true">
                        <ItemStyle Width="100px" HorizontalAlign="Center" />
                        <HeaderStyle Width="100px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn Display="false" UniqueName="ClientName" EmptyDataText="--"
                        ConvertEmptyStringToNull="true" DataField="ClientName" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Client Name" AutoPostBackOnFilter="true">
                        <ItemStyle Width="100px" HorizontalAlign="Center" />
                        <HeaderStyle Width="100px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn Display="false" UniqueName="ProjectName" EmptyDataText="--"
                        ConvertEmptyStringToNull="true" DataField="ProjectName" FilterControlWidth="60%"
                        CurrentFilterFunction="Contains" HeaderText="Project Name" AutoPostBackOnFilter="true">
                        <ItemStyle Width="100px" HorizontalAlign="Center" />
                        <HeaderStyle Width="100px" HorizontalAlign="Center" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn UniqueName="AnalytesKey" DataField="AnalytesKey" Visible="false" ConvertEmptyStringToNull="true" EmptyDataText="" />
                    <telerik:GridBoundColumn UniqueName="SamplesKey" DataField="SamplesKey" Visible="false" ConvertEmptyStringToNull="true" EmptyDataText="" />
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
<telerik:RadCodeBlock ID="rcb1" runat="server">
       <script type="text/javascript">
           function attachEventHandler(element, eventToHandle, eventHandler) {
               if (element.attachEvent) {
                   element.attachEvent(eventToHandle, eventHandler);
               } else if (element.addEventListener) {
                   element.addEventListener(eventToHandle.replace("on", ""), eventHandler, false);
               } else {
                   element[eventToHandle] = eventHandler;
               }
           }
           attachEventHandler(window, "onresize", function () {
               // the code you want to run when the browser is resized
               resizeGrid();
           });
           var offsetHeight = 113; 
           
           function GridCreatedwScroll(sender, args) {
               //rgWorkOrderDetails
               var scrollArea = sender.GridDataDiv;
               var dataHeight = getSize();
               scrollArea.style.height = dataHeight - offsetHeight + "px";
               if (sender.ClientSettings.Scrolling.UseStaticHeaders) {
                   var header = document.getElementById("<%= rgWorkOrderDetails.ClientID %>" + "_GridHeader");
                   scrollArea.style.height = dataHeight - offsetHeight - header.offsetHeight + "px";
               }
           }
           function resizeGrid() {
               //Resize each grid on this page on page load and on page resize                
               var gridHeight = getSize();
               var scrollArea = document.getElementById("<%= rgWorkOrderDetails.ClientID %>" + "_GridData");
               if (scrollArea) {
                   scrollArea.style.height = gridHeight - offsetHeight + "px";
               }
               if (document.getElementById("<%= rgWorkOrderDetails.ClientID %>" + "_GridHeader")) {
                   //Find and subtract header height
                   var header = document.getElementById("<%= rgWorkOrderDetails.ClientID %>" + "_GridHeader");
                   scrollArea.style.height = gridHeight - offsetHeight - header.offsetHeight + "px";
                   gridHeight = gridHeight - header.offsetHeight;
               }
               if (document.getElementById("<%= rgWorkOrderDetails.ClientID %>" + "_ctl01_Pager")) {
                   var pagerArea = document.getElementById("<%= rgWorkOrderDetails.ClientID %>" + "_ctl01_Pager");
                   scrollArea.style.height = gridHeight - offsetHeight - pagerArea.offsetHeight + "px";
               }
           }
       </script>
   </telerik:RadCodeBlock>

Tsvetoslav
Telerik team
 answered on 27 Jul 2010
1 answer
130 views
Hey guys, I am using the ExchangeSchedulerProvider classes from the Telerik live demos App_Code folder. I have figured out how to group by resources (using 2 conference room mailboxes that have anonymous access). Users credentials are being passed to the class alongside a comma separated list of the 2 conference room mailboxes. The Scheduler control nicely displays the 2 side by side. As they are used as resources in the Scheduler, they also show up correctly in the advanced form. I am having the following issue: When I create an appointment, the service successfully places the appointment in my calendar, but not in the conference room calendar used as resource for this appointment.

I guess what I need to do is figure out how to add RequiredAttendees to this appointment which will turn it into a meeting request...

Any help is greatly appreciated!

Sergiu
Sergiu
Top achievements
Rank 2
 answered on 27 Jul 2010
9 answers
264 views
Hi,

I implemented a cascading dropdown exactly like in this example multiplecomboboxes

The issue im facing is that the SelectedItem in ServerSide code is always the first item in the ComboBox. No matter which item is selected the SelectedItem is always the first item in the ComboBox. In the javascript though the selecteditem is captured correctly.

The values are confirmed to be unique values.

I am using the Radcontrols version 2010.1 519
Kindly advice how to resolve this issue.



Simon
Telerik team
 answered on 27 Jul 2010
2 answers
271 views
Hello,

I have a page with several asp:panels and a RadAjaxManager to tie them together. It was previously set up like this:

      <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="panel1">
                <UpdatedControls>
                      <telerik:AjaxUpdatedControl ControlID="panel1" />
                    <telerik:AjaxUpdatedControl ControlID="panel2" />
                    <telerik:AjaxUpdatedControl ControlID="panel3" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
 
It worked perfectly; when I changed a combobox in panel1 it would update the controls in all of the panels. However, I needed to utilize the AjaxRequest event of the AjaxManager and have it also update all of the panels, so I changed the AjaxManager to look like this:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="panel1" />
                <telerik:AjaxUpdatedControl ControlID="panel2" />
                <telerik:AjaxUpdatedControl ControlID="panel3" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="panel1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="panel1" />
                <telerik:AjaxUpdatedControl ControlID="panel2" />
                <telerik:AjaxUpdatedControl ControlID="panel3" />
            </UpdatedControls>
        </telerik:AjaxSetting>  
</telerik:RadAjaxManager>

When the AjaxRequest event fires, it can update the panels. However, the 'panel1' panel now only updates itself - the other panels do not get updated when panel1 fires an event. I have tried adding<telerik:AjaxUpdatedControl ControlID="RadAjaxManager1" /> in the UpdatedControls for both the manager and the panel, neither of which had any effect. Am I missing something?

Additional info: After the AjaxRequest event has been fired at least once, panel1 can now update any other panels which were updated in the AjaxRequest.

Using Q1 2010 .net 2.0 & IE7

Thank you
Josh
Top achievements
Rank 1
 answered on 27 Jul 2010
1 answer
104 views
Hi All,

I have problem showing data not in correct format in any telerik control. Like Telerik menu shown as below in textual format.
   
  • PG Admin
    • Search All Candidate
    • Search Verified Candidates and update status
  • Summary
  • Sign Out

I have also uploaded latest telerik DLL from my local system where it works fine but still problem persists. Pls. find attached for more info.

Regards

Yana
Telerik team
 answered on 27 Jul 2010
2 answers
210 views
I have a few questions about the RadAjax Panel, as I am new to my company and Telerik products.

In the declaration of a RadAjaxPanel, the "ClientEvents-OnResponseEnd" attribute makes a call to 2 JavaScript methods, shown here:

<telerik:RadAjaxPanel Width="100%" ID="resultsUpdatePanel" runat="server" ClientEvents-OnResponseEnd="resizeGrid(true);calcResultsLoad();"
            LoadingPanelID="RadAjaxLoadingPanel">
            <div id="divResultsGrid" runat="server" style="margin-left: 10px;">
                <eACoolGrid:CoolGridView ID="grdResults" runat="server" GridLines="None" AutoGenerateColumns="true"
                    AllowPaging="false" ShowFooter="false" EnableViewState="true" AllowSorting="true"
                    EmptyDataText="No Data to Display" DefaultColumnWidth="75px" Width="99%">
                </eACoolGrid:CoolGridView>
            </div>
        </telerik:RadAjaxPanel>

The grid inside is an IdeaSparx CoolGrid. I am trying to troubleshoot a bug, but because there are several layers to this, I am trying to narrow down where the problem lies.

For now, I would like to know the following 2 things:
1. Does the ClientEvents attribute support executing multiple JavaScript method calls like this (example in documentation only showed one)?
2. Does the content of the ClientEvents attribute get called only upon the first load of the control, or every time a callback causes the panel to update?

Depending on the answers, this may lead to other follow-up questions.

Thanks in advance for any help!

Ando Poore
Ando
Top achievements
Rank 1
 answered on 27 Jul 2010
3 answers
68 views
Microsoft JScript runtime error: 'this.get_columns()[...]' is null or not an object is the error if I try to hide a column and then bind the grid,

The binding is on the clientside.

Maria Ilieva
Telerik team
 answered on 27 Jul 2010
1 answer
85 views
I've changed the scope for the features within RadEditorMOSS_4_5_6. Now i want to make a new cab file. Could someone provide me a .ddf file?

Kind Regards.
Lini
Telerik team
 answered on 27 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?