Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
313 views
Hi below is sample code. How can i retrieve value of Id for RadToolBarButton.

 <telerik:RadToolBar ID="toolbar" runat="server" Skin="Office2007" Width="100%"  CausesValidation="false" OnButtonClick="toolbar_ButtonClick" OnClientButtonClicked="OnClientButtonClicked">
        <Items>
            <telerik:RadToolBarButton ID="firstbutton" ToolTip="No Hotkey" runat="server"
                ImageUrl="~/ReusableCode/images/Submit.png" Text="&lt;u&gt;A&lt;/u&gt;pprove" Visible="false"
                FocusedCssClass="noHover" OuterCssClass="left" PostBack="true" CommandName="Approve">
            </telerik:RadToolBarButton>
        </Items> 
</telerik:RadToolBar>

Please suggest.

Regards,
Akki
Princy
Top achievements
Rank 2
 answered on 27 Feb 2012
1 answer
73 views
In the CHM file for 2012 Q1...

RadControls | RadEditor | DropDowns | Fonts. The See Also section just includes a list of GUIDs.

--
Stuart
Dobromir
Telerik team
 answered on 27 Feb 2012
3 answers
122 views
is there a straightforward way to have columns auto resize to cater for the cell contents rather than them all being the same width regardless?
Veli
Telerik team
 answered on 27 Feb 2012
3 answers
367 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
65 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
85 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
210 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
251 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
166 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
525 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?