Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
39 views
Environment: Windows 7, Visual Studio 2008 SP1, Telerik ASP.NET AJAX 2010 Q3.
If a RadGrid Control is placed in a RadAjaxPanel, all changes to the RadGrid in DESIGN VIEW will be lost. No problem if it is out of RadAjaxPanel. Why? Excuse me, I can't search any solutions in forum or google.
Pavlina
Telerik team
 answered on 26 Nov 2010
1 answer
122 views
Hi,

Currently, I am using the scheduler to schedule appointments to resources over a 12 hour period of the day.

I would like to control the width of the time column that runs down the left hand side.  Currently, I do not see any properties to control the width.  The width is pretty wide, limiting precious screen real estate.

Also, I see that the rowHeight property also controls the rowHeight of the resourceHeader row.  This is somewhat undesireable because I would like maximize the row heights of those rows that will have appointments displayed on them so that I can fit as much data in as possible.  However, when I increase the rowHeight, it also increases the height of the resource headers, which is unnecessary.  This again impacts screen real estate.

I am currently using Telerik.Web.UI v. 2008.3.1314.35

Has there been any advancements made to address these issues in newer releases or are there workarounds so help out?

Thanks!
Peter
Telerik team
 answered on 26 Nov 2010
2 answers
77 views
Hi Guys,

Scenarios: Using RadAjaxManager/Update Panel

Master Page
++++++++++++++++++++++++++++++
Content Page
-----------------------------------------------
Tab1                Tab2                  Tab3
================================
user ctrl1          user ctrl2          user ctrl3     (dynamic loading on tab selection, one control at a time)
================================

-----------------------------------------------
+++++++++++++++++++++++++++++
Like this
http://www.telerik.com/help/aspnet/ajax/ajxloadusercontrols.html

Working fine.

Problem:  when i switched to tab2 and see the view source of browser, it shows tab1(user ctrl1) HTML (old HTML not update html).
how to get the latest(updated) html of current tab(ctrl).


Please suggest the appropiate solution.

Regards
Ravi
mcamail2002@gmail.com


Yana
Telerik team
 answered on 26 Nov 2010
1 answer
106 views
Hi
We are using the RadEditor as a WYSIWYG to maintain our intranet site.
Often, there is a need for us to link to pages within the intranet. Is there a way for the HyperLink Manager to "connect" to a popup or something similar where we show our sitemap and when someone clicks on one of the items on the site map, it gets sent back to the hyperlink manager ?
Rumen
Telerik team
 answered on 26 Nov 2010
2 answers
98 views
I have a strange problem occurring on my grid.

My grid has a detailtable and expand/collapse button. It uses a setting FrozenColumnsCount="3" .
On initial load of the page, the grid shows a gap below the Horizontal scrollbar. Also, the frozen columns do not work on this initial load.
Please see attached screen shots.

I found if I removed  FrozenColumnsCount="3" from the grid, the problem does not occur. This might be a coincidence though??
I also found, if I click the expand button, the problem disappears.

This might be too hard to troubleshoot what is causing this, but I need some guidance as to a 'workaround'. As I said above, the problem disappears when clicking expand. Do you know what part of the expand code is fixing this?

Some background information. My grid is underneath a table. I have some javascript that calculates the grid's splitter height based on a parent container minus the table height. This appears to work successfully, but I thought I would share this in case it could be influencing the problem.
<telerik:RadSplitter ID="RadSplitterRoadRoadwayGrid" runat="server" Width="100%" Orientation="Vertical"
                BorderSize="0" VisibleDuringInit="false" OnClientLoad="setSplitterHeight">
                <telerik:RadPane ID="RadPaneRoadRoadwayGrid" runat="server" Scrolling="None" BorderWidth="0"
                    Width="100%">

// Calculates the height of the grid on the fly.
function setSplitterHeight(splitter, arg) {
    var myAjaxPanel = document.getElementById('<%= RadAjaxPanelRoadRoadway.ClientID %>');
    var panelHeight = myAjaxPanel.parentNode.parentNode.clientHeight;
    var myTable = document.getElementById('myTable');
    var tableHeight = myTable.clientHeight;
    splitter.set_height(panelHeight - tableHeight - 36);
    var pane = splitter.GetPaneByIndex(0);
    pane.set_height(panelHeight - tableHeight - 36);        
}

I am also applying column widths at runtime. The way I am doing this is shown in the following post:
http://www.telerik.com/community/forums/aspnet-ajax/grid/how-to-set-column-width-in-code-behind-for-detailtable.aspx

