Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
81 views
Hello All,
                 I have implemented custom paging on my radgrid. I am using the VirtualCount property to set the number of pages which works fine too. But when I page forward data for page shows up, but when I page back no matter which page I click all I can see is page one data. For some reason on paging backward always goes back to page one. 

I have enabled Viewstate for the grid RadGrid1.EnableViewState=true;  and ViewStateMode="disabled" it for the RadMultipage (where my grid sits). If enable both on the first attempt to page backward will show the same page after postback. I have to click twice to go the page desired. Somewhere the page number is cached, but don't know what is causing that. 

Thank you in advance
Kostadin
Telerik team
 answered on 11 Nov 2013
3 answers
120 views
Hi all, ho can i get data from a filtered Radgrid, using autogenerated columns.

Best Regards.
Princy
Top achievements
Rank 2
 answered on 11 Nov 2013
1 answer
74 views
Hey.

I have this problem, when i press a button that makes a postback, the height is not being sat properly.

.rpRootGroup {
            padding: 0px 0px 0px 0px !important;
            /* background-color: #808080 !important; */
            background: url(../images/ListeTopBg.gif) !important;
            border: none 0px #ffffff !important;
        }
 
 
        .rpRootGroup {
            background-image: url(Images/ulbg.jpg);
            padding: 0px 0px 0px 0px !important;
            border: none 0px #ffffff !important;
        }
 
        .rpText, .rpLink, .rpOut {
            color: #000000 !important;
            list-style: none;
            height: 30px !important;
            border: none 0px #ffffff !important;
            background: none !important;
            padding: 0px 0px 2px 2px !important;
            margin: 0px 0px 0px 0px !important;
            line-height: 30px !important;
        }
 
        .rpHeader {
            padding: 2px 0px 0px 0px !important;
            background-color: #f3f4f5 !important;
            /* background: url(../images/ListeTopBg.gif) !important; */
            border: solid 1px #808080 !important;
            height: 30px !important;
        }
 
        .rpListItem {
            list-style: none;
            color: #000000;
            height: 30px !important;
            border: none 0px #ffffff !important;
            background: none !important;
            padding: 0px 0px 2px 2px !important;
            margin: 0px 0px 0px 0px !important;
            line-height: 30px !important;
        }
 
        .rpListItemClicked {
            list-style: none;
            color: #000000;
            height: 30px !important;
            border: none 0px #ffffff !important;
            background-color: #f0f5df !important;
            padding: 0px 0px 2px 2px !important;
            margin: 0px 0px 0px 0px !important;
            line-height: 30px !important;
        }
 
        .rpListItem:hover {
            background-color: #f0f5df !important;
        }


<telerik:RadPanelBar runat="server" ID="RadPanelBar1" Width="870px" Height="70%" ExpandMode="FullExpandedItem" ExpandAnimation-Type="OutSine">
            <Items>
                <telerik:RadPanelItem Text="Afdelinger" Expanded="False" CssClass="rpHeader" Height="30px">
                    <Items>
                        <telerik:RadPanelItem Text="Opret ny..." Expanded="False" CssClass="rpListItem" SelectedCssClass="rpListItemClicked">
                            <ContentTemplate>
                                <div>
                                    <table style="width: 855px">
                                        <tr>
                                            <td>Afdelingsnavn:</td>
                                            <td>
                                                <asp:TextBox ID="txtDepartmentName" runat="server"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td>Telefon nummer:</td>
                                            <td>
                                                <asp:TextBox ID="txtPhoneNumber" runat="server"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td>Adresse:</td>
                                            <td>
                                                <asp:TextBox ID="txtAdress" runat="server"></asp:TextBox></td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" style="text-align: right;">
                                                <asp:Button ID="Submit" Text="Gem" runat="server" /></td>
                                        </tr>
                                    </table>
                                </div>
                            </ContentTemplate>
                        </telerik:RadPanelItem>
                        <telerik:RadPanelItem Text="HG" Expanded="False" CssClass="rpListItem" SelectedCssClass="rpListItemClicked">
                            <ContentTemplate>
                                <div>
                                    <table style="width: 855px">
                                        <tr>
                                            <td>Afdelingsnavn:</td>
                                            <td>HG</td>
                                        </tr>
                                        <tr>
                                            <td>Telefon nummer:</td>
                                            <td>+45 22 33 44 55</td>
                                        </tr>
                                        <tr>
                                            <td>Adresse:</td>
                                            <td>Silkeborgvej 140, 8700 Horsens</td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" style="text-align: right;">
                                                <asp:Button ID="Edit" Text="Rediger" runat="server" /></td>
                                        </tr>
                                    </table>
                                </div>
                            </ContentTemplate>
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Uddannelser" Expanded="False" CssClass="rpHeader" Height="30px">
                    <Items>
                        <telerik:RadPanelItem Text="Opret ny..." Expanded="True" CssClass="rpListItem" SelectedCssClass="rpListItemClicked">
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
                <telerik:RadPanelItem Text="Historie" Expanded="False" CssClass="rpHeader" Height="30px">
                    <Items>
                        <telerik:RadPanelItem Text="Opret ny..." Expanded="True" CssClass="rpListItem" SelectedCssClass="rpListItemClicked">
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelItem>
            </Items>
        </telerik:RadPanelBar>

