Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
103 views
Is it possible to set a max height of a rad grid -- including the header, items and paging ?

Dimo
Telerik team
 answered on 30 Jul 2010
1 answer
62 views
Hi there,

The subject says it already, but the forum thread count is not working for TagCloud forum. Just posted a new thread and it's not reflected on the forums overview.

With regards,

Jeroen
Georgi Tunev
Telerik team
 answered on 30 Jul 2010
1 answer
110 views
Hi,

The sample in http://demos.telerik.com/aspnet-ajax/chart/examples/functionality/drilldown/defaultcs.aspx shows that's its possible to attach a click event on a bar chart, to achieve a drill-down effect.

Can this drill-down effect also be achieved with a Stacked Bar 100 chart, so that each part of the stacked bar drills down into a separate chart for that specific part of the bar?

Kind regards!
Morgan
Giuseppe
Telerik team
 answered on 30 Jul 2010
2 answers
100 views
Hello,

After I upgraded to the Q2 2010 .Net 3.5 release I am having some layout issues with RadDock and IE8. Chrome is fine.

Below two links to screenshot to show what I mean. The only custom style I applied to the docks is the bottom padding to keep them apart:

DIV.RadDock
{
    margin-bottom: 14px;
}

Screen from Chrome (all ok): http://www.opcg.com/telerik2.png
Screen from IE8 (glitsches): http://www.opcg.com/telerik1.png

Is this an known issue, or do you need me to send more code, give you access or something else maybe to determine whats wrong?

With regards,

Jeroen
Yeroon
Top achievements
Rank 2
 answered on 30 Jul 2010
1 answer
113 views
I have a RadGrid being populated in code by a DataTable (unsorted). I'm trying to create a custom pager in the grid that displays a DropDownList with some optional additional info.

If the user is sorting the Grid by Date, I'd like the pager to display the items like:

[Page 1 - 1-Jan-2010 to 17-Jan-2010]
[Page 2 - 17-Jan-2010 to 4-Feb-2010]
(etc)

I'm able to populate the pager, but the dates I retrieve back are the unsorted dates in my DataTable - not the ones sorted in the grid. I'm doing this in my pager (a custom Pager class that inherits Control) in the CreateChildControls method. I do this by iterating through the pages in the Grid's DataSource (as DataTable), and on each page I get the date for the first and last displayed rows.

Is there a way I can accomplish this and still let the Grid handle the sorting? I know an alternative would be to provide a DataView to the Grid as the DataSource (and then handle the sorting expressions manually), but it seems like there should be a better (less code) way of accessing this already-sorted data.

Thanks,
Stefan
Martin
Telerik team
 answered on 30 Jul 2010
6 answers
190 views
Hello Friends,


I created one new custom skin for grid from http://stylebuilder.telerik.com/New.aspx.Currently i am using telerik dll version is  2009.1.527.35 and dll size is 12.9 MB.When i apply custom skin in my application than pager and column filter icon is not display proper.
when i add  2010.1.519.35 (size is 15.4 MB) version dll in my application than pager and column filter issue is solved.
but i don't need to apply 2010.1.519.35 version dll and i need custom skin changes with proper layout.

What i will do?

Pls help me.
Thanks & Regards
Jignesh Patel


Kamen Bundev
Telerik team
 answered on 30 Jul 2010
9 answers
306 views

Hello.  I have a radgrid with a nestedviewtemplate set up so that another rad grid is shown when each row of data is expanded.  I have a button within each row on the grid inside the nestedviewtemplate, and that button needs to make a div visible that is outside of both radgrids.  However, I cannot for the life of me get the div to appear.  I currently have the following for the RadAjaxManager:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="pnlAddEdit" />
            </UpdatedControls>
        </telerik:AjaxSetting>
        <telerik:AjaxSetting AjaxControlID="RadGrid2">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid2" LoadingPanelID="RadAjaxLoadingPanel2" />
                <telerik:AjaxUpdatedControl ControlID="pnlAddEdit" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

Is this correct or do I need that second setting?  There is also a button on each row in the outer grid that makes the pnlAddEdit div visible.  The button on the outer grid does make the div appear, but the button on the inner grid does not.  What else do I need to do?
Tsvetoslav
Telerik team
 answered on 30 Jul 2010
2 answers
108 views
I have a template defined in the ASPX, and am adding items in code behind from LINQ object.
The template does not show the attributes. I've read some threads and am not really sure what is possible. Can you please tell me how to do this?


ASPX Page is like this:

 

 

 

 

<telerik:RadListBox ID="EmployeesComplianceLevel" runat="server" Width="100%" OnClientSelectedIndexChanged="EmployeesComplianceLevelChanged" style="margin-bottom: 10px">
    <ItemTemplate>
        <font color="black"><%# DataBinder.Eval(Container, "Text")%> </font>
    </ItemTemplate>
</telerik:RadListBox>

 

RadListBoxItem listitem1 = new RadListBoxItem();
listitem1.Value = "1";
listitem1.Attributes.Add("Text", "one");
EmployeesComplianceLevel.Items.Add(listitem1);
RadListBoxItem listitem2 = new RadListBoxItem();
listitem2.Value = "2";
listitem2.Attributes.Add("Text", "two");
EmployeesComplianceLevel.Items.Add(listitem2);
RadListBoxItem listitem3 = new RadListBoxItem();
listitem3.Value = "3";
listitem3.Attributes.Add("Text", "three");
EmployeesComplianceLevel.Items.Add(listitem3);
EmployeesComplianceLevel.DataBind();
foreach (RadListBoxItem item in EmployeesComplianceLevel.Items)
    item.DataBind();


So I think my listbox would have
"one"
"two"
"three"

But it is three rows that are blank.

How can I get the template working with the attributes?
Screenshot attached of three blank rows:

Yana
Telerik team
 answered on 30 Jul 2010
2 answers
514 views
Hi sir,

I am get and set combobox value in javascript.

But this javascript woking in firefox perfectly. bu not in internet exploere 8.

This javascript function is not calling in Internet Explorer.

my code is below:
-----aspx:
<script language="Javascript" type="text/javascript">
    function SiteChange() {
        var combo = $find("<%= cmbSite.ClientID %>");
        var selectedItem = combo.get_selectedItem();
        var selectedValue = selectedItem.get_value();
        var preval = document.getElementById("<%= hdnValue.ClientID %>");
        if (preval.value != selectedValue) {
            var ans = confirm('Are you sure change the site?')
            if (!ans) {
                preval.value = selectedValue;
                var item = combo.findItemByValue(selectedValue);
                if (item)
                    item.select();
            }
        }
    }
</script>
<asp:HiddenField ID="hdnValue" runat="server" Value="0" />
<telerik:RadComboBox ID="cmbSite" runat="server">
</telerik:RadComboBox>

----C# :
 cmbSite.Attributes.Add("onchange", "SiteChange();");

So please give me proper solution.

Thanks.

Kishor Dalwadi
Kishor Dalwadi
Top achievements
Rank 2
 answered on 30 Jul 2010
1 answer
191 views
What could trigger the file delete from the temp folder? So far i have this control set up.

<telerik:RadAsyncUpload
    ID="AsyncUploadMessageAttachments"
    TemporaryFileExpiration="04:00:00"
    CssClass="uploadPosition" runat="server" Width="250px">
</telerik:RadAsyncUpload>

When i watch the temp folder "~/App_Data/RadUploadTemp" After adding a file but before i cause a postback the files are deleted from the temp directory after about 5 seconds?
Yana
Telerik team
 answered on 30 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?