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

We've seem to hit an issue with the TooltipManager and loading dynamic content (by loading a user control when AjaxUpdate is called). The first time we attempt to show a tooltip (and get content), the AjaxUpdate method does not get called. If the tooltip then hides, and we attempt again - it works as expected.

Any suggestions?

Kori
Kori
Top achievements
Rank 2
 answered on 19 Aug 2010
7 answers
137 views

I am tring to save the user data for persisting grid settings to a sql database, using the exact code from the demo site.

protected void btnSaveSettings_Click(object sender, EventArgs e)
    {
        string user = UserSelection.SelectedValue;
        GridSettingsPersister SavePersister = new GridSettingsPersister(RadGrid1);
        Session[user] = SavePersister.SaveSettings();
        InfoImage.Visible = true;
        StatusLabel.Text = "Settings for " + user + " saved successfully!";
        btnLoadSettings.Enabled = true;
    }

 

SavePersister.SaveSettings() is of type String, so I don;t know what the problem is.

However, when I try to save the string into a sql varchar(max) field, it fails. Or rather, LoadSettings(string value) is failing.

Is anyone else having this problem? Is there example code of saving the settings to a DB?

BONUS QUESTION: I need to add a RESET button. Can you pass String.Empty into loadsettings?

Veli
Telerik team
 answered on 19 Aug 2010
2 answers
136 views
Hi

I am having a few troubles, i have never used the charts before.

I  have a radgrid that has a number of columns which is bound to an sqldatasource.

When i click on a row in the grid i want the chart to retrieve data from the database and populate a line chart.

Example.

Columns on the grid: PlayerCode, PlayerName. (Both of these fields are from the Players table)
When you click on the row the chart will populate a line graph by getting data from the Scores table using the PlayerCode field as a join.

Im just having trouble on how to set the parameters for the chart. Also is it best to use an update panel for the chart or use client side code.

Any help is appreciated.
Antony
Top achievements
Rank 1
 answered on 19 Aug 2010
2 answers
115 views
Hi all,

we're using radAjaxPanel (2010 Q2) and we're having a strange behaviour. Whenever we do a first post back it works ok. But if we do a second post back we get an "System.Web.UI.ViewStateException: Invalid viewstate."

Anyone have a clue??

thanks in advance!
Tiago
Sunil
Top achievements
Rank 1
 answered on 19 Aug 2010
3 answers
262 views
Hi,
I am using a RadListbox and I have set the skin to windows 7. However, I would also like to separtely set the backcolor of the selected item to a particular color. How can I do this?
Thanks ... Ed
Genady Sergeev
Telerik team
 answered on 19 Aug 2010
6 answers
553 views
Hi,

Is there any way that the height of the grid will self adjust to the screen resolution each user when it is filled automatically (AutoGenerateColumns="True")?

This is the code of my grid:

<telerik:RadGrid ID="grdReport" runat="server" AllowPaging="true" AutoGenerateColumns="True"
        BorderWidth="1px" GridLines="None"
                        OnPageIndexChanged="grdReport_PageIndexChanged" PageSize="10"
        onitemdatabound="grdReport_ItemDataBound" >
                                        <PagerStyle AlwaysVisible="true"
                                        FirstPageToolTip="<%$ Resources:WebDexon, FirstPage %>"
                                        LastPageToolTip="<%$ Resources:WebDexon, LastPage %>" Mode="NextPrevAndNumeric"
                                        NextPagesToolTip="<%$ Resources:WebDexon, NextPages %>"
                                        NextPageToolTip="<%$ Resources:WebDexon, NextPage %>"
                                        PagerTextFormat="<%$ Resources:WebDexon, PagerTextFormat %>" Position="Bottom"
                                        PrevPagesToolTip="<%$ Resources:WebDexon, PrevPages %>"
                                        PrevPageToolTip="<%$ Resources:WebDexon, PrevPage %>" Visible="true" />
                                        <clientsettings scrolling-allowscroll="true" scrolling-usestaticheaders="true" Resizing-AllowColumnResize="true" Resizing-ClipCellContentOnResize="false">
                                        <Scrolling AllowScroll="True" UseStaticHeaders="True"></Scrolling>
                                        </clientsettings>       
                                        <statusbarsettings loadingtext="<%$ Resources:WebDexon, Loading %>"
                                        readytext="<%$ Resources:WebDexon, Ready %>" />
                                        <mastertableview nodetailrecordstext="" nomasterrecordstext="" Height="90%">
                                        <HeaderStyle Width="200px" />
                                        </mastertableview>
                    </telerik:RadGrid>