Magdalena
Telerik team
 answered on 11 Nov 2013
1 answer
264 views
Hi,

Can you tell me how to get the id of a dynamically created control in jquery
I am creating a RadDatePicker dynamically in C# like:
 RadDatePicker rd = new RadDatePicker();
rd.ID = "rd_"+ "i_"+ count;
rd.ClientEvents.OnDateSelected = "dateSelected";

where i and count are some dynamically generated variables.

Now inside javascript func:
function dateSelected(sender, args) 
        {
// get the id of the sender(date picker) control;
}
Shinu
Top achievements
Rank 2
 answered on 11 Nov 2013
1 answer
63 views
Hi,

i want to show a tooltip per field editor in my RadFilter.

Although i have set the Tooltip it is not showing.
CustomRadFilterDropDownEditorPure tmp_drop_down_field = new CustomRadFilterDropDownEditorPure();
tmp_drop_down_field.ToolTip = some_variable_with_text;

Markupcode is:
<telerik:RadFilter Skin="WebBlue" Width="100%" ID="RadFilter1" runat="server" ShowApplyButton="false"
AllowFilterOnBlur="True" OnPreRender="RadFilter1_PreRender"
OnFieldEditorCreating="RadFilter1_FieldEditorCreating"       
CssClass="RadFilter RadFilter_WebBlue" Culture="de-DE" ExpressionPreviewPosition="None" Visible="true">
</telerik:RadFilter>

Do you have an idea whats causing the problem?

Best regards
Jannis
Kostadin
Telerik team
 answered on 11 Nov 2013
7 answers
171 views

If you go to the RadScheduler Web Service demo on the Telerik website, one of the things that you will be able to observe is the Height of each appointment "node" that appears within the scheduler. Obviously, the Height of each appointment represents the start time / end time of the specific appointment. For example, the Height of the Strategic Planning appointment for Monday the 30th visually depicts a start time / end time of 10am - 11am. Compare this, for example, to the Height of the all day appointments listed for Thursday the 2nd.

In the upper-right of the scheduler are the different views (Day, Week, Month, Timeline). This demo defaults to Week view. If you click Timeline to change the view, notice that the start and end times are no longer included in this view, and all of the appointment "nodes" have the same Height.

Is there a way to specify or change the Height of the appointment nodes that appear in Timeline view?

Thank you,
Steven

Plamen
Telerik team
 answered on 11 Nov 2013
1 answer
72 views

I don't know what i am doing wrong but every time i download and use the telerik upgrade wizard to upgrade a project it has never worked. I have always had to fiddle with things to get it work. Is this seriously so complicated it has to break my projects every time?? Not happy.

See attached.

 

Shinu
Top achievements
Rank 2
 answered on 11 Nov 2013
1 answer
122 views
Dear Telerik,
I just create a new RadControls Website with RadCompression Enabled.
But if u turned off RadCompression the size of Telerik.Web.UI.WebResource.axd will be the same and the load time also (tested on Fiddler and Firebug)

Am I missing something ?
Maria Ilieva
Telerik team
 answered on 11 Nov 2013
2 answers
122 views
Hi,

When I use the RadTimePicker, OnSelectedDateChanged will be fired when:

- Clicking on the clock after the time textbox
- Using cursor keys to change the time and change the focus to another control

It will NOT be fired when only using the cursor keys and leaving the focus on the timepicker.
I would like to use this to calculate a duration between a begin and end time.

If this is not possible, how can I do this on the client?
Calculate the duration between 2 timepickers and put the result in another timepicker.

Thanks,
Egbert
Egbert
Top achievements
Rank 1
 answered on 11 Nov 2013
3 answers
119 views
Hi

For our site I use the Metro Skin, however for certain buttons I want to overwrite the Background color. I am able to do this except for when the button is pressed. I created a CSS class and used the PressedCssClass but it doesn't do anything. Here is my code

<td align="right" height="30">
        <telerik:RadButton ID="RadButton3" runat="server"  ButtonType="LinkButton" OnClick="orderupdate_Click" PressedCssClass="buttonpressed" HoveredCssClass="buttonpressed">
        </telerik:RadButton
</td>

and the CSS class

.buttonpressed {
    background-color: #000000 !important;
   }

thank you
Danail Vasilev
Telerik team
 answered on 11 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?