Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
141 views
Could it be possible to change filtering template on specific columns server-side on autogenerated columns?
I use radgrid in a composite server control. i have a custom filter column extended from GridBoundColumn. I'd like to replace default filter template (textbox and a button) with my own on specific columns.
As i can see from your examples, this can be set declaratively or when the column autogeneration is false on pageload event. Should I override some method when the default filters are applied to the columns?
Iana Tsolova
Telerik team
 answered on 19 Jan 2010
4 answers
177 views
Hello,

I'm creating dynamically some web users controls which contains a RadDatePicker. I'm using the DayRender event to disallow weekend selection. When doing full postback everything works fine, but If I use ajax(AjaxPanel or AjaxManager) I can select the weekend.

sample:
 <telerik:RadAjaxPanel runat="server" ID="panel1"
         <telerik:RadDatePicker runat="server" Visible="false" ID="dp1"
         <Calendar OnDayRender="dayRender"></Calendar> 
         </telerik:RadDatePicker> 
         <asp:Button runat="server" ID="btn1" OnClick="btn1_Click" /> 
</telerik:RadAjaxPanel> 
 protected void btn1_Click(object sender, EventArgs e) 
        { 
            dp1.Visible = true
        } 
         
        protected void dayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e) 
        { 
            if (e.Day.IsWeekend) 
            { 
                e.Day.IsSelectable = false
                dp1.Calendar.SpecialDays.Add(e.Day); 
            } 
        } 

Am I missing something?

Best regards,

Laurent
Pavlina
Telerik team
 answered on 19 Jan 2010
1 answer
148 views
 How do I remove all tooltips from the calendar? I have found the following properties. But cannot find the one to remove tooltip from coloumn headers. (Monday, thuesday etc.)

ShowDayCellToolTips
="false"
FastNavigationNextToolTip=""
FastNavigationPrevToolTip=""
NavigationNextToolTip=""
NavigationPrevToolTip=""
Dimo
Telerik team
 answered on 19 Jan 2010
4 answers
141 views
Hi

What event is fired after a drag and drop occurs? If I want to save the new date for the appointment.

/Mathias
Charles Henderson
Top achievements
Rank 1
 answered on 19 Jan 2010
4 answers
105 views
I have a page with tabs and each tab has a usercontrol.
On some of the user controls I have a grid. I noticed that on row selection , the grid header shifts to the left a little bit and then adjusts back to the original position.

If my grid is outside the user control I don't notice any visible shift.

Any help on this?
Dimo
Telerik team
 answered on 19 Jan 2010
1 answer
124 views
I have a radWindow that opens modal from the parent page and is about 500px X 500px.
Is there a way to open a new radwindow from the (already) opened/modal radwindow that is larger than the 500px X 500px?
I dont even care if it is modal or not, but it would be nice. 
Basically, my problem is that once I open the first radWindow, the next radWindow that I open from inside the radWindow is too large to fit in the 500px X 500px window, and I would like it to open "outside" the first RadWindow, not inside it.
Man.. are you still with me? Is there a way to do this?
Thanks
Georgi Tunev
Telerik team
 answered on 19 Jan 2010
4 answers
110 views
Hello,

My grid has many columns and few records, I use ClientSettings to enable Scrolling but it takes a fixed heigth not very nice when there are only one or 2 records.

Is there a way to shrink the grid heigth to the lower value required by the number of rows ?
Should be the min of max grid Height and height required to display actual rows.

Thanks for help.
CS
Dimo
Telerik team
 answered on 19 Jan 2010
5 answers
155 views
I have a grid with the "Office2007" skin on it. Styling works very fine in all aspects except the grouping images.
Namely, when I drag a column to use it as being grouped by, on top I get the title of the column, and next to it two HTML buttons, first one for sort, and second one to ungroup. The problem is that both come without an image as opposed to any other item of the grid (filter, expand/collapse, column sort) whose images are properly displayed.
I can't seem to find the property to attach declaratively an image for the grouping buttons. Please help!

In addition, how can I cancel the sort of a column, for example after I have clicked sort ascending and descending once, and then the third time I would like that the column goes back to the normal, "sortless" arrangements? 

Thank you so much.

lektira
Dimo
Telerik team
 answered on 19 Jan 2010
3 answers
151 views
Hello,

I just want to know, Is there any option for multiple filtering at a time. Ex: i want filter for datetime column and id column at the same time...

where datetime='1/12/2010' and ID=2;

in this way using telerik radgrid???
Pavlina
Telerik team
 answered on 19 Jan 2010