edward ropero
Top achievements
Rank 1
 answered on 19 Aug 2010
2 answers
88 views
Greetings,

I am populating my footer using the following ItemDataBound Event:

protected void rGridReporting_ItemDataBound(object sender, GridItemEventArgs e)
        {
            var subList = (List<VendorSubTotal>)Session["SubList"];

            if (!(e.Item is GridFooterItem) || subList.Count == 0) return;

            var footer = (GridFooterItem)e.Item;

            var t855 = subList.Sum(v => v.Total855);
            var t856 = subList.Sum(v => v.Total856);
            var t810 = subList.Sum(v => v.Total810);
            var p855 = t855 / subList.Count;
            var p856 = t856 / subList.Count;
            var p810 = t810 / subList.Count;

            footer["vName"].Controls.Add(new LiteralControl("<div style='color: Black; font-weight: bold;'>Report Grand Totals:</div> "));
            footer["t855"].Controls.Add(new LiteralControl("<div style='color: Black; font-weight: bold;'>" + t855 + "</div> "));
            footer["p855"].Controls.Add(new LiteralControl("<div style='color: Black; font-weight: bold;'>" + p855 + "</div> "));
            footer["t856"].Controls.Add(new LiteralControl("<div style='color: Black; font-weight: bold;'>" + t856 + "</div> "));
            footer["p856"].Controls.Add(new LiteralControl("<div style='color: Black; font-weight: bold;'>" + p856 + "</div> "));
            footer["t810"].Controls.Add(new LiteralControl("<div style='color: Black; font-weight: bold;'>" + t810 + "</div> "));
            footer["p810"].Controls.Add(new LiteralControl("<div style='color: Black; font-weight: bold;'>" + p810 + "</div> "));
        }

The problem I am having occurs when I expand or collapse a column the event doesn't fire and my footer is not reloaded. When I re-order the fields of the grid or using paging the footer is reloaded just fine. Any suggestions would be most helpful.

Thanks!
Shane
Top achievements
Rank 1
 answered on 19 Aug 2010
2 answers
135 views
Issue: When adding a hyperlink using the hyperlink button in the telerik editor, the same group of documents comes up over and over when you try to navigate through the available pages

We are using MOSS 2007 and IE8. Screenshots are attached. Note the document names in browsetopage2 are the same as the ones in browsetopage1. The pages library has 670 pages in it.

Thanks for any advice you can offer - I will pass it on to our developer.
Tom
Tom
Top achievements
Rank 1
 answered on 19 Aug 2010
3 answers
123 views
Hi. We've implemented radtooltips in the scheduler by following the example here. We used a RadAjaxManagerProxy before we introduced the tooltips because we also use a custom edit/insert form and like the loadingpanel effect while waiting for the form to appear. Now that there is an updatepanel in the mix we've gotten rid of the ajaxsetting for the scheduler. Is there any way to ajaxify the scheduler (with radajaxloadingpanel) but not have it apply to the radtooltip? Thanks.

Daniel
Peter
Telerik team
 answered on 19 Aug 2010
3 answers
116 views
For some reason, when my radgrid is displayed with no data in it, the right-most columns (the number of columns varies) disappear from view.  I have the ClientSettings scrolling properites set (allowscroll="true", UseStaticHeaders="true", ScrollHeight="500px").  When I remove these settings, the described effect does not occur.  We do have a need to have the scrolling clientsettings enabled as we are showing a substantial amount of columns on the page.  Is this a known issue and is there a suggested fix to my problem?  Thanks.
Dimo
Telerik team
 answered on 19 Aug 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?