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

How can I customize text for my combobox with EnableCheckAllItemsCheckBox ="true". I want to display No Selection when user unchecks check All checkbox.

Thanks in advance,
RJ 
RJ
Top achievements
Rank 1
 answered on 03 Aug 2012
6 answers
424 views
I have a radgrid and in the edit template form I have a table which contains textboxes,dropdowns, raddatepickers
Textboxes are binding data fine, but the raddate pickers , dropdowns are not binding data properly,
Can you look at the below code and let me know what am I doing wrong?
DBselectedDate is not binding date at all

<td align="left">
<telerik:RadDatePicker ID="txtEditEndDate" runat="server" DbSelectedDate='<%# Bind("EndDate") %>'>
<Calendar ID="Calendar4" runat="server" UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x">
<SpecialDays>
<telerik:RadCalendarDay Repeatable="Today">
<ItemStyle BackColor="Pink" />
</telerik:RadCalendarDay>
</SpecialDays>
</Calendar>
</telerik:RadDatePicker>

Also here is my dropdownlist code
<asp:DropDownList ID="ddlEditMember" runat="server" CssClass="genericControl"  SelectedValue='<%# Bind("Member") %>'  />

If I add selectedvalue to the dropdownlist and click on edit button on the rad grid the edit form is not even showing up. when I delete selectedValue then only I can see the edit form and the text boxes with proper data.

What Am I doing wrong? (All the data for the dropdowns and raddatepickers are binding from database)


Sima
Top achievements
Rank 1
 answered on 03 Aug 2012
2 answers
129 views
Radformdecorator seems does not work well in my newly updated Chrome 21.0.1180.60 m. My Telerik.Web.UI version is 2012.2.703.40

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="Demo.test" %>
 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <br />
    <telerik:RadScriptManager runat="Server" ID="RadScriptManager1" />
    <telerik:radformdecorator id="FormDecorator1" runat="server" DecoratedControls="all" Skin="Web20"></telerik:radformdecorator>
 
 
    <input type="button" value="Cancel"/>
    <br />
        <asp:DropDownList ID="DropDownList2" runat="server" style="width:250px">
                                                    <asp:ListItem>AAA</asp:ListItem>
                                                    <asp:ListItem>BBB</asp:ListItem>
                                                    <asp:ListItem>CCCC</asp:ListItem>
                                                    <asp:ListItem>DDDD</asp:ListItem>
                                                    <asp:ListItem>EEEE</asp:ListItem>
                                                    </asp:DropDownList>
     
    </div>
    </form>
</body>
</html>
envy kok
Top achievements
Rank 1
 answered on 03 Aug 2012
2 answers
171 views
Hello,
I've a strange beahaviour with the RadGrid when I set UseStaticHeaders to True. I set this parameter to True because I want that the header remain fix when I scroll the rows with the vertical scrollbar..
I need to resize the columns too, so when I resize a column the horizontal scroll bar can be shown. When I scroll the Grid with the horizonal scrollbar I have a strange issue only with Chrome Browser. Internet Explorer and Firefox works fine.

As you can see in the attachments, in Chrome the header remain fix and when I scroll horizonally the content of the grid, the header doesn't scroll. In Firefox and Internet Explorer all works fine.

How can I fix the problem? I've try to see if I can override some CSS class, but I think that the header scrolling is made by javascript when UseStaticHeaders  is set to true. Is it correct?

Thanks for the help!
Pavlina
Telerik team
 answered on 03 Aug 2012
0 answers
86 views
I have seen the tutorials that allow for this to happen.  Mine is a slightly different request.