Thank you for any insight into this problem!
Kellie
Dimo
Telerik team
 answered on 26 Nov 2010
2 answers
110 views
Hide Columns of Grid after using advance binding... 
i am using data reader to bind data with grid and i want to hide some columns on the base of user given criteria on server side
Abdul
Top achievements
Rank 2
 answered on 26 Nov 2010
3 answers
230 views
Hello All,

I having a RadGrid and I'm executing below code to get all record in Grid,

GridItem

 

headerItem = grdADInbox.MasterTableView.GetItems(GridItemType.Header)[0];

 


It is giving total rows by, please find attached.

headerItem.OwnerTableView.DataSource

now I need to loop it and read that??

Please help.

Daniel
Telerik team
 answered on 26 Nov 2010
7 answers
504 views
I have the following situation: rad grid is updated when event is passed from a user control on the same page, while AJAX loading works fine, and reloads the grid properly, the RadAjaxLoadingPanel does not show.

here is the simplified example of the aspx page.

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
<%@ Register src="../../PageControls/Filters/TradeFilter.ascx" tagname="TradeFilter" tagprefix="uc1" %> 
 
 
<telerik:RadAjaxManager DefaultLoadingPanelID="RadAjaxLoadingPanel1" ID="RadAjaxManager1" runat="server"
    <AjaxSettings> 
        <telerik:AjaxSetting AjaxControlID="filterTrade"
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="grdTrades" LoadingPanelID="RadAjaxLoadingPanel1" /> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
    </AjaxSettings> 
</telerik:RadAjaxManager> 
<telerik:RadAjaxLoadingPanel BackColor="Gray" ID="RadAjaxLoadingPanel1" runat="server" Height="150px" Width="150px" Transparency="25"
        <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="border:0;" /> 
</telerik:RadAjaxLoadingPanel> 
 
<uc1:TradeFilter ID="filterTrade" runat="server" /> 
 
<telerik:RadGrid ID="grdTrades" runat="server" Skin="Web20" EnableViewState="true"
<MasterTableView  autogeneratecolumns="true" > 
</telerik:RadGrid> 
 

As i said, the grid loads properly using AJAX and not refreshing the page, but RadAjaxLoadingPanel1 is not displayed.
If I have grid that is refreshed by aspx control, it is displayed properly.






Tsvetina
Telerik team
 answered on 26 Nov 2010
3 answers
83 views
Hi, I'm with a problem when render a radwindow, for some users browsers (IE), not render the title bar with the close button. Yet clean the cookies and temporary files from the IE, but in some cases did resolved and in others no. What can to be the problem? The version of telerik is Q1 2008.
Georgi Tunev
Telerik team
 answered on 26 Nov 2010
4 answers
54 views
I have a grid that is using declarative client side binding to a aspx pagemethod to get data which works fine.

<telerik:RadGrid ID="rgDiscoveries"
                 runat="server"
                 AllowFilteringByColumn="True"
                 AllowSorting="true"
                 AllowPaging="True"
                 GridLines="None"
                 AutoGenerateColumns="true" Culture="en-GB">
  <ClientSettings>
    <DataBinding Location="Default.aspx" SelectMethod="GetDataAndCount" />
  </ClientSettings>
...

I have added a FilterTemplate to one column which has a ComboBox in which pulls a listing from a second page method.
<telerik:GridBoundColumn DataField="ScriptName"
                         HeaderText="Script Name"
                         UniqueName="scriptName"
                         DataType="System.String">
  <FilterTemplate>
    <telerik:RadComboBox ID="filterScriptName"
                         runat="server"
                         EmptyMessage="Select a script"
                         EnableLoadOnDemand="true"
                         ShowMoreResultsBox="true"
                         EnableVirtualScrolling="true"
                         OnClientSelectedIndexChanged="filterScriptName_SelectedIndexChanged">
      <WebServiceSettings method="GetScriptNames" Path="Default.aspx" />
    </telerik:RadComboBox>
  </FilterTemplate>
</telerik:GridBoundColumn>

The combobox is populated but I don't know how to trigger the grid to repopulate when the combobox SelectedIndexChanged event fires.
function filterScriptName_SelectedIndexChanged(sender,args) {
  var tableView = $find("<%= rgDiscoveries.MasterTableView.ClientID %>");
  tableView.filter("ScriptName", args.get_item().get_value(), "EqualTo");
  // What goes here??
}

Is there an example of this somewhere please?

Cheers,
Nick
Tsvetoslav
Telerik team
 answered on 26 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?