0 answers
121 views
Hi.
I have the Grid Like This with Check box.
here i want the Total of checked rows "CheckAmount".checkamount is one column in the grid
i am able to getting the Total in single page(grid page=1).
i am not able to getting the total of "CheckAmount" in multiple pages like (Grid Page=1 and Page=2 )
when i go to the second page i am not getting the 1st page Total.
<telerik:RadGrid ID="rgv" runat="server" AllowMultiRowEdit="True" 
                AllowMultiRowSelection="True" AllowPaging="True" AutoGenerateColumns="False" 
                EnableTheming="False" GridLines="None" Skin="trublue"  EnableEmbeddedSkins="False" 
                Style="position:static; margin-left:25px;" Width="740px" PageSize="10"
                <MasterTableView> 
                    <Columns> 
                        <telerik:GridTemplateColumn UniqueName="TemplateColumn"
                            <ItemTemplate> 
                                <asp:CheckBox ID="CheckBox1" runat="server" AutoPostBack="true" OnCheckedChanged="CheckBox1_CheckedChanged1" /> 
                            </ItemTemplate> 
                            <HeaderTemplate> 
                                <asp:Label ID="Label3" runat="server" Text="select"></asp:Label> 
                            </HeaderTemplate> 
                        </telerik:GridTemplateColumn> 
                        <telerik:GridBoundColumn DataField="id" DataType="System.Int32" HeaderText="ID" UniqueName="id" 
                            Visible="False"
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="ClientID" HeaderText="ClientID" SortExpression="uN" 
                            UniqueName="UserName" Visible="False"
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="BankID" HeaderText="BankID" SortExpression="pwd" 
                            UniqueName="p1" Visible="False"
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="CheckNumber" HeaderText="CheckNumber" SortExpression="CP" 
                            UniqueName="CP"
                            <HeaderStyle HorizontalAlign="Center" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="CheckDate" HeaderText="CheckDate" SortExpression="mail" 
                            UniqueName="Email"
                            <HeaderStyle HorizontalAlign="Center" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="CheckReceivedOn" HeaderText="CheckReceivedOn" 
                            SortExpression="SQ" UniqueName="SQ"
                            <HeaderStyle HorizontalAlign="Center" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="CheckAmount" HeaderText="CheckAmount" SortExpression="SA" 
                            UniqueName="CheckAmount"
                            <HeaderStyle HorizontalAlign="Right" /> 
                            <ItemStyle HorizontalAlign="Right" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="DepositeDate" HeaderText="DepositeDate" SortExpression="SA" 
                            UniqueName="DD" Visible="False"
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="InvoiceNo" HeaderText="InvoiceNo" SortExpression="SA" 
                            UniqueName="INO"
                            <HeaderStyle HorizontalAlign="Center" /> 
                        </telerik:GridBoundColumn> 
                    </Columns> 
                    <EditFormSettings> 
                        <EditColumn UniqueName="EditCommandColumn1" CancelImageUrl="trublue/Grid/Cancel.gif" EditImageUrl="trublue/Grid/Edit.gif"  
                        InsertImageUrl="trublue/Grid/Update.gif" UpdateImageUrl="trublue/Grid/Update.gif"
                        </EditColumn> 
                    </EditFormSettings> 
                </MasterTableView> 
                 
                <FilterMenu EnableTheming="False" EnableEmbeddedSkins="False">      
                </FilterMenu> 
                <ClientSettings EnableRowHoverStyle="True"
                    <Selecting AllowRowSelect="True" /> 
                </ClientSettings> 
                <HeaderContextMenu EnableEmbeddedSkins="False"
                </HeaderContextMenu> 
            </telerik:RadGrid> 
 I am using this Code to Get the checked rows total "CheckAmount".
Protected Sub CheckBox1_CheckedChanged1(ByVal sender As Object, ByVal e As EventArgs) 
        Dim CheckBox1 As New System.Web.UI.WebControls.CheckBox 
        Dim count, crcount, f1 As Integer 
        Dim mainval, tempval As String 
        Me.txttotal.Visible = True 
        Me.lbltotalamt.Visible = True 
        txttotal.Text = 0 
        'rgv.ExportSettings.IgnorePaging = False 
        For Each item1 As GridDataItem In rgv.Items 
            CheckBox1 = CType(item1.FindControl("CheckBox1"), System.Web.UI.WebControls.CheckBox) 
            If CheckBox1.Checked = True Then 
                Dim a As Decimal 
                Dim stramount() As String 
                countcount = count + 1 
                stramount = item1("CheckAmount").Text.Split(" ") 
                'add = TextBox1.Text + row.Cells(2).Text 
                a = Convert.ToDecimal(txttotal.Text.Trim()) + Convert.ToDecimal(stramount(0)) ' Convert.ToInt32(dt.Rows(0).Item(1).ToString.Trim) 
                ' MsgBox(a) 
                Me.txttotal.Text = a 
            End If 
        Next 
 End Sub 

Can any one help me how to get the Total in Multiple pages in Grid.
Thanks
Suresh K.

Suresh K
Top achievements
Rank 1
 asked on 19 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?