Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
Hi,

I build a query.
I set the datasource.selectcommand of my grid to my query
I bin my grid.

It works, and after a selection of a row I take some info inside the row selected and I redirect to another page.

I use the radGrid event:

radgrid1_ItemCommand

When I go back from the new page on the old with the Explorer navigator button everythink seems good, but if I click again on another row the event radgrid1_ItemCommand won't fire again.

I have to rebind my grid to have the events working again.
There is a way to avoid that?
I'm missing something?

thanks for help

Renato
Yavor
Telerik team
 answered on 28 Oct 2008
1 answer
113 views
Hi,

I have a composite control that has a toolbar and a grid in it. I was using onLoad method of Composite control to ajaxify toolbar with grid. But i have a problem:
Since the onLoad method of Toolbar(child control) runs after Composite Control's(parent control) onLoad method and Since i need to get some properties from Toolbar's viewstate before making ajax settings, I have to ajaxify my controls after OnLoad method of CompositeControl.

The question is: Now I use the OnPrerender method of CompositeControl to ajaxify my controls thru the AjaxManager Located on MasterPage. is it acceptable? is this approach cause any problem?

Kind Regards,
Caglar Ozkul
Nikolay Rusev
Telerik team
 answered on 28 Oct 2008
2 answers
66 views
I have a panelbar with 2 root items.  How can I get the control to always display the selected root item at the top of the control and push the unselected item down to the bottom of the control.  If this could be accomplished on the client side that would be great.
Rob
Top achievements
Rank 1
 answered on 28 Oct 2008