I have a grid and I need to open a radwindow on double click of a row.  This I have working.  The problem I am having is populating the form with data.
This is my grid
<telerik:RadGrid ID="gvHelpdesk" runat="server" OnNeedDataSource="gvHelpdesk_NeedDataSource"
                AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CellSpacing="0"
                GridLines="None">
                <MasterTableView DataKeyNames="HelpdeskId">
                    <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                    <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </RowIndicatorColumn>
                    <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </ExpandCollapseColumn>
                    <Columns>
                        <telerik:GridBoundColumn DataField="TicketNumber" FilterControlAltText="Filter ticketnumber column"
                            HeaderText="Ticket No" UniqueName="ticketnumber">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="AssetType" FilterControlAltText="Filter assetnumber column"
                            HeaderText="Asset No" UniqueName="assetnumber">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="DateLogged" FilterControlAltText="Filter datelogged column"
                            HeaderText="Date Logged" UniqueName="datelogged">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="AssignedEmployee" FilterControlAltText="Filter AssignedEmployee column"
                            HeaderText="Assigned" UniqueName="AssignedEmployee">
                        </telerik:GridBoundColumn>
                    </Columns>
                </MasterTableView>
               <ClientSettings>
                <Selecting AllowRowSelect="true" />
                <ClientEvents OnRowDblClick="RowDblClick" />
                <ClientEvents OnRowClick="RowClick" />
            </ClientSettings>
                <FilterMenu EnableImageSprites="False">
                </FilterMenu>
            </telerik:RadGrid>
this is my JS
function UpdateHelpdesk(helpdeskid) {
            var oWnd = $find("<%=UpdateHelpdesk.ClientID%>");
            oWnd.setUrl(oWnd.get_navigateUrl());
            oWnd.show();
        };
 
        function RowDblClick(sender, eventArgs) {
 
            UpdateHelpdesk(eventArgs.getDataKeyValue("HelpdeskId"));
        }
This is the code behind that calls in a Helpdesk ticket object filled with a sproc
protected void UpdateHelpdesk_Load(object sender, EventArgs e)
        {
            UpdateHelpdesk.DataBind();
        }
 
        protected void UpdateHelpdesk_DataBinding(object sender, EventArgs e)
        {
            if (Request.QueryString["HelpdeskId"] != null)
            {
                HelpdeskTicket ticket = PageAccess.GetHelpdeskTicketByHelpdeskId(Request.QueryString["HelpdeskId"]);
                txtUpdateEngineerNotes.Text = ticket.HelpdeskNotes;
            }
        }

I would be most grateful if someone could point me in the right direction.  I don't really want to have an external window based on another page.  Ideally I would like to to get the ID from the row double clicked then open the window that also resides on the same page then populate the window on load.

Is this possible

Many thanks
Simon
Top achievements
Rank 1
 asked on 03 Aug 2012
3 answers
98 views
Hi,
My problem is when I resize the page where I placed my radgrid control : I have 9 colums and I want that some of them are at fixed size while others can resize.
I fixed the sizes of the columns I want at fixed size and also I set Resizable="False" for the column width and HeaderStyle-Wrap="False" ItemStyle-Width="30px"  and also HeaderStyle Width="30px".
Under MasterTableView properties I tried with TableLayout="Auto" and also  TableLayout="Fixed" with  the same results

In The colums that can resize I didn' t set the same properties, but the behaviour doesn' t change : All the colums resizes when I resize the page.

My goal is that the colums at fixed size don't get wider, while the others can resize
Pavlina
Telerik team
 answered on 03 Aug 2012
2 answers
80 views
How can I hide the Undo button on the RadSpell dialog box?  My client does not want users to be able to undo.

Thanks,

Sean M. Severson
Sean Severson
Top achievements
Rank 1
 answered on 03 Aug 2012
1 answer
145 views
I'm wanting to change the font & color for the axis label for a line chart. How do I go about doing that? I attempted to place a CssClass on the RadHTMLChart control but that didn't have any effect. Any help would be greatly appreciated.
Marin Bratanov
Telerik team
 answered on 03 Aug 2012
3 answers
119 views
Hi, I want to buy your product but I am making test before
So, I try to use this control (radeditor) and happend this error.
I dont know what this means.

System.InvalidOperationException: 'C:\inetpub\wwwroot\ferramentas\App_Data\RadSpell\en-US.tdf' is missing. The spellchecking functionality of RadEditor requires a dictionary file named 'en-US.tdf' in the 'C:\inetpub\wwwroot\ferramentas\App_Data\RadSpell\' folder. Please, ensure that all needed dictionary files from the original RadEditor distribution are present. See the help for more details Controls > RadEditor > Spellchecker

Can you help me?
Rumen
Telerik team
 answered on 03 Aug 2012
1 answer
92 views
Hello, when I try to use RadSheduler always show a border top in days header.
How I do to remove this line.
PS.: Look my example in attached file.

Best Regards
Plamen
Telerik team
 answered on 03 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?