Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
944 views
hey guys,

    i want to filtering using combobox inside my radgrid without using sqldatasource
how can i do this?
Eyup
Telerik team
 answered on 27 May 2013
3 answers
136 views
Hi
HtmlChart Has a bug in this senario:
v2013.1.417.45

<%@ Page Language="C#" %>
 
<!DOCTYPE html>
 
<script runat="server">
    protected void btnDetail_Click(Object sender, EventArgs e)
    {
        double[] ValuesArray = { 26.6, 26.5, 25.8, 24.3, 24.9, 23.2, 22.0, 22.4, 22.9, 21.7, 21.2, 20.2 };
        RadHtmlChart1.DataSource = ValuesArray;
        AreaSeries area1 = new AreaSeries();
        RadHtmlChart1.PlotArea.Series.Add(area1);
        RadHtmlChart1.DataBind();
        MultiView1.SetActiveView(View2);
    }
     
    protected void btnBack_Click(Object sender, EventArgs e)
    {
        MultiView1.SetActiveView(View1);
    }
</script>
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
        <Telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="Panel1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="Panel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </Telerik:RadAjaxManager>
        <asp:Panel ID="Panel1" runat="server">
            <asp:MultiView ID="MultiView1" runat="server"
                ActiveViewIndex="0">
                <asp:View ID="View1" runat="server">
                    <asp:Button ID="btnDetail" runat="server" Text="Show Details" OnClick="btnDetail_Click" />
                    <div style="display:none;">
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="TextBox1" runat="server" />
                        <Telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" />
                    </div>
                </asp:View>
                <asp:View ID="View2" runat="server">
                    <asp:Button ID="btnBack" runat="server" Text="Back" OnClick="btnBack_Click" />
                    <Telerik:RadHtmlChart ID="RadHtmlChart1" runat="server" />
                </asp:View>
            </asp:MultiView>
        </asp:Panel>
    </form>
</body>
</html>

Danail Vasilev
Telerik team
 answered on 27 May 2013
1 answer
122 views
Hi,
I'm tryng to insert th following in the html view (dnn 6.2). mt.aspx generates a thumb of the picture.

<a rel="img_group" href="/Portals/0/figura2.jpg">
<
img class="thumbnail" style="float:left;" alt="" src="/mt.aspx?u=/Portals/0/figura2.jpg">
</
a>

but when saving the result is.

a rel="img_group" href="/Portals/0/figura2.jpg">
<img class="thumbnail" style="float:left;" alt="" src="/Portals/0/figura2.jpg">
</a>

I also tried to uncheck theremovescript option an to set the AllowScripts property on True. but no chance.

any idea?
Slav
Telerik team
 answered on 27 May 2013
1 answer
71 views
Hi,
      Is it possible to have two colors in a single bar in bar chart (one on top of the other)? Say, if there is a bar with Y value of 100, i want to show 50 of it in red and the top 50 in blue. Is it possible ?

Thanks.
Evgenia
Telerik team
 answered on 27 May 2013
1 answer
80 views
Hello

I want to upgrade our Asp.Net application to a current Telerik Ajax version

Our current production version is: 2012_2_607

The tested version is: 2013_1_417

In the old version, the focus-state of a comboBox was removed, after the user moved on to the next field, or even clicked somewhere else on the page

In the new version the state, once active, stays permanently. Even if there are more then one comboBoxes each one will have the focus-state active

Example:
In the attached image you can see three comboBoxes on a page
The first one was clicked, but nothing was selected (it should turn back to the normal state, like the third one)
In the second one, something was selected, still in focused-state
The third one is untouched

Only a AutoPostBack on the comboBox would make them to return to normal state, this wasn't necessary with the old Telerik version

Code for a comboBox:
<telerik:RadComboBox ID="ddlCountryPhone"
    runat="server"
    DataTextField="display"
    DataValueField="phone_code"
    MarkFirstMatch="true"
    AllowCustomText="False"
    Width="140"
    EmptyMessage="Translate:Country Code Watermark"
    CssClass="margin_down"
    ExpandAnimation-Type="None"
    CollapseAnimation-Type="None" />

How can I fix this behavior?

Kind regards
Jürgen
Nencho
Telerik team
 answered on 27 May 2013
1 answer
55 views

I am using Telerik Grid in my project.I set the "EnableHeaderContextMenu="true" to Hide/Show the Grid Columns. My requirement we are hiding some columns from Grid, I want to know which Columns are hided.




Andrey
Telerik team
 answered on 27 May 2013
7 answers
452 views
Hi,

I am having an issue with the GroupByField functionality of RadGrid where it basically cancels any previous sorting and forces the radgrid to sort based on the field it is grouped by.

Running a simple example like the one below will sort the grid based on the field specified in GroupByField, although It's not supposed to:
<radG:RadGrid runat="server" ID="rgrdtest" AutoGenerateColumns="true">
    <MasterTableView DataKeyNames="HierarchyId"  >
                        <GroupByExpressions >
               
                        <radG:GridGroupByExpression >
                            <SelectFields  >
                            <radG:GridGroupByField  FieldAlias="Title" FieldName="Title" FormatString=""  />
                            </SelectFields>
                            <GroupByFields>
                                 <radG:GridGroupByField  FieldName="HierarchyId" FieldAlias="HierarchyId" FormatString="" />
                            </GroupByFields>
                        </radG:GridGroupByExpression>
                   
                    </GroupByExpressions> 
    </MasterTableView>
</radG:RadGrid>

Is there a way to avoid that sorting so I can use the actual collection sort order ?

Thanks,
Andrei
Angel Petrov
Telerik team
 answered on 27 May 2013
3 answers
87 views
Hi Telerik,

I have a RadOrgChart which displays product details as a drill down. Our client asked whether the user can open a window to edit the details on clicking the nodes. Any such provision is available?

Thanks,
Lovella.
Shinu
Top achievements
Rank 2
 answered on 27 May 2013
3 answers
616 views
Hi,

Is it possible to execute a Javascript from server side? Seems foolish, I know one is client side and other is server side. Still I have a requirement to invoke a JavaScript based on some condition on a radbutton click?

Thanks for replying,
Robert.
Shinu
Top achievements
Rank 2
 answered on 27 May 2013
1 answer
337 views
Hi,

I'm trying to set the cursor to the given position (let's say X).I've tried to do this in many ways but still not found the solution... 

We need to change the content of RadEditor but cursor position should be the same. There's no problem in IE9, but in FF/Chrome/Opera the caret is moving back to the beginning of the document. Do you have any ideas?
Joana
Telerik team
 answered on 27 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?