6 answers
139 views
I have a hierarch grid with more than 3 levels, i would like to select multi rows using code below. But my problem is whenever i have 3 or more levels the item.selected part doesnt seem to work anymore. Its just working for the first 2 levels.
protected void btnOk_Click(object sender, EventArgs e)
{

Cursor.Current = Cursors.WaitCursor;
/foreach (GridDataItem item in rdgLocation.MasterTableView.ItemsHierarchy){
if (item.Selected)
{

//do something;
}
}
i have tried replacing rdgLocation.MasterTableView.ItemsHierarchy by rdgLocation.MasterTableView and by rdgLocation.Items but it still doesnt work.
Does anyone know what im doing wrong.
Omlac
Top achievements
Rank 1
 answered on 28 Oct 2008
2 answers
108 views
I was wondering if there is a way to jump to a specific group in the grid. I have a grid that has paging turned on. The groups are spread across the pages and I would like to allow the user to jump to page X where Group 3 starts.
Thanks
Henry Derstine
Top achievements
Rank 1
 answered on 28 Oct 2008
2 answers
221 views

Hi,

I originally installed the latest Trial Version of RadEditor, but it broke all editing capability of my MOSS test site collection.  I removed the trial version and installed the Light Version which solved the editing problem, but now SpellCheck is broken.

 

The Spelling Form comes to life, but it seems to be checking the RadEditor contents with the HTML tags.

Any ideas how to fix this?

 

Thanks,

 

Craig

Lini
Telerik team
 answered on 28 Oct 2008
0 answers
125 views
Hi,
I derive my control from the tab control and when i try to add tabs to it, they do not show up...

 

this.Tabs.Clear ( );

 

 

foreach ( nsMy.TabEnum eTab

 

 

in System.Enum.GetValues ( typeof ( nsMy.TabEnum ) ) )

 

{

 

string sTab = this.GetTabResourceString ( eTab );

 

Telerik.WebControls.

Tab oTab

 

=

new Telerik.WebControls.Tab ( sTab );

 

 

this.Tabs.Add ( oTab );

 

oTab.Visible =

true;

 

oTab.Width =

this.Width;

 

oTab.Height =

this.Height;

 

}

The page renders with no tabs as follows...

 

 

<div id="SiteNavigationTabs" class="tabstrip RadTabStrip_Default " style="height: 52px;

 

width: 996px;">

 

 

 

 

 

<!-- 3.6.6 -->

 

 

 

 

 

 

<script type="text/javascript" src="/Holstein.Business.Web.Ui.Y2k9/WebResource.axd?d=w3G4nS8o0t2zayUSiMlufsMDJVIituibxCiGv_d-TD3cAdYf9bXCOF1_zwdfZ4jaqvgpkZdnJwg4y0NOygwBmKIPWeOaLYlMSTe-X9Sq7w-WyjLI9gJO5hreQg5Dy0Ya0&amp;t=633518902860000000"></script>

 

 

 

 

 

 

<span id="SiteNavigationTabsStyleSheetHolder" style="display: none;"></span>

 

 

 

 

 

 

<div class="levelwrap level1">

 

 

 

 

 

 

<ul>

 

 

 

 

 

 

</ul>

 

 

 

 

 

 

</div>

 

 

 

 

 

 

<input type="hidden" id="SiteNavigationTabs_Hidden" name="SiteNavigationTabs" /><script

 

 

 

 

 

 

type="text/javascript">window["SiteNavigationTabs"] = new RadTabStrip("SiteNavigationTabs");window["SiteNavigationTabs"].Initialize({"Enabled":true},{});</script>

 

 

 

 

 

 

</div>

 


E
Top achievements
Rank 1
 asked on 28 Oct 2008
2 answers
105 views
I am having a problem on one computer where when I display a RadChart inside of a dynamically loaded UserControl, the image representing the series are not displayed. As a matter of fact as the page renders I can see the labels added, and the Y scale but I am left with the "Loading image" inside of the chart. In some cases the X and Y axis are hidden as well even though I have seen them loaded. I have a button that sets the X and Y Scale to 1.0 to zoom out that if I click will cause the page to appear normally. Its only when I initially load the page ion the one server I have a problem.

I have tried programatically setting the RadChart1.ClientSettings.XScale to 1.0 and the 

RadChart1.ClientSettings.YScale = 1.0 in the code behind but it makes no difference. Is it possible there is a issue with something like the z-index or something. The project file is extremely large and has a lot of depebndencies otherwise I would send it directly.

Giuseppe
Telerik team
 answered on 28 Oct 2008
6 answers
250 views
I have a radcombo box as a template column in a radgrid. I have 2 columns in my combo box a name and a description. The description can be multiple lines. When the user hovers over a row, only the top line of the selected row is highlighted. I want the whole selected row to be highlighted. I tried adding a syle for hover, but cant get the 2 colors to match.
<style type="text/css">  
    .rcbHovered {  
        background-color:  Yellow !important;  
    }  
   </style>

 Here is my code for the combobox:
<telerik:RadComboBox  ID="package"  Width="220px"  runat="server"  OnSelectedIndexChanged="RadComboBoxSelectedIndexChanged"
                                MarkFirstMatch="True"  AllowCustomText="True" DataSourceID="ContentCentralPackages"   EmptyMessage="Select a package"
                              ExpandAnimation-Type="None"  CollapseAnimation-Type="None" AutoPostBack="true" AppendDataBoundItems="false"
                                DataTextField="package_name" DataValueField="package_cd" DropDownWidth="650px"
                               Skin="Office2007"  SelectedValue='<%# Bind("package_cd") %>'  
                                EnableVirtualScrolling="True" HighlightTemplatedItems="True">
                             <ExpandAnimation Type="None" />
                             <CollapseAnimation Duration="200" Type="None" />
                             
                          <HeaderTemplate>
                           <table style="width: 620px; text-align: left">
                            <tr>
                                <td style="width: 170px;">
                                    Package Name
                                </td>
                                <td style="width: 450px;" >
                                    Description
                                </td>
                               
                            </tr>
                          </table>
                        </HeaderTemplate>
                    <ItemTemplate>
                        <table style="width: 620px; text-align: left">
                            <tr>
                                <td style="width: 170px;" valign="top">
                                    <%# DataBinder.Eval(Container.DataItem, "package_name") %>
                                </td>
                                <td style="width: 450px;">
                                    <%# DataBinder.Eval(Container.DataItem, "descriptions") %>
                                </td>
                                
                            </tr>
                        </table>
                    </ItemTemplate>
            
                          </telerik:RadComboBox>
Alex Gyoshev
Telerik team
 answered on 28 Oct 2008
2 answers
182 views
I was following your posted example on adding a FilterAll button to the GridHeaderTemplate.  I was wondering if it is possible to add a button the the FilterMenu instead that would perform the same functionality?

I can't seem to find a way to add an item to the Gridfilter menu.

Thanks!
Richard
Top achievements
Rank 2
 answered on 28 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?