Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
50 views
Hello

         I'm quite new to ASP.net . I need help in displaying "Room" in header (horizontal) in RadScheduler..I've attached a pic for reference.

As you can see in the pic, when I select Location A from DropDownList/ComboBox , I need to display the rooms available in Location A (for eg Room A , Room B...etc) when I change the location to B, its room should be displayed in RadScheduler.

How can I achieve this ?

Thank you

Plamen
Telerik team
 answered on 27 Feb 2012
1 answer
320 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
77 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
127 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
375 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
70 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
90 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
218 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
259 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
171 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
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?