Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
205 views
I have a tree where the nodes can be expanded/collpsed.  (This is done client side)  I would like it if the root of the tree was not expandable/collapsible.  Is it possible to remove the expand/collapse triangle next to the root, but keep all of the other nodes the same?

Thanks,
Ken
Kate
Telerik team
 answered on 16 Dec 2013
1 answer
87 views
I am using Telerik.Web.UI.dll version 2010.2.929.20 in an ASP.NET 3.5 application, viewing it in Internet Explorer 8.  I have a RadGrid with column filters.  For my date columns, the filters contain a RadDatePicker for selecting filter parameters.  My problem is with the little calendar icon that opens the date picker. 

I have a large RadGrid on the page, both tall and wide, that causes the browser to show horizontal and vertical scroll bars.  So I can scroll the page around to see all of the grid.  I also have a header at the top of the page that does not scroll.  It's in a fixed position at the top no matter where the rest of the page is scrolled.  However, when I scroll the page up the date picker icon displays on top of this header.  Everything scrolls under the header and is invisible, but the date picker icons appear on top.  Maybe the Z index is higher than all my other elements?  I tried giving my header a large z-axis number, but that hasn't worked. 

I just tried it in FireFox version 26.0 and it works fine there.  Perhaps if this is just a bug on one version of IE I'll let it go, but if anyone has any suggestions to fix it there I'd appreciate it. 

Tom
Kostadin
Telerik team
 answered on 16 Dec 2013
1 answer
86 views
Hi,
is it possible to hide the filtering item row when the grid is in edit mode? 
Princy
Top achievements
Rank 2
 answered on 16 Dec 2013
8 answers
331 views
Hi,

I have a problem with RadTextBox, version 2012.3.1113.40. I cannot paste into the textbox when setting TextMode="MultiLine" and  MaxLength. This issue happens with IE 10 only.

Thanks.
Maria Ilieva
Telerik team
 answered on 16 Dec 2013
2 answers
124 views
Hi! 

Anyone know if I need to specify some property specifies to run the automatic calculation of the position of notifications?
My notifications are on the MasterPage, when I invoke the notification as it overlaps the previous one.
I wish the notifications is displayed as in the example:
http://demos.telerik.com/aspnet-ajax/notification/examples/overview/defaultcs.aspx

thak you.
Sandro Pinheiro.

SANDRO
Top achievements
Rank 2
 answered on 16 Dec 2013
1 answer
48 views
Hi,
how to set the pager at the top of the grid?
Shinu
Top achievements
Rank 2
 answered on 16 Dec 2013
4 answers
129 views
I have a RadAsyncUpload control embedded inside a CommandItemTemplate, we are upgrading from RadUpload. My problem is that the button appears in the command strip of the grid, but clicking the button does not bring up the FileOpen dialog. As far as I can tell, nothing happens at all. We are subscribed to the OnItemCommand event but we don't land there when clicking the button. This works OK with the RadUpload control.
Any suggestions? Code snippet below:

<CommandItemTemplate>
                        <table class="buttonsTable">
                        <tr>
                        <td class="uploadButton">
                            <telerik:RadAsyncUpload ID="ulIosRedemptionInfo" runat="server"
                                AllowedFileExtensions="xls"
                                MaxFileInputsCount="1"
                                ControlObjectsVisibility="None"
                                OnClientFileUploaded="clientFileUploaded"
                                OnFileUploaded="dgdRedemptionFileUploaded">
                                <Localization Select="Add" />
                            </telerik:RadAsyncUpload>
                            <%--                          
                            <telerik:RadUpload AllowedFileExtensions=".xls" ID="ulIosRedemptionInfo"
                                runat="server" ControlObjectsVisibility="None"
                                OnClientFileSelected="iosRedemptionCodeFileSelected">
                                <Localization Select="Add" />
                            </telerik:RadUpload>
                            --%>
                        </td>
                        <td>
                            <asp:LinkButton ID="lbtnRefresh" runat="server" OnClick="lbtnRefresh_Click" Visible="false"><img style="border:0px;vertical-align:middle;position:relative;padding:0;" alt="" src="<%=this.ResolveUrl("~/Images/toolbar/refresh_grey_16.png")%>" /> Refresh</asp:LinkButton
                            <asp:LinkButton ID="lbtnInspect" runat="server" OnClientClick="showInspectWindow(); return false;" Visible="false"><img style="border:0px;vertical-align:middle;position:relative;padding:0;" alt="" src="<%=this.ResolveUrl("~/Images/toolbar/inspect.png")%>" /> Inspect</asp:LinkButton>                                
                            <asp:LinkButton ID="lbtnDelete" runat="server" Visible="false" OnClick="lbtnDelete_Click"
                                OnClientClick="return blockConfirm('Are you sure you want to delete these purchase orders?', event, 450, 100,'','Application Policy > Redemption Code');"><img style="border:0px;vertical-align:middle;position:relative;padding:0;" alt="" src="<%=this.ResolveUrl("~/Images/toolbar/delete.png")%>" /> Delete</asp:LinkButton>
                        </td>
                        </tr>
                        </table>
                        </CommandItemTemplate>
Hristo Valyavicharski
Telerik team
 answered on 16 Dec 2013
