Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
419 views
Dear Sir,
I am trying to customize RadGrid pager style, below is the declaration of my grid.
<telerik:RadGrid ID="grdResult" runat="server"
                            EnableEmbeddedSkins="false" Skin="MyCustomSkin"
                            AllowPaging="True" AutoGenerateColumns="False" Width="652px" Height="100%" BackColor="white"  BorderStyle="None"
                            GridLines="None" Visible="true" >
                        <ClientSettings EnableAlternatingItems="false">
                        </ClientSettings>
                        <MasterTableView >
                        <HeaderStyle BorderStyle="Dashed" />
                        <Columns>
                        <telerik:GridBoundColumn DataField="Search Result" HeaderText="Search result">
                        <HeaderStyle Font-Bold="true" />                       
                        </telerik:GridBoundColumn>
                        </Columns>
                        </MasterTableView>
                        <PagerStyle CssClass="RadGridPager" Mode="NextPrevAndNumeric" Position="TopAndBottom"
                            NextPageImageUrl="images/nextpage.gif" NextPageText=" " PrevPageText=" "
                            PrevPageImageUrl="images/prevpage.gif" FirstPageImageUrl="images/firstpage.gif"
                            FirstPageText=" " LastPageImageUrl="images/lastpage.gif" LastPageText=" " Width="200px"
                            ShowPagerText="true" PagerTextFormat="{4}  Page <b>{0}</b> of <b>{1}</b>, Total: <b>{5}</b> records." AlwaysVisible="false" >
                        </PagerStyle>
                        <FilterMenu EnableEmbeddedSkins="False"></FilterMenu>
                        <HeaderContextMenu EnableEmbeddedSkins="False"></HeaderContextMenu>
                    </telerik:RadGrid>

The issue is that when the user is at the first page, I need to modify the FirstPage and Previous page Images (so that he knows that they are disabled). Also when he is at the last page, I need to modify the NextPage and Last Page images.
Can this be done? If yes, please provide me with instructions to do it.

Thank you and Best regards.
Veli
Telerik team
 answered on 27 Feb 2012
1 answer
105 views
I need to modify the filter menus on the grid selectively by data type (and possibly even by specific data column).  There is some discussion of this on http://www.telerik.com/help/aspnet-ajax/grid-reducing-filtermenu-options.html , but there is no actual example of the client javascript shown.  I am successfully modifying the filter menus from the server side, so I understand the concepts, but I don't have the javascript code samples to understand the properties and values that I have access to on the client side.

Any simple examples that anyone might have would be immensely helpful.

Thanks in advance!

Lynn

Andrey
Telerik team
 answered on 27 Feb 2012
2 answers
103 views
I'm having an odd issue with my radgrid.  It has 30+ columns, but when I try to scroll to the right, the radgrid keeps scrolling by itself towards the left till it reaches the first column.  
Jeremy
Top achievements
Rank 1
 answered on 27 Feb 2012
1 answer
240 views
How to access the label control and hide it in a button click?
aspx:
<telerik:RadListBox runat="server" ID="listbox1_source" Height="200px"
           Width="230px" CheckBoxes="true"
ButtonSettings-ShowTransferAll="true"
           onitemdatabound="rdLstSource_ItemDataBound">
                       <ItemTemplate>
                           <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                       </ItemTemplate>
                       
                   </telerik:RadListBox>
Shinu
Top achievements
Rank 2
 answered on 27 Feb 2012
5 answers
310 views
Hi,

I want to check file size of the uploaded file in rad uploader. Actually i am not using the
RadProgressArea

But i want to make alert of the the file size in the javascript.

 function checkExtension(radUpload, eventArgs) {

Now what i have to wright here ?       

        }

<telerik:RadUpload ID="RadUploadLogo" MaxFileSize="5242880" runat="server" AllowedFileExtensions=".jpg,.gif,.jpeg,.png,.bmp"
                    OnClientFileSelected="checkExtension" ControlObjectsVisibility="None" InputSize="35" Height="24px"
                    Style="position:absolute;top:8px;left:-15px;">
                    <Localization Select="logo:"/>
                </telerik:RadUpload>



Thanks
Manish.
Manish
Top achievements
Rank 2
 answered on 27 Feb 2012