1 answer
70 views
Hi 
how to identify if the grid is in insert or editmode for inplace edit in the ItemCreated event?
Shinu
Top achievements
Rank 2
 answered on 16 Dec 2013
3 answers
152 views
Hello,
    I would like to use a simple version of the RadLinearGauge that just shows the bar without all the scale ticks and stuff. This is easy enough to do by setting the visibility of all the bits I don't want to false. I need three of these on my page, one with a green bar, one with an amber bar and one with a red bar. The snag is that I cannot see a way to change the colour of the bar.

One glimmer of hope was offered in the Telerik demo (here) because when you switch skins (e.g. to "Glow"), then the colour of the bar does change. So I thought I would build three skins using the Telerik Visual Style Builder, but the Gauge control doesn't appear in the list of controls to skin.

Can anybody help?
Danail Vasilev
Telerik team
 answered on 16 Dec 2013
1 answer
826 views
I have problem inserting and updating Radgrid from code behind manually 
In Inserting I cannot get the data from grid using ExtractValuesFromItem
In updating I get the old data not the updated data using ExtractValuesFromItem also 
here's the source code

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="grdMain">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdMain"></telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
   <telerik:RadGrid ID="grdMain" runat="server" OnInsertCommand="grdMain_InsertCommand" OnUpdateCommand="grdMain_UpdateCommand" >
            <MasterTableView EditMode="InPlace" CommandItemDisplay="Top"  AutoGenerateColumns="False" >
            <Columns>
                 <telerik:GridBoundColumn  DataField="Id" DataType="System.Int32"
                   HeaderText="Id" Visible="true" UniqueName="Id" ReadOnly="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="MinValue"
 
DataType="System.Int32"
                    FilterControlAltText="Filter MinValue column"
 
HeaderText="MinValue"
                    SortExpression="MinValue" UniqueName="MinValue">
                      <ColumnValidationSettings
 
EnableRequiredFieldValidation="true" RequiredFieldValidator-ControlToValidate="">
                        <RequiredFieldValidator ForeColor="Red"
 
ErrorMessage="*"></RequiredFieldValidator>
                      </ColumnValidationSettings>
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="MaxValue"
 
DataType="System.Int32"
                    FilterControlAltText="Filter MaxValue column"
 
HeaderText="MaxValue"
                    SortExpression="MaxValue" UniqueName="MaxValue">
                   <ColumnValidationSettings
 
EnableRequiredFieldValidation="true">
                        <RequiredFieldValidator ForeColor="Red"
 
ErrorMessage="*"></RequiredFieldValidator>
                      </ColumnValidationSettings>
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ResultDate"
 
DataType="System.DateTime"
                    FilterControlAltText="Filter ResultDate column"
 
HeaderText="ResultDate"
                    SortExpression="ResultDate" UniqueName="ResultDate">
                      <ColumnValidationSettings
 
EnableRequiredFieldValidation="true">
                        <RequiredFieldValidator ForeColor="Red"
 
ErrorMessage="*"></RequiredFieldValidator>
                      </ColumnValidationSettings>
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ResultValue"
 
DataType="System.Int32"
                    FilterControlAltText="Filter ResultValue column"
 
HeaderText="ResultValue"
                    SortExpression="ResultValue" UniqueName="ResultValue">
                      <ColumnValidationSettings
 
EnableRequiredFieldValidation="true">
                        <RequiredFieldValidator ForeColor="Red"
 
ErrorMessage="*"></RequiredFieldValidator>
                      </ColumnValidationSettings>
                </telerik:GridBoundColumn>
                 <telerik:GridEditCommandColumn uniqueName="EditCommandColumn"></telerik:GridEditCommandColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>


protected void grdMain_InsertCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
    {
        AnalyzerResultBO _BO = new AnalyzerResultBO();  //Business object
        GridEditableItem editedItem = e.Item as GridEditableItem;
        Hashtable InputValues = new Hashtable();
        //The GridTableView will fill the values from all editable columns in the hash
          e.Item.OwnerTableView.ExtractValuesFromItem(InputValues, editedItem);
 
        _BO.MaxValue = int.Parse(InputValues["MaxValue"].ToString());
        _BO.MinValue = int.Parse(InputValues["MinValue"].ToString());
        _BO.ResultValue = int.Parse(InputValues["ResultValue"].ToString());
        _BO.ResultDate = InputValues["ResultDate"].ToString();
 
 
    }
 
    protected void grdMain_UpdateCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
    {
        AnalyzerResultBO _BO = new AnalyzerResultBO(); //Business Object
        GridEditableItem editedItem = e.Item as GridEditableItem;
        Hashtable InputValues = new Hashtable();
        //The GridTableView will fill the values from all editable columns in the hash
        e.Item.OwnerTableView.ExtractValuesFromItem(InputValues, editedItem);
 
        _BO.MaxValue = int.Parse(InputValues["MaxValue"].ToString());
        _BO.MinValue = int.Parse(InputValues["MinValue"].ToString());
        _BO.ResultValue = int.Parse(InputValues["ResultValue"].ToString());
        _BO.ResultDate = InputValues["ResultDate"].ToString();
    }


Princy
Top achievements
Rank 2
 answered on 16 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?