3 answers
241 views
I have a rotator like so, that I bind in my code behind

<telerik:RadRotator ID="RadRotator1" runat="server" RotatorType="AutomaticAdvance" FrameDuration="5000" Width="600px"
                        ItemWidth="600px" Height="445px" ItemHeight="445px" ScrollDirection="Left,Right"
                        BorderColor="Black" BorderStyle="Groove" BorderWidth="2px">
                        <ItemTemplate>
                            <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("fileName") %>' Width="600px"
                                Height="445px" />
                        </ItemTemplate>
                        <SlideShowAnimation Type="Fade"></SlideShowAnimation>
                    </telerik:RadRotator>

I have some text boxes that do a post back. Whenever I do a post back, the rotator gets reset back to the first slide. I'm assuming I'll have to save whatever slide is current and set that, i just don't know how. Can you help me out with this?



Slav
Telerik team
 answered on 27 Feb 2012
5 answers
565 views
Hello
I am using the RadGrid shown in the following page: http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/headerandfootertemplates/defaultcs.aspx and I was wondering if there is any posibility to hide the grouping header, because I am implicitly grouping the grid values after a column all the time.
Thank you
adi
Top achievements
Rank 1
 answered on 27 Feb 2012
5 answers
300 views
Hi

I am having a problem with our web app on the search page. My setup is we have a Search.aspx where a RadAjaxManager lives.

From there we have SearchPanel.ascx registered on the search page. This control has its own AjaxEventArgs registered to the OnInit using the Seach.aspx RadManager. This event populates drop down lists with values via an onclick event that is registered to the drop down list control. This works perfectly fine on the first request.

The problem I'm having is when i hit the search button we have registered on that page it fires a seperate AjaxEventArgs with a different AjaxEvent command and it loses the values from the drop down list.

I have undertook the work of upgrading our telerik controls from classic to Asp.Net Ajax control collection (Latest Version) and this previously worked but obviously since I can now only have one manager on the page it seems the behaviour has changed when im hooking up multiple AjaxEventArgs to one manager.

Does this behaviour sound like I have setup any part of the AjaxManager incorrectly or can you point me in any direction I can start looking to resolve this issue? If any more information is required please let me know.

Regards,
Jonathan
Maria Ilieva
Telerik team
 answered on 27 Feb 2012
3 answers
119 views
Hi

We want to write a tool in two parts --
1) a popup that will have several rows of 2 associated pieces of information
for ex -  'AAA', 'S1'
             'BBB', 'S2' etc.
Each row needs to be associated with a hot key.


2) the main page is the RadEditor
Here when we type, we want to be able to pick up 'AAA' via its associated hot key.  When we click a button 'Replace', it will replace 'AAA' with 'S1'.

Are there any tools in Telerik available at this point that can be useful for this purpose?  We also need a auto-complete textbox.

Thanks
Rumen
Telerik team
 answered on 27 Feb 2012
1 answer
80 views

 I’m using the RadControls for ASP.NET AJAX (Q3 2011) and Visual Studio 2010.  My website is based on the default web app that comes with Visual Studio.  Both RadAjaxManager and RadAjaxLoadingPanel are declared in the Master page…and I use server-side code in each of the content pages to add all the AJAX settings to RadAjaxManager.  This works out real nice…but I have a question about something I want to do next.  Bear with me as I’m new to using AJAX.

 

My Master page also contains a RadContextMenu…which I dynamically load in each content page (the menu values differ per content page).  The menu item click event triggers an AJAX callback to the content page…where a RadGrid is then updated.  The loading panel gets triggered while the grid is loading.  I also have a RadComboBox declared on this same content page.  When an item is selected there (TextChanged event), I’d like to trigger the same logic as if the user had clicked an item in the RadContextMenu.  In other words, I’d like to see the RadGrid get updated AND see the loading panel.  I can easily raise the menu item clicked event in the content page, and that code gets executed, but the RadGrid itself doesn’t get updated…and I don’t see the loading panel.  I think it might have something to do with the fact that I’m triggering this code from the server-side instead of the client-side.  Is there a way on the server-side…to trigger a client-side menu item click event that performs the AJAX callback?  Any help would be appreciated.  Thanks.

 

Maria Ilieva
Telerik team
 answered on 27